@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/nunito-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --ivory: #f7f3eb;
  --ivory-strong: #fffdf8;
  --sage: #e9eeea;
  --sage-strong: #dbe5de;
  --teal: #075254;
  --teal-deep: #063f41;
  --teal-soft: #176c68;
  --ink: #112826;
  --muted: #5e6b69;
  --line: #cdd5cf;
  --focus: #f2b84b;
  --shadow: 0 26px 60px rgb(7 63 65 / 16%);
  --page: min(1320px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  padding: .75rem 1rem;
  background: var(--ivory-strong);
  color: var(--teal-deep);
  border-radius: .5rem;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: var(--page);
  height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand img { width: 42px; height: 42px; object-fit: contain; }
.site-header nav { justify-self: end; display: flex; gap: 2.25rem; }
.site-header nav a, .site-footer nav a {
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: .3em;
}
.site-header nav a:hover, .site-footer nav a:hover { text-decoration: underline; }

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.6rem;
  border: 1px solid var(--teal);
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.button:hover { background: var(--teal-deep); transform: translateY(-2px); }
.button--small { min-height: 48px; padding: .75rem 1.3rem; font-size: .92rem; }
.button--outline { background: transparent; color: var(--teal); }
.button--outline:hover { background: var(--sage); }
.button--ivory { min-width: 260px; background: var(--ivory-strong); border-color: var(--ivory-strong); color: var(--teal-deep); }
.button--ivory:hover { background: #fff; }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { text-wrap: balance; }
h1 {
  margin-bottom: 1.45rem;
  color: var(--teal-deep);
  font-size: clamp(3.4rem, 4.6vw, 4.5rem);
  font-weight: 760;
  letter-spacing: -.065em;
  line-height: .98;
}
h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.3rem, 4.2vw, 4.25rem);
  font-weight: 760;
  letter-spacing: -.055em;
  line-height: 1.03;
}

.hero {
  position: relative;
  width: var(--page);
  min-height: 750px;
  margin: 0 auto;
  padding: 72px 0 90px;
  display: grid;
  grid-template-columns: minmax(500px, .82fr) minmax(650px, 1.18fr);
  align-items: start;
  gap: clamp(2rem, 3vw, 3.5rem);
  overflow: hidden;
}
.hero__copy { position: relative; z-index: 3; max-width: 540px; padding-top: 28px; }
.hero__copy > p:not(.boundary-note) { max-width: 520px; color: var(--muted); font-size: 1.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2.15rem 0 1.35rem; }
.hero__actions .button { min-width: 210px; }
.boundary-note { display: flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .86rem; }
.boundary-note svg { width: 20px; fill: none; stroke: var(--teal-soft); stroke-width: 1.7; }

.hero__product { position: relative; min-height: 590px; display: flex; align-items: center; justify-content: center; }
.laptop-frame {
  position: relative;
  z-index: 2;
  width: 96%;
  overflow: hidden;
  border: 10px solid #172220;
  border-bottom-width: 14px;
  border-radius: 20px 20px 8px 8px;
  background: #172220;
  box-shadow: var(--shadow);
}
.laptop-frame img { display: block; width: 100%; height: auto; object-fit: contain; }
.laptop-camera { position: absolute; z-index: 2; left: 50%; top: -7px; width: 42px; height: 5px; border-radius: 5px; background: #263230; transform: translateX(-50%); }
.laptop-base {
  position: absolute;
  z-index: 1;
  left: 1%;
  right: 1%;
  bottom: 50px;
  height: 24px;
  border-radius: 4px 4px 18px 18px;
  background: linear-gradient(180deg, #cad0ce, #77817f);
  box-shadow: 0 16px 20px rgb(17 40 38 / 20%);
}
.phone-frame {
  position: relative;
  overflow: hidden;
  border: 7px solid #172220;
  border-radius: 42px;
  background: #172220;
  box-shadow: 0 28px 54px rgb(17 40 38 / 28%);
}
.phone-frame img { display: block; width: 100%; height: auto; object-fit: contain; }
.phone-speaker { position: absolute; z-index: 2; top: 8px; left: 50%; width: 32%; height: 13px; border-radius: 20px; background: #172220; transform: translateX(-50%); }
.phone-frame--hero { position: absolute; z-index: 3; width: 22%; min-width: 158px; right: 0; bottom: 15px; }

.ripple { position: absolute; pointer-events: none; }
.ripple i { position: absolute; inset: 0; border: 2px solid rgb(23 108 104 / 12%); border-radius: 50%; }
.ripple i:nth-child(2) { transform: scale(.72); }
.ripple i:nth-child(3) { transform: scale(.45); }
.ripple i:nth-child(4) { transform: scale(.2); }
.ripple--hero { width: 840px; height: 300px; left: -140px; bottom: 8px; }

.journey {
  padding: 96px max(32px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(700px, 1.8fr);
  align-items: center;
  gap: 6rem;
  background: var(--sage);
}
.journey__intro h2 { color: var(--teal-deep); font-size: clamp(2.65rem, 3.8vw, 4rem); }
.journey__intro p { max-width: 420px; margin-bottom: 0; color: var(--muted); }
.journey__steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.journey__steps::before { content: ""; position: absolute; z-index: 0; top: 47px; left: 12%; right: 12%; height: 1px; background: var(--line); }
.journey__steps li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 1rem; color: var(--teal-deep); text-align: center; }
.journey__steps strong { font-size: .95rem; line-height: 1.25; }
.step-icon { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%; background: var(--ivory); }
.step-icon svg { width: 42px; fill: none; stroke: var(--teal-soft); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.inside {
  padding: 100px max(32px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(4rem, 8vw, 8rem);
  align-items: center;
  background: var(--teal-deep);
  color: var(--ivory);
}
.inside h2 { color: var(--ivory); font-size: clamp(2.4rem, 3.2vw, 3.5rem); }
.inside__rail ul { margin: 2.3rem 0 3rem; padding: 0; list-style: none; border-top: 1px solid rgb(255 255 255 / 22%); }
.inside__rail li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgb(255 255 255 / 22%); font-weight: 700; }
.inside__rail li span { color: #a8c3bc; font-size: .78rem; letter-spacing: .08em; }
.text-link { font-weight: 800; text-underline-offset: .32em; }
.text-link--light { color: var(--ivory); }
.text-link span { display: inline-block; margin-left: .35rem; transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(5px); }
.inside__screen { overflow: hidden; border: 5px solid rgb(255 255 255 / 72%); border-radius: 18px; box-shadow: 0 30px 70px rgb(0 0 0 / 24%); }
.inside__screen picture { display: block; }
.inside__screen img { width: 100%; height: auto; }

.pwa {
  min-height: 760px;
  padding: 90px max(32px, calc((100vw - 1200px) / 2));
  display: grid;
  grid-template-columns: minmax(400px, .9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 7rem;
  background: var(--ivory);
  overflow: hidden;
}
.pwa__copy { max-width: 570px; }
.pwa__copy h2 { color: var(--teal-deep); }
.pwa__copy > p { max-width: 530px; color: var(--muted); font-size: 1.15rem; }
.pwa__copy ul { display: grid; gap: 1.1rem; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.pwa__copy li { display: flex; align-items: center; gap: 1rem; color: var(--teal-deep); font-weight: 750; }
.pwa__copy svg { width: 26px; fill: none; stroke: var(--teal-soft); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pwa__visual { position: relative; min-height: 700px; display: grid; place-items: center; }
.phone-frame--pwa { position: relative; z-index: 2; width: min(320px, 70%); }
.ripple--pwa { z-index: 0; width: 680px; height: 470px; }
.install-cue {
  position: absolute;
  z-index: 3;
  top: 15%;
  right: 0;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ivory-strong);
  color: var(--teal-deep);
  box-shadow: 0 14px 30px rgb(7 63 65 / 12%);
  font-size: .86rem;
  font-weight: 800;
}
.install-cue svg { width: 25px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.privacy {
  padding: 64px max(32px, calc((100vw - 1200px) / 2));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6rem;
  border-top: 1px solid var(--line);
  background: var(--ivory-strong);
}
.privacy__statement { display: flex; align-items: center; gap: 1.5rem; }
.privacy__statement img { width: 76px; height: 76px; object-fit: contain; padding: .75rem; border-radius: 50%; background: var(--sage); }
.privacy h2 { margin-bottom: .35rem; font-size: 2rem; letter-spacing: -.04em; }
.privacy p { margin-bottom: 0; color: var(--muted); }
.privacy__boundary { padding-left: 6rem; border-left: 1px solid var(--line); color: var(--ink) !important; font-size: 1.1rem; }

.closing {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--teal-deep);
  color: var(--ivory);
  text-align: center;
}
.closing__content { position: relative; z-index: 2; padding: 5rem 2rem; }
.closing h2 { color: var(--ivory); }
.closing p { margin-bottom: 2rem; color: #cadbd4; font-size: 1.15rem; }
.ripple--closing { width: 730px; height: 330px; left: -150px; bottom: -120px; }
.ripple--closing i { border-color: rgb(255 255 255 / 10%); }

.site-footer {
  min-height: 100px;
  padding: 1.5rem max(32px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3rem;
  border-top: 1px solid rgb(255 255 255 / 18%);
  background: var(--teal-deep);
  color: var(--ivory);
}
.brand--light { color: var(--ivory); font-size: 1.15rem; }
.brand--light img { width: 34px; height: 34px; filter: brightness(0) invert(1); opacity: .82; }
.site-footer nav { justify-self: center; display: flex; gap: 2rem; }
.site-footer p { margin: 0; color: #a8c3bc; font-size: .78rem; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  :root { --page: min(100% - 44px, 980px); }
  .site-header nav { display: none; }
  .hero { min-height: auto; padding-top: 50px; grid-template-columns: 1fr; }
  .hero__copy { max-width: 720px; }
  .hero__product { min-height: 620px; }
  .journey { grid-template-columns: 1fr; gap: 3rem; }
  .journey__intro p { max-width: 620px; }
  .inside { grid-template-columns: 1fr; gap: 3rem; }
  .inside__rail { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; }
  .inside__rail h2 { grid-column: 1 / -1; }
  .inside__rail ul { margin: 0; }
  .pwa { gap: 3rem; }
}

@media (max-width: 760px) {
  :root { --page: calc(100vw - 32px); }
  body { font-size: 16px; }
  html { scroll-padding-top: 78px; }
  .site-header { height: 78px; gap: 1rem; }
  .site-header { width: 100%; padding: 0 16px; background: var(--teal-deep); }
  .site-header .brand { color: var(--ivory); font-size: 1.2rem; }
  .site-header .brand img { width: 36px; height: 36px; }
  .site-header .brand img { filter: brightness(0) invert(1); opacity: .82; }
  .site-header .button { justify-self: end; min-height: 44px; padding: .7rem 1rem; background: var(--ivory-strong); border-color: var(--ivory-strong); color: var(--teal-deep); }
  h1 { font-size: clamp(3rem, 14vw, 4.6rem); line-height: 1; }
  h2 { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .hero { padding: 46px 0 72px; gap: 1rem; }
  .hero__copy > p:not(.boundary-note) { font-size: 1.1rem; }
  .hero__actions { display: grid; }
  .hero__actions .button { width: 100%; }
  .hero__actions .button--outline { display: none; }
  .boundary-note { align-items: flex-start; }
  .hero__product { min-height: 640px; margin-top: 1rem; }
  .laptop-frame, .laptop-base { display: none; }
  .phone-frame--hero { position: relative; right: auto; bottom: auto; width: min(285px, 78vw); }
  .ripple--hero { width: 560px; height: 240px; left: 50%; bottom: 10px; transform: translateX(-50%); }
  .journey { padding: 72px 16px; gap: 2.5rem; }
  .journey__intro { padding: 0; }
  .journey__steps { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .journey__steps::before { display: none; }
  .step-icon { width: 82px; height: 82px; }
  .inside { padding: 72px 16px; }
  .inside__rail { display: block; }
  .inside__rail ul { margin: 2rem 0; }
  .inside__screen { width: min(100%, 330px); margin-inline: auto; border-width: 3px; border-radius: 24px; }
  .inside__screen img { width: 100%; max-width: 100%; transform: none; }
  .pwa { min-height: auto; padding: 72px 16px; grid-template-columns: 1fr; gap: 2.5rem; }
  .pwa__visual { min-height: 660px; }
  .phone-frame--pwa { width: min(300px, 78vw); }
  .install-cue { top: 8%; right: 0; }
  .privacy { padding: 56px 16px; grid-template-columns: 1fr; gap: 2rem; }
  .privacy__statement { align-items: flex-start; }
  .privacy__boundary { padding: 2rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .closing { min-height: 500px; }
  .closing__content { width: 100%; }
  .closing .button { width: 100%; }
  .site-footer { padding: 2rem 16px 2.5rem; grid-template-columns: 1fr; gap: 1.5rem; }
  .site-footer nav { justify-self: start; flex-wrap: wrap; gap: 1rem 1.5rem; }
}

@media (max-width: 380px) {
  .site-header .brand span { font-size: 1.05rem; }
  .site-header .button { padding-inline: .8rem; font-size: .84rem; }
  .journey__steps { grid-template-columns: 1fr; }
  .pwa__visual { min-height: 640px; }
  .install-cue span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
