@font-face {
  font-family: "Onest";
  src: url("assets/fonts/Onest-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("assets/fonts/Onest-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("assets/fonts/Onest-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("assets/fonts/Onest-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("assets/fonts/Onest-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f4fafb;
  --surface: #ffffff;
  --surface-blue: #e8f6f8;
  --ink: #102d34;
  --muted: #58737a;
  --line: #cfe1e4;
  --accent: #19b7c4;
  --accent-dark: #087d88;
  --accent-soft: #cbf1f4;
  --coral: #f06468;
  --dark: #102d34;
  --dark-muted: #aac2c7;
  --white: #f9fdfd;
  --container: 1240px;
  --header-height: 76px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --shadow-device: 0 34px 70px rgba(20, 67, 74, 0.21), 0 8px 18px rgba(20, 67, 74, 0.12);
  --shadow-float: 0 18px 48px rgba(20, 67, 74, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--page);
  font-family: "Onest", sans-serif;
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
figure,
ol,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2.5rem, 5vw, 4.75rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.025em;
}

p {
  max-width: 70ch;
  color: var(--muted);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 136px 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 11px 18px;
  color: var(--white);
  background: var(--dark);
  border-radius: 999px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(16, 45, 52, 0.09);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
  height: 100%;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  width: max-content;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  letter-spacing: -0.025em;
}

.brand img {
  flex: 0 0 auto;
  border-radius: 13px;
}

.site-nav {
  display: flex;
  gap: clamp(22px, 3vw, 46px);
  align-items: center;
  justify-content: center;
}

.site-nav a {
  color: #3f5d64;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.header-actions {
  display: flex;
  gap: 18px;
  align-items: center;
}

.android-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.header-download {
  padding: 10px 17px;
  color: var(--white);
  background: var(--dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 120ms var(--ease-out), background-color 160ms ease;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.menu-toggle-icon i {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms var(--ease-out);
}

.menu-toggle-icon i:first-child {
  top: 3px;
}

.menu-toggle-icon i:last-child {
  top: 10px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  background: var(--surface);
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding: 62px 0 34px;
  text-align: center;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
  font-size: clamp(2.25rem, 4.9vw, 4.85rem);
  letter-spacing: -0.04em;
}

.hero h1 span {
  display: block;
  margin-bottom: 5px;
  font-size: clamp(4.4rem, 8.5vw, 6rem);
  font-weight: 800;
  line-height: 0.92;
}

.hero-copy > p {
  max-width: 680px;
  margin: 22px auto 0;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms var(--ease-out), background-color 160ms ease, color 160ms ease;
}

.button-primary {
  min-width: 216px;
  color: #052f34;
  background: var(--accent);
}

.button-dark {
  color: var(--white);
  background: var(--dark);
}

.text-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.hero-stage {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 680px;
  background: var(--surface-blue);
}

.hero-stage::before,
.hero-stage::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-stage::before {
  right: 50%;
  bottom: -430px;
  width: 1500px;
  height: 760px;
  background: #d3f0f3;
  border-radius: 50%;
  transform: translateX(50%);
}

.hero-stage::after {
  right: -8vw;
  bottom: -360px;
  width: 760px;
  height: 620px;
  background: rgba(255, 255, 255, 0.48);
  border-radius: 50%;
}

.stage-inner {
  position: relative;
  z-index: 2;
  min-height: 680px;
  padding-top: 54px;
}

.home-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1110px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.home-route::before,
.home-route::after {
  position: absolute;
  top: 23px;
  right: 6%;
  left: 6%;
  height: 3px;
  border-radius: 3px;
  content: "";
}

.home-route::before {
  background: #9fd8de;
}

.home-route::after {
  background: var(--accent);
  transform: scaleX(1);
  transform-origin: left center;
}

.home-route li {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.home-route li::before {
  position: absolute;
  top: 16px;
  width: 17px;
  height: 17px;
  background: var(--accent);
  border: 4px solid var(--surface-blue);
  border-radius: 50%;
  content: "";
}

.home-route span {
  position: relative;
  top: -1px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  color: var(--accent-dark);
  background: var(--surface);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(20, 67, 74, 0.12);
}

.home-route .is-active span {
  color: #9b2f34;
  background: #ffe5e6;
}

.home-route .is-active::before {
  background: var(--coral);
}

.device-stage {
  position: absolute;
  top: 136px;
  right: 0;
  bottom: auto;
  left: 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.86fr) minmax(300px, 1.13fr) minmax(220px, 0.86fr);
  gap: clamp(18px, 4vw, 58px);
  align-items: start;
  max-width: 1040px;
  margin-inline: auto;
}

.phone {
  position: relative;
  margin: 0;
  padding: 9px;
  overflow: visible;
  background: #101617;
  border-radius: 48px;
  box-shadow: var(--shadow-device);
}

.phone img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 39px;
}

.phone figcaption {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  left: 0;
  color: #436168;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.phone-structure,
.phone-shopping {
  margin-top: 78px;
}

.phone-search {
  z-index: 3;
}

.search-question {
  position: absolute;
  top: 72px;
  left: -74px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--surface);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-float);
}

.search-answer {
  position: absolute;
  top: 154px;
  left: -58px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  width: 246px;
  padding: 13px 16px;
  color: var(--ink);
  background: var(--surface);
  border-radius: 15px;
  box-shadow: var(--shadow-float);
}

.search-answer strong {
  font-size: 14px;
  line-height: 1.25;
}

.search-answer em {
  margin-top: 3px;
  color: var(--accent-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.35;
}

.hero-foot {
  position: relative;
  z-index: 4;
  background: var(--surface);
}

.hero-foot-inner {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  min-height: 106px;
}

.hero-foot p {
  margin-bottom: 0;
  font-size: 15px;
}

.hero-foot strong {
  display: inline-block;
  margin-right: 4px;
  color: var(--ink);
}

.hero-foot a {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.signal-strip {
  overflow: hidden;
  background: var(--accent);
}

.signal-strip .container {
  display: flex;
  gap: clamp(18px, 4vw, 54px);
  align-items: center;
  justify-content: center;
  min-height: 76px;
  color: #06363b;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  white-space: nowrap;
}

.signal-strip i {
  width: 5px;
  height: 5px;
  background: rgba(6, 54, 59, 0.45);
  border-radius: 50%;
}

.structure-section {
  background: var(--surface);
}

.structure-layout,
.code-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  gap: clamp(54px, 8vw, 118px);
  align-items: center;
}

.section-copy > p {
  margin: 28px 0 0;
  font-size: 18px;
}

.structure-section h2 {
  font-size: clamp(2.4rem, 3.4vw, 4rem);
}

.plain-list {
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 20px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.plain-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.plain-list strong {
  color: var(--ink);
}

.structure-visual {
  position: relative;
  min-height: 690px;
  padding: 72px 56px 0;
  overflow: hidden;
  background: var(--surface-blue);
  border-radius: 24px;
  box-shadow: var(--shadow-float);
}

.path-caption {
  position: absolute;
  top: 28px;
  left: 32px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.path-caption span {
  padding-inline: 7px;
  color: #86aeb4;
}

.screen-frame {
  margin: 0;
  padding: 8px;
  background: #111819;
  border-radius: 42px;
  box-shadow: var(--shadow-device);
}

.screen-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 34px;
}

.screen-frame-wide {
  width: min(286px, 66%);
}

.search-result-card {
  position: absolute;
  right: 34px;
  bottom: 28px;
  width: 220px;
  margin: 0;
  padding: 7px;
  background: #111819;
  border-radius: 36px;
  box-shadow: var(--shadow-device);
}

.search-result-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 29px;
}

.inventory-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.inventory-section::before {
  position: absolute;
  top: -300px;
  right: -220px;
  width: 640px;
  height: 640px;
  background: #17424a;
  border-radius: 50%;
  content: "";
}

.inventory-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 64px;
  align-items: end;
}

.inventory-heading h2 {
  color: var(--white);
}

.inventory-heading p {
  margin-bottom: 7px;
  color: var(--dark-muted);
  font-size: 18px;
}

.inventory-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(230px, 0.9fr) 88px minmax(250px, 1.1fr);
  gap: 30px;
  align-items: center;
  max-width: 820px;
  margin: 76px auto 0;
}

.inventory-phone {
  position: relative;
  margin: 0;
  padding: 9px;
  background: #090f10;
  border-radius: 48px;
  box-shadow: 0 34px 74px rgba(0, 0, 0, 0.34);
}

.inventory-phone img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 39px;
}

.inventory-phone figcaption {
  position: absolute;
  top: calc(100% + 22px);
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.inventory-phone figcaption strong {
  color: var(--white);
}

.inventory-phone figcaption span {
  color: var(--dark-muted);
  font-size: 13px;
}

.inventory-expiry {
  transform: rotate(-3deg);
}

.inventory-shopping {
  transform: rotate(3deg);
}

.inventory-bridge {
  display: flex;
  align-items: center;
}

.inventory-bridge span {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
}

.inventory-bridge i {
  flex: 1;
  height: 3px;
  background: var(--accent);
}

.section-copy-wide {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 72px;
  align-items: end;
}

.section-copy-wide h2 {
  max-width: 17ch;
}

.section-copy-wide p {
  margin-bottom: 8px;
}

.use-case-lines {
  margin-top: 76px;
  border-top: 1px solid var(--line);
}

.use-case-lines article {
  display: grid;
  grid-template-columns: 0.65fr 1fr 1fr;
  gap: 46px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.use-case-lines article > span {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

.use-case-lines h3 {
  color: var(--ink);
}

.use-case-lines p {
  margin-bottom: 0;
  font-size: 15px;
}

.scenario-directory {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 32px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.scenario-directory a {
  display: block;
  min-height: 104px;
  padding: 20px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.scenario-directory strong,
.scenario-directory span {
  display: block;
}

.scenario-directory strong {
  font-size: 15px;
}

.scenario-directory span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.code-section {
  background: var(--surface);
}

.code-layout {
  grid-template-columns: minmax(480px, 1.08fr) minmax(0, 0.92fr);
}

.code-visual {
  position: relative;
  min-height: 670px;
  overflow: hidden;
  background: #d6f1f3;
  border-radius: 24px;
}

.screen-frame-code {
  position: absolute;
  top: 42px;
  left: 50%;
  width: 270px;
  transform: translateX(-50%);
}

.container-tag {
  position: absolute;
  right: 36px;
  bottom: 42px;
  padding: 14px 18px;
  color: var(--ink);
  background: var(--surface);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-float);
}

.code-section .text-link {
  display: inline-block;
  margin-top: 16px;
}

.privacy-section {
  padding-top: 0;
}

.privacy-layout {
  display: grid;
  grid-template-columns: auto 1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 58px 64px;
  color: var(--white);
  background: #17434b;
  border-radius: 24px;
}

.privacy-mark {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  background: var(--accent);
  border-radius: 24px;
}

.privacy-mark span {
  position: relative;
  width: 30px;
  height: 34px;
  border: 3px solid #07343a;
  border-radius: 16px 16px 13px 13px;
}

.privacy-mark span::after {
  position: absolute;
  top: 9px;
  left: 7px;
  width: 14px;
  height: 10px;
  background: #07343a;
  clip-path: polygon(0 42%, 18% 24%, 43% 50%, 82% 0, 100% 17%, 44% 90%);
  content: "";
}

.privacy-copy h2 {
  max-width: 16ch;
  color: var(--white);
  font-size: clamp(2rem, 3.6vw, 3.25rem);
}

.privacy-copy p {
  margin: 20px 0 0;
  color: #c3d8dc;
}

.privacy-facts {
  margin-bottom: 0;
}

.privacy-facts div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.privacy-facts dt {
  color: #b5ced2;
  font-size: 13px;
}

.privacy-facts dd {
  color: var(--white);
  font-weight: 700;
}

.faq-section {
  background: var(--surface);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: clamp(64px, 10vw, 150px);
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 42px);
}

.faq-intro h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.faq-intro p {
  margin: 24px 0 12px;
}

.faq-intro a {
  color: var(--accent-dark);
  font-weight: 700;
  text-underline-offset: 4px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 27px 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 22px;
  height: 22px;
  transition: transform 180ms var(--ease-out);
}

.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 10px;
  left: 3px;
  width: 16px;
  height: 2px;
  background: var(--accent-dark);
  border-radius: 2px;
  content: "";
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 62ch;
  margin: -4px 52px 27px 0;
}

.download-section {
  background: var(--surface);
}

.download-layout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 60px 64px;
  background: var(--accent);
  border-radius: 24px;
}

.download-layout > img {
  border-radius: 30px;
  box-shadow: 0 16px 38px rgba(5, 64, 70, 0.22);
}

.download-layout h2 {
  color: #06363b;
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.download-layout p {
  margin: 14px 0 0;
  color: #174f55;
}

.site-footer {
  padding: 76px 0 26px;
  color: var(--white);
  background: var(--dark);
}

.site-footer .brand {
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
}

.footer-product p {
  max-width: 360px;
  margin: 22px 0 0;
  color: var(--dark-muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-links strong {
  margin-bottom: 7px;
  font-size: 13px;
}

.footer-links a {
  color: var(--dark-muted);
  font-size: 13px;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 64px;
  padding-top: 22px;
  color: #8faab0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 12px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 220;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  width: min(440px, calc(100% - 48px));
  padding: 18px 18px 18px 22px;
  color: var(--white);
  background: var(--dark);
  border-radius: 16px;
  box-shadow: 0 20px 58px rgba(5, 32, 36, 0.31);
  opacity: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-duration: 220ms;
}

.toast div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toast span {
  color: var(--dark-muted);
  font-size: 13px;
}

.toast button {
  padding: 8px 10px;
  color: var(--white);
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.js-motion .home-route::after {
  transform: scaleX(0);
}

.js-motion [data-stage-item] {
  opacity: 0;
  transform: translateY(18px) scale(0.97);
}

.js-motion .phone-structure,
.js-motion .phone-shopping {
  margin-top: 78px;
}

.js-motion .hero-stage.is-ready .home-route::after {
  transform: scaleX(1);
  transition: transform 700ms var(--ease-in-out);
}

.js-motion .hero-stage.is-ready [data-stage-item] {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 420ms var(--ease-out), transform 560ms var(--ease-out);
}

.js-motion .hero-stage.is-ready .phone-structure {
  margin-top: 78px;
  transition-delay: 50ms;
}

.js-motion .hero-stage.is-ready .phone-search {
  transition-delay: 100ms;
}

.js-motion .hero-stage.is-ready .phone-shopping {
  margin-top: 78px;
  transition-delay: 150ms;
}

@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover,
  .footer-links a:hover {
    color: var(--accent-dark);
  }

  .header-download:hover,
  .button-dark:hover {
    background: #17434b;
  }

  .button-primary:hover {
    background: #39c6d1;
  }

  .text-link:hover,
  .hero-foot a:hover,
  .faq-intro a:hover {
    color: #045c64;
  }
}

.header-download:active,
.button:active {
  transform: scale(0.97);
}

@media (max-width: 1080px) {
  :root {
    --container: 940px;
  }

  .site-nav {
    gap: 22px;
  }

  .android-label {
    display: none;
  }

  .hero-stage,
  .stage-inner {
    min-height: 620px;
  }

  .device-stage {
    top: 130px;
    bottom: auto;
    max-width: 880px;
  }

  .structure-layout,
  .code-layout {
    grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
    gap: 54px;
  }

  .structure-visual,
  .code-visual {
    min-height: 610px;
  }

  .use-case-lines article {
    grid-template-columns: 0.55fr 1fr 0.9fr;
    gap: 32px;
  }

  .scenario-directory {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 36px, 720px);
  }

  .section {
    padding: 104px 0;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    right: 18px;
    left: 18px;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 10px 20px;
    background: var(--surface);
    border-radius: 16px;
    box-shadow: var(--shadow-float);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.97);
    transform-origin: top right;
    transition: opacity 160ms var(--ease-out), transform 200ms var(--ease-out);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero-copy {
    padding-top: 52px;
  }

  .hero h1 span {
    font-size: clamp(4rem, 13vw, 5.6rem);
  }

  .hero-stage,
  .stage-inner {
    min-height: 590px;
  }

  .stage-inner {
    width: 100%;
  }

  .home-route {
    width: calc(100% - 28px);
  }

  .home-route span {
    min-height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }

  .home-route::before,
  .home-route::after {
    top: 20px;
  }

  .home-route li::before {
    top: 14px;
  }

  .device-stage {
    top: 120px;
    bottom: auto;
    grid-template-columns: 0.72fr 1fr 0.72fr;
    gap: 16px;
    width: 760px;
    max-width: none;
    transform: translateX(calc((100vw - 760px) / 2));
  }

  .phone {
    padding: 7px;
    border-radius: 38px;
  }

  .phone img {
    border-radius: 31px;
  }

  .search-question {
    display: none;
  }

  .hero-foot-inner {
    min-height: 96px;
  }

  .signal-strip .container {
    justify-content: flex-start;
    overflow: hidden;
  }

  .structure-layout,
  .code-layout,
  .inventory-heading,
  .section-copy-wide,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .structure-layout,
  .code-layout {
    gap: 64px;
  }

  .section-copy > p,
  .inventory-heading p {
    max-width: 620px;
  }

  .structure-visual,
  .code-visual {
    min-height: 680px;
  }

  .inventory-heading {
    gap: 28px;
  }

  .inventory-stage {
    grid-template-columns: minmax(230px, 1fr) 76px minmax(230px, 1fr);
    gap: 24px;
  }

  .use-case-lines article {
    grid-template-columns: 0.55fr 1.1fr;
  }

  .use-case-lines article p {
    grid-column: 2;
  }

  .scenario-directory {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-layout {
    grid-template-columns: auto 1fr;
  }

  .privacy-facts {
    grid-column: 1 / -1;
  }

  .faq-intro {
    position: static;
  }

  .download-layout {
    grid-template-columns: auto 1fr;
  }

  .download-layout .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 58px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 560px);
  }

  .section {
    padding: 82px 0;
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  .header-inner {
    gap: 10px;
  }

  .menu-toggle-label {
    display: none;
  }

  .hero-copy {
    padding: 42px 0 28px;
  }

  .hero h1 {
    font-size: clamp(2rem, 9.5vw, 3.25rem);
  }

  .hero h1 span {
    margin-bottom: 10px;
    font-size: clamp(3.4rem, 19vw, 5rem);
  }

  .hero-copy > p {
    margin-top: 20px;
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 15px;
    margin-top: 24px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stage,
  .stage-inner {
    min-height: 650px;
  }

  .stage-inner {
    padding-top: 34px;
  }

  .home-route {
    z-index: 5;
    grid-template-columns: 1fr;
    gap: 14px;
    width: 142px;
    margin-left: 18px;
  }

  .home-route::before,
  .home-route::after {
    top: 18px;
    right: auto;
    bottom: 18px;
    left: 20px;
    width: 3px;
    height: auto;
  }

  .home-route::after {
    transform: scaleY(1);
    transform-origin: top center;
  }

  .js-motion .home-route::after {
    transform: scaleY(0);
  }

  .home-route li {
    justify-content: flex-start;
  }

  .home-route li::before {
    top: 13px;
    left: 13px;
  }

  .home-route span {
    min-width: 108px;
    justify-content: center;
    margin-left: 40px;
  }

  .device-stage {
    top: 132px;
    right: auto;
    bottom: auto;
    left: 50%;
    display: block;
    width: 292px;
    height: 510px;
    transform: translateX(-50%);
  }

  .phone {
    position: absolute;
    width: 184px;
  }

  .phone-search {
    top: 0;
    left: 50%;
    z-index: 4;
    width: 226px;
    transform: translateX(-50%);
  }

  .phone-structure {
    top: 88px;
    left: -28px;
    z-index: 2;
    margin-top: 0;
    transform: rotate(-5deg);
  }

  .phone-shopping {
    top: 88px;
    right: -28px;
    z-index: 2;
    margin-top: 0;
    transform: rotate(5deg);
  }

  .js-motion .phone-structure,
  .js-motion .phone-shopping,
  .js-motion .hero-stage.is-ready .phone-structure,
  .js-motion .hero-stage.is-ready .phone-shopping {
    margin-top: 0;
  }

  .js-motion .hero-stage.is-ready .phone-search {
    transform: translateX(-50%);
  }

  .js-motion .hero-stage.is-ready .phone-structure {
    transform: rotate(-5deg);
  }

  .js-motion .hero-stage.is-ready .phone-shopping {
    transform: rotate(5deg);
  }

  .js-motion .phone-search {
    transform: translateX(-50%) translateY(18px) scale(0.97);
  }

  .js-motion .phone-structure {
    transform: rotate(-5deg) translateY(18px) scale(0.97);
  }

  .js-motion .phone-shopping {
    transform: rotate(5deg) translateY(18px) scale(0.97);
  }

  .phone figcaption {
    display: none;
  }

  .search-answer {
    top: 132px;
    left: 50%;
    width: 212px;
    transform: translateX(-50%);
  }

  .hero-foot-inner {
    display: block;
    min-height: 0;
    padding: 24px 0;
  }

  .hero-foot p {
    margin-bottom: 8px;
  }

  .signal-strip .container {
    gap: 18px;
    min-height: 66px;
    font-size: 14px;
  }

  .structure-visual,
  .code-visual {
    min-height: 560px;
    padding-right: 24px;
    padding-left: 24px;
    border-radius: 18px;
  }

  .screen-frame-wide {
    width: 230px;
  }

  .search-result-card {
    right: 22px;
    bottom: 24px;
    width: 190px;
  }

  .inventory-stage {
    display: block;
    max-width: 300px;
    margin-top: 64px;
  }

  .inventory-phone {
    border-radius: 40px;
  }

  .inventory-phone img {
    border-radius: 32px;
  }

  .inventory-expiry {
    z-index: 2;
    transform: rotate(-3deg) translateX(-20px);
  }

  .inventory-shopping {
    margin-top: -220px;
    transform: rotate(3deg) translateX(54px);
  }

  .inventory-bridge {
    display: none;
  }

  .inventory-phone figcaption {
    display: none;
  }

  .use-case-lines {
    margin-top: 50px;
  }

  .use-case-lines article {
    display: block;
    padding: 27px 0;
  }

  .use-case-lines h3 {
    margin-top: 12px;
  }

  .use-case-lines p {
    margin: 12px 0 0;
  }

  .scenario-directory {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .screen-frame-code {
    top: 38px;
    width: 230px;
  }

  .privacy-layout {
    display: block;
    padding: 38px 28px;
    border-radius: 18px;
  }

  .privacy-mark {
    width: 64px;
    height: 64px;
    margin-bottom: 30px;
    border-radius: 20px;
  }

  .privacy-facts {
    margin-top: 28px;
  }

  .faq-list summary {
    padding: 22px 0;
    font-size: 16px;
  }

  .faq-list details p {
    margin-right: 0;
  }

  .download-layout {
    display: block;
    padding: 38px 28px;
    border-radius: 18px;
  }

  .download-layout > img {
    width: 86px;
    height: 86px;
    margin-bottom: 28px;
    border-radius: 24px;
  }

  .download-layout .button {
    width: 100%;
    margin-top: 26px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .toast {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }
}

@media (max-width: 400px) {
  .container {
    width: min(100% - 22px, 370px);
  }

  .hero h1 span {
    font-size: 3.3rem;
  }

  .hero-stage,
  .stage-inner {
    min-height: 630px;
  }

  .device-stage {
    width: 260px;
  }

  .phone-search {
    width: 210px;
  }

  .phone-structure,
  .phone-shopping {
    width: 164px;
  }

  .structure-visual,
  .code-visual {
    min-height: 520px;
  }

  .screen-frame-wide {
    width: 210px;
  }

  .search-result-card {
    width: 170px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 120ms !important;
  }

  .js-motion .home-route::after,
  .js-motion .hero-stage.is-ready .home-route::after {
    transform: scaleX(1);
  }

  .js-motion [data-stage-item],
  .js-motion .hero-stage.is-ready [data-stage-item] {
    opacity: 1;
    transform: none;
  }

  .js-motion .hero-stage.is-ready .phone-search {
    transform: none;
  }

  .js-motion .hero-stage.is-ready .phone-structure,
  .js-motion .hero-stage.is-ready .phone-shopping {
    transform: none;
  }

  .site-nav,
  .site-nav.is-open,
  .toast,
  .toast.is-visible {
    transform: none;
  }
}

@media (max-width: 620px) and (prefers-reduced-motion: reduce) {
  .js-motion .home-route::after,
  .js-motion .hero-stage.is-ready .home-route::after {
    transform: scaleY(1);
  }

  .js-motion [data-stage-item],
  .js-motion .hero-stage.is-ready [data-stage-item] {
    opacity: 1;
  }

  .js-motion .phone-search,
  .js-motion .hero-stage.is-ready .phone-search {
    transform: translateX(-50%);
  }

  .js-motion .phone-structure,
  .js-motion .hero-stage.is-ready .phone-structure {
    transform: rotate(-5deg);
  }

  .js-motion .phone-shopping,
  .js-motion .hero-stage.is-ready .phone-shopping {
    transform: rotate(5deg);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--surface);
  }
}
