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

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

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

@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/Poppins-Black.ttf') format('truetype');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --ink: #010716;
  --muted: #606266;
  --navy: #364c84;
  --periwinkle: #95b1ee;
  --lime: #d5ff90;
  --green: #78ad4e;
  --green-light: #c2dec8;
  --canvas: #f7f8fc;
  --surface: #ffffff;
  --border: rgb(229 229 229 / 40%);
  --danger: #c53e3e;
  --shadow-card: 0 15px 32px rgb(45 30 133 / 10%);
  --shadow-soft: 0 10px 40px rgb(1 7 22 / 8%);
  --radius-card: 30px;
  --radius-small: 16px;
  --radius-control: 10px;
  --duration-quick: 240ms;
  --duration-base: 350ms;
  --shell: 1290px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  translate: 0 -160%;
  border-radius: var(--radius-control);
  background: var(--navy);
  color: var(--surface);
  padding: 12px 18px;
  text-decoration: none;
  transition: translate var(--duration-quick) ease;
}

.skip-link:focus {
  translate: 0;
}

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

.site-header {
  position: relative;
  z-index: 10;
  height: 105px;
  background: var(--surface);
}

.site-header__inner {
  display: flex;
  height: 100%;
  align-items: center;
}

.brand-mark {
  display: inline-flex;
  width: 105px;
  height: 66px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-small);
}

.brand-mark img {
  width: 105px;
  height: 105px;
  object-fit: contain;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1,
h2 {
  font-weight: 900;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(2.4rem, 4.2vw, 3.3rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
  font-weight: 700;
}

.hero {
  min-height: 1090px;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      var(--surface) 0%,
      #dfe8fb 8%,
      var(--periwinkle) 27%,
      #a8bbed 48%,
      rgb(213 255 144 / 34%) 80%,
      var(--canvas) 100%
    );
}

.hero__inner {
  position: relative;
  min-height: 1090px;
  padding-top: 34px;
}

.hero__copy {
  position: relative;
  z-index: 3;
  display: flex;
  max-width: 1040px;
  margin-inline: auto;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.identity-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 1px 3px rgb(0 0 0 / 6%);
  padding: 4px 15px 4px 4px;
  font-size: 13px;
  line-height: 1;
}

.identity-badge span {
  border-radius: 999px;
  background: var(--lime);
  color: var(--navy);
  padding: 6px 11px;
}

.identity-badge strong {
  font-weight: 700;
}

.hero h1 {
  max-width: 1100px;
  margin: 34px 0 20px;
  font-size: clamp(3.6rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.hero__copy > p {
  max-width: 820px;
  margin-bottom: 44px;
  color: var(--navy);
  font-size: clamp(1.05rem, 1.8vw, 1.38rem);
  font-weight: 600;
}

.store-badge {
  display: inline-flex;
  border-radius: 12px;
  transition: transform var(--duration-quick) ease, filter var(--duration-quick) ease;
}

.store-badge:hover {
  filter: drop-shadow(0 10px 18px rgb(1 7 22 / 18%));
  transform: translateY(-2px);
}

.store-badge img {
  width: 256px;
  height: auto;
}

.hero-stage {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 690px;
}

.hero-phone {
  position: absolute;
  z-index: 3;
  bottom: -134px;
  left: 50%;
  width: 382px;
  max-width: none;
  filter: drop-shadow(0 25px 35px rgb(1 7 22 / 16%));
  transform: translateX(-50%);
}

.hero-food {
  position: absolute;
  z-index: 4;
  width: 150px;
  max-width: none;
  filter: drop-shadow(0 16px 18px rgb(1 7 22 / 16%));
  animation: hero-drift 5.5s ease-in-out infinite alternate;
}

.hero-food--one {
  top: 144px;
  left: 16%;
  width: 154px;
}

.hero-food--two {
  top: 330px;
  left: 11%;
  width: 116px;
  animation-delay: -2.4s;
}

.hero-food--three {
  right: 14%;
  bottom: 28px;
  width: 142px;
  animation-delay: -1.1s;
}

.hero-food--four {
  top: 138px;
  right: 16%;
  width: 132px;
  animation-delay: -3.2s;
}

.hero-food--five {
  top: 306px;
  right: 8%;
  width: 124px;
  animation-delay: -0.6s;
}

.hero-food--six {
  bottom: 44px;
  left: 20%;
  width: 128px;
  animation-delay: -4s;
}

@keyframes hero-drift {
  from { transform: translate3d(0, -5px, 0) rotate(-1deg); }
  to { transform: translate3d(0, 8px, 0) rotate(1.5deg); }
}

.feature-section {
  padding: 112px 0 120px;
  background: var(--surface);
}

.section-intro {
  max-width: 930px;
  margin: 0 auto 84px;
  text-align: center;
}

.section-intro > p {
  max-width: 760px;
  margin-inline: auto;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.32;
}

.section-intro .section-intro__lead {
  max-width: 640px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 1.35rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.feature-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-base) cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow var(--duration-base) ease;
}

.feature-card:hover {
  box-shadow: 0 20px 42px rgb(45 30 133 / 15%);
  transform: translateY(-8px);
}

.feature-card > img {
  width: 100%;
  aspect-ratio: 1.16 / 1;
  object-fit: cover;
}

.feature-card__body {
  padding: 20px 24px 26px;
}

.feature-card__body p {
  margin-bottom: 0;
  color: #2b2b2c;
  line-height: 1.45;
}

.steps-section {
  padding: 40px 0 72px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 80px;
}

.steps-copy {
  padding-block: 48px;
}

.steps-copy h2 {
  max-width: 600px;
}

.step-list {
  display: grid;
  margin: 56px 0 0;
  padding: 0;
  gap: 32px;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.step-list__number {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--periwinkle) 26%, var(--surface));
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
}

.step-list p {
  margin-bottom: 0;
  color: #2b2b2c;
}

.app-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #f0f2f6;
}

.app-panel--diary {
  height: 700px;
}

.app-panel--diary img {
  position: absolute;
  top: 72px;
  left: 50%;
  width: 390px;
  max-width: none;
  transform: translateX(-50%) rotate(2deg);
}

.purpose-section {
  padding: 118px 0 132px;
}

.purpose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
  align-items: center;
  gap: 90px;
}

.purpose-grid h2 {
  max-width: 690px;
  margin-bottom: 0;
}

.purpose-statement p {
  max-width: 580px;
  margin: 28px 0 0;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.35;
}

.avatar-stack {
  display: flex;
  align-items: center;
  padding-left: 8px;
}

.avatar-stack img {
  width: 54px;
  height: 54px;
  margin-left: -9px;
  border: 3px solid var(--surface);
  border-radius: 9px;
  object-fit: cover;
  transform: rotate(var(--avatar-rotation, -5deg));
}

.avatar-stack img:nth-child(even) { --avatar-rotation: 5deg; }
.avatar-stack img:first-child { margin-left: 0; }
.avatar-stack img:nth-child(3) { border-color: var(--navy); }

.context-section {
  padding: 28px 0 128px;
}

.split-grid--context {
  grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
}

.app-panel--scan {
  height: 640px;
}

.app-panel--scan img {
  position: absolute;
  top: 68px;
  left: 50%;
  width: 360px;
  max-width: none;
  transform: translateX(-50%);
}

.context-copy {
  padding-left: 14px;
}

.context-copy > p {
  max-width: 650px;
  margin-bottom: 38px;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.35;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  gap: 20px 34px;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding-left: 30px;
}

.benefit-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--navy);
  content: '→';
  font-size: 1.25rem;
}

.cta-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 32%, rgb(213 255 144 / 82%), transparent 28%),
    radial-gradient(circle at 82% 58%, rgb(149 177 238 / 82%), transparent 34%),
    linear-gradient(180deg, var(--surface), #edf2e0 50%, var(--surface));
}

.cta-section__inner {
  display: flex;
  min-height: 640px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: 92px;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 18px;
}

.cta-section__inner > p {
  max-width: 780px;
  margin-bottom: 34px;
  font-size: 1.12rem;
  font-weight: 600;
}

.store-badge--compact img {
  width: 220px;
}

.waitlist-block {
  display: flex;
  width: min(560px, 100%);
  margin-top: 44px;
  flex-direction: column;
  align-items: center;
}

.waitlist-block > p {
  margin-bottom: 16px;
  font-weight: 600;
}

.android-mark {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  object-fit: contain;
}

.waitlist-form {
  display: grid;
  width: min(340px, 100%);
  gap: 10px;
}

.waitlist-form input,
.waitlist-form button {
  min-height: 52px;
  border-radius: var(--radius-control);
}

.waitlist-form input {
  width: 100%;
  border: 2px solid rgb(54 76 132 / 30%);
  background: var(--surface);
  color: var(--ink);
  padding: 13px 15px;
  transition: border-color var(--duration-quick) ease, box-shadow var(--duration-quick) ease;
}

.waitlist-form input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgb(213 255 144 / 65%);
  outline: 0;
}

.waitlist-form input[aria-invalid='true'] {
  border-color: var(--danger);
}

.waitlist-form button {
  border: 0;
  background: var(--navy);
  color: var(--surface);
  cursor: pointer;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform var(--duration-quick) ease, opacity var(--duration-quick) ease;
}

.waitlist-form button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.waitlist-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.waitlist-status {
  min-height: 44px;
  margin: 0;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
}

.waitlist-status[data-kind='error'] {
  color: var(--danger);
}

.site-footer {
  padding: 92px 0 54px;
  background: var(--surface);
}

.site-footer__inner {
  display: flex;
  min-height: 180px;
  align-items: flex-start;
  justify-content: space-between;
  border-top: 1px solid var(--ink);
  padding-top: 46px;
}

.footer-social > p {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 0.92rem;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  width: 44px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--navy);
  transition: transform var(--duration-quick) ease;
}

.social-links a:hover {
  transform: translateY(-2px);
}

.social-links img {
  width: 22px;
  height: 22px;
}

.footer-nav {
  display: grid;
  gap: 12px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-nav a:hover,
.footer-nav a[aria-current='page'] {
  color: var(--navy);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(5px);
  transition:
    opacity 600ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 700ms ease;
}

.js [data-reveal][data-visible='true'] {
  opacity: 1;
  transform: none;
  filter: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.legal-main {
  background: var(--canvas);
  padding: 60px 0 100px;
}

.legal-page {
  width: min(860px, calc(100% - 40px));
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: clamp(32px, 6vw, 72px);
}

.legal-page h1 {
  margin-bottom: 56px;
  font-size: clamp(2.7rem, 6vw, 4.2rem);
  font-weight: 900;
}

.legal-page h2 {
  margin: 48px 0 14px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.legal-page h3 {
  margin: 26px 0 10px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.legal-page p,
.legal-page li {
  color: #2b2b2c;
}

.legal-page ul {
  padding-left: 22px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--navy);
  font-weight: 600;
  text-underline-offset: 4px;
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  background: var(--canvas);
  padding: 24px;
}

.not-found__card {
  width: min(640px, 100%);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: clamp(36px, 8vw, 72px);
  text-align: center;
}

.not-found__card img {
  width: 76px;
  margin: 0 auto 30px;
}

.not-found__card h1 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 7vw, 4rem);
  font-weight: 900;
}

.button-link {
  display: inline-flex;
  min-height: 50px;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-small);
  background: var(--navy);
  color: var(--surface);
  padding: 14px 20px;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 980px) {
  .shell {
    width: min(100% - 48px, var(--shell));
  }

  .feature-grid {
    gap: 18px;
  }

  .feature-card__body {
    padding-inline: 18px;
  }

  .split-grid,
  .split-grid--context,
  .purpose-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .app-panel {
    width: min(640px, 100%);
    margin-inline: auto;
  }

  .purpose-grid {
    align-items: start;
  }

  .purpose-statement {
    max-width: 660px;
  }

  .context-copy {
    padding-left: 0;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 32px, var(--shell));
  }

  .site-header {
    height: 84px;
  }

  .brand-mark {
    width: 105px;
  }

  .brand-mark img {
    width: 105px;
    height: 105px;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .hero,
  .hero__inner {
    min-height: 1080px;
  }

  .hero__inner {
    padding-top: 68px;
  }

  .identity-badge {
    font-size: 12px;
  }

  .hero h1 {
    max-width: 360px;
    margin-top: 28px;
    font-size: clamp(2.55rem, 12vw, 3.7rem);
    line-height: 1.02;
  }

  .hero__copy > p {
    max-width: 340px;
    margin-bottom: 68px;
    font-size: 1.12rem;
    line-height: 1.35;
  }

  .store-badge img {
    width: 188px;
  }

  .hero-stage {
    height: 570px;
  }

  .hero-phone {
    bottom: -100px;
    width: 310px;
  }

  .hero-food {
    display: none;
  }

  .feature-section {
    padding: 88px 0 92px;
  }

  .section-intro {
    margin-bottom: 58px;
    text-align: left;
  }

  .section-intro > p,
  .section-intro .section-intro__lead {
    font-size: 1.05rem;
    line-height: 1.45;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-card:hover {
    transform: none;
  }

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

  .steps-copy {
    padding-block: 36px 0;
  }

  .step-list {
    margin-top: 42px;
    gap: 36px;
  }

  .step-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 15px;
  }

  .step-list__number {
    width: 42px;
    height: 42px;
  }

  .app-panel--diary {
    height: 560px;
  }

  .app-panel--diary img {
    top: 54px;
    width: 330px;
  }

  .purpose-section {
    padding: 80px 0 96px;
  }

  .purpose-statement p {
    font-size: 1.08rem;
  }

  .avatar-stack img {
    width: 48px;
    height: 48px;
  }

  .context-section {
    padding-bottom: 90px;
  }

  .app-panel--scan {
    height: 540px;
  }

  .app-panel--scan img {
    top: 50px;
    width: 310px;
  }

  .context-copy > p {
    font-size: 1.05rem;
    line-height: 1.45;
  }

  .benefit-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .cta-section__inner {
    min-height: 720px;
    padding-block: 82px;
  }

  .waitlist-block {
    margin-top: 42px;
  }

  .site-footer {
    padding-top: 72px;
  }

  .site-footer__inner {
    min-height: 290px;
    flex-direction: column;
    gap: 54px;
  }

  .footer-nav {
    gap: 16px;
  }

  .legal-main {
    padding: 26px 0 70px;
  }

  .legal-page {
    width: min(100% - 24px, 860px);
    border-radius: 22px;
  }
}

@media (max-width: 360px) {
  .shell {
    width: min(100% - 24px, var(--shell));
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-phone {
    width: 286px;
  }

  .app-panel--diary img,
  .app-panel--scan img {
    width: 290px;
  }
}

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

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
