@layer reset, base, components, motion;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, figure { margin: 0; }
  button, input { font: inherit; }
  button, a { -webkit-tap-highlight-color: transparent; }
  img, svg { display: block; max-width: 100%; }
  img { height: auto; }
  a { color: inherit; text-decoration: none; }
  button { cursor: pointer; }
  [hidden] { display: none !important; }
}

@layer base {
  @font-face { font-family: 'Manrope'; src: url('/assets/manrope-latin.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }
  :root { color-scheme: light; --paper: #f7f8f2; --ink: #142326; --muted: #5a6664; --green: #315c30; --lime: #d4f780; --line: #d9dfd5; --dark: #142326; --radius: 28px; --gutter: clamp(20px, 5vw, 80px); }
  html { scroll-behavior: smooth; scroll-padding-top: 32px; }
  body { background: var(--paper); color: var(--ink); font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
  ::selection { background: var(--lime); color: var(--ink); }
  :focus-visible { outline: 3px solid #658733; outline-offset: 6px; }
  h1, h2, h3 { text-wrap: balance; }
  h1, h2 { font-weight: 600; letter-spacing: -.065em; line-height: 1.05; }
  h2 { font-size: clamp(40px, 5.2vw, 70px); }
  h3 { font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
  p { text-wrap: pretty; }
  .wrap { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
  .eyebrow { font-size: 10px; letter-spacing: .12em; font-weight: 700; line-height: 1.7; }
  .text-link { display: inline-flex; align-items: center; gap: 20px; padding-block: 10px; font-size: 13px; font-weight: 650; border-bottom: 1px solid currentColor; }
  .text-link span { font-size: 19px; }
  .text-link:hover { color: var(--green); }
  .fine-print { font-size: 12px; color: var(--muted); }
  .skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: var(--ink); color: #fff; border-radius: 12px; transform: translateY(-160%); }
  .skip-link:focus { transform: none; }
}

@layer components {
  .site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; }
  .brand { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 750; letter-spacing: -.06em; line-height: 1; }
  .brand img { border-radius: 12px; }
  .brand-dot { color: var(--green); }
  .site-header nav { display: flex; gap: 34px; font-size: 13px; font-weight: 600; }
  .site-header nav a:hover, .site-footer a:hover { color: var(--green); }
  .nav-download { border: 1px solid var(--line); padding: 11px 18px; border-radius: 99px; font-size: 12px; font-weight: 650; display: flex; gap: 22px; }
  .nav-download:hover { border-color: var(--ink); background: white; }
  .hero { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 44px; padding-top: 38px; padding-bottom: 38px; }
  .hero h1 { font-size: clamp(54px, 6.65vw, 94px); margin: 25px 0 30px; }
  .hero-copy > .eyebrow { display: flex; align-items: center; gap: 9px; }
  .status-dot { width: 7px; height: 7px; border-radius: 50%; background: #78a345; box-shadow: 0 0 0 4px #e5ecd9; }
  .day { color: var(--green); position: relative; display: inline-block; }
  .day svg { position: absolute; top: 95%; left: 0; width: 108%; height: 12px; overflow: visible; stroke: #8bab62; stroke-width: 4; fill: none; }
  .hero-description { font-size: clamp(15px, 1.3vw, 18px); color: var(--muted); line-height: 1.8; }
  .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 32px; }
  .store-button { display: inline-flex; align-items: center; flex-shrink: 0; gap: 15px; padding: 15px 20px; background: var(--ink); color: #fff; border-radius: 12px; box-shadow: 0 8px 18px #1324250a; transition: transform 180ms, background 180ms; }
  .store-button:hover { background: #244139; transform: translateY(-2px); }
  .store-button small { display: block; font-size: 9px; font-weight: 600; letter-spacing: .07em; line-height: 1.2; }
  .store-button strong { display: block; font-size: 20px; line-height: 1.45; letter-spacing: -.035em; font-weight: 600; }
  .play-icon { width: 25px; height: 28px; flex-shrink: 0; }
  .store-arrow { margin-left: 12px; font-size: 22px; }
  .hero-actions .text-link { border: 0; font-size: 12px; }
  .hero-note { color: #626d5f; font-size: 11px; margin-top: 18px; }
  .hero-note span { padding-inline: 8px; }
  .hero-visual { position: relative; padding: 0 0 32px 55px; }
  .hero-photo { aspect-ratio: 1; height: auto; overflow: hidden; background: #111b21; position: relative; border-radius: var(--radius); }
  .hero-photo picture, .hero-photo img { width: 100%; height: 100%; }
  .hero-photo img { object-fit: cover; object-position: 50% 29%; }
  .photo-label { color: white; position: absolute; top: 23px; left: 24px; z-index: 1; font-size: 8px; letter-spacing: .1em; font-weight: 700; display: flex; align-items: center; gap: 10px; }
  .photo-label > span { font-size: 20px; }
  .photo-footer { color: white; position: absolute; bottom: 22px; left: 25px; right: 25px; display: flex; justify-content: space-between; align-items: center; font-size: 8px; letter-spacing: .12em; font-weight: 700; }
  .floating-screen { position: absolute; right: -13px; bottom: 14px; width: 210px; display: grid; justify-items: center; gap: 10px; }
  .floating-screen > span { padding: 7px 12px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); font-size: 7px; letter-spacing: .1em; font-weight: 700; }
  .mini-case { padding: 8px; border-radius: 50%; background: linear-gradient(140deg, #c1c2bd, #414844 45%, #767d71 53%, #121916); border: 2px solid #48514b; box-shadow: 0 17px 30px #14232626; }
  .mini-case img { border-radius: 50%; background: black; border: 3px solid black; }
  .visual-coordinate { position: absolute; right: 0; bottom: 2px; font-size: 7px; font-weight: 650; letter-spacing: .13em; color: var(--muted); }
  .quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-block: 28px; border-top: 1px solid var(--line); margin-bottom: 35px; }
  .quick-facts p { display: flex; align-items: center; gap: 20px; font-size: 12px; font-weight: 600; }
  .fact-number { font-size: 10px; color: #626d5f; }
  .quick-facts small { padding: 2px 7px; border: 1px solid #bec8ae; border-radius: 99px; font-size: 7px; letter-spacing: .05em; }
  .dark-section { background: var(--dark); color: var(--paper); }
  .features { padding-block: 80px 72px; }
  .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
  .section-heading .eyebrow { margin-bottom: 20px; }
  .section-heading > p { font-size: 14px; color: var(--muted); max-width: 360px; padding-bottom: 6px; }
  .dark-section .section-heading > p { color: #b4c1b9; }
  .dark-section .eyebrow { color: var(--lime); }
  .demo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; border: 1px solid #3c4b47; border-radius: var(--radius); overflow: hidden; background: #1c2d2c; }
  .demo-device-stage { min-height: 470px; position: relative; display: grid; place-items: center; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 50% 50%, #3b4940, #1c2d2c 70%); }
  .orbit { position: absolute; border: 1px solid #6e816d40; border-radius: 50%; z-index: -1; width: 390px; height: 390px; }
  .orbit-two { width: 560px; height: 560px; }
  .watch-device { width: 262px; aspect-ratio: 1; position: relative; margin-block: 75px; transform: rotate(-10deg); }
  .watch-strap { position: absolute; inset: -125px 55px; background: repeating-linear-gradient(0deg, #1f2826 0 9px, #18201e 9px 11px); border-inline: 1px solid #405047; border-radius: 50px; z-index: -1; }
  .watch-case { border-radius: 50%; padding: 10px; position: relative; border: 2px solid #6e7b72; background: linear-gradient(130deg, #a8b1a7, #39413d 20%, #111c19 60%, #788776); box-shadow: 0 28px 45px #07100dd0, inset 0 0 4px #c8d6bd; }
  .watch-case::after { content: ''; position: absolute; top: 50%; right: -7px; width: 7px; height: 32px; transform: translateY(-50%); border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #27332c, #84917e); }
  .watch-case img { border-radius: 50%; border: 6px solid #070b08; width: 100%; aspect-ratio: 1; background: black; }
  .demo-footnote { position: absolute; bottom: 16px; text-align: center; font-size: 9px; color: #a5b2a9; }
  .demo-copy { padding: 44px 48px 44px 0; display: flex; flex-direction: column; justify-content: center; }
  .demo-controls { display: flex; gap: 3px; width: fit-content; padding: 5px; border-radius: 99px; background: #112422; border: 1px solid #3c4b47; margin-bottom: 38px; }
  .demo-controls button { border: 0; padding: 8px 16px; border-radius: 99px; font-size: 11px; font-weight: 650; color: #bbc8c0; background: transparent; }
  .demo-controls button[aria-pressed=true] { background: var(--lime); color: var(--ink); }
  .demo-controls button:hover { color: white; }
  .demo-controls button[aria-pressed=true]:hover { color: var(--ink); }
  .demo-copy h3 { font-size: clamp(26px, 3vw, 40px); margin: 14px 0 18px; }
  .demo-copy #demo-description > p:last-child { font-size: 14px; color: #b4c1b9; min-height: 90px; }
  .demo-copy .text-link { align-self: start; margin-top: 18px; font-size: 12px; }
  .dark-section .text-link:hover { color: var(--lime); }
  .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 50px; }
  .feature-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--lime); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .feature-grid h3 { font-size: 20px; margin: 20px 0 10px; }
  .feature-grid p { font-size: 13px; color: #b4c1b9; max-width: 290px; }
  .pro-section { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; padding-block: 100px; }
  .pro-photo { position: relative; height: 620px; border-radius: var(--radius); overflow: hidden; background: #111b21; }
  .pro-photo picture, .pro-photo img { width: 100%; height: 100%; }
  .pro-photo img { object-fit: cover; object-position: 50% 45%; }
  .image-caption { position: absolute; bottom: 26px; left: 28px; color: var(--ink); letter-spacing: .12em; font-size: 8px; font-weight: 650; }
  .pro-copy > .eyebrow { font-size: 8px; display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
  .pro-tag { background: var(--lime); padding: 6px 10px; color: var(--green); border-radius: 99px; font-size: 9px; letter-spacing: .08em; }
  .section-description { margin-top: 24px; color: var(--muted); font-size: 15px; }
  .pro-benefits { list-style: none; padding: 0; margin: 30px 0 22px; }
  .pro-benefits li { display: flex; gap: 24px; border-top: 1px solid var(--line); padding-block: 16px; }
  .pro-benefits li > span { font-size: 10px; color: #626d5f; padding-top: 3px; }
  .pro-benefits h3 { font-size: 16px; }
  .pro-benefits p { font-size: 12px; color: var(--muted); margin-top: 6px; }
  .pro-copy .fine-print { margin-top: 12px; font-size: 10px; }
  .gallery-section { background: #eef1e8; padding-block: 75px; }
  .gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .gallery-card { display: flex; flex-direction: column; background: #e4e8da; padding: 30px 22px 18px; border-radius: 18px; overflow: hidden; transition: background 200ms, transform 200ms; }
  .gallery-card:hover { background: #dce4cf; transform: translateY(-4px); }
  .gallery-card > img { border-radius: 50%; background: black; }
  .gallery-card picture { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--ink); }
  .gallery-card .complication-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
  .gallery-card > span { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 8px; letter-spacing: .07em; font-weight: 700; }
  .gallery-card > span > span:last-child { font-size: 20px; font-weight: 400; }
  .faq-section { display: grid; grid-template-columns: .9fr 1.2fr; gap: 60px; padding-block: 100px; }
  .faq-section h2 { margin: 20px 0 32px; }
  details { border-top: 1px solid var(--line); }
  details:last-child { border-bottom: 1px solid var(--line); }
  summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; padding-block: 22px; font-size: 15px; font-weight: 600; }
  summary::-webkit-details-marker { display: none; }
  summary > span { font-size: 23px; font-weight: 400; color: var(--green); transition: transform 180ms; }
  details[open] summary > span { transform: rotate(45deg); }
  details > p { font-size: 13px; color: var(--muted); padding-bottom: 24px; max-width: 550px; }
  details a { text-decoration: underline; text-underline-offset: 3px; }
  .download-section { background: var(--lime); border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 55px 60px; position: relative; overflow: hidden; isolation: isolate; }
  .download-section h2 { font-size: clamp(42px, 4.8vw, 65px); margin-block: 14px; }
  .download-section p:not(.eyebrow) { font-size: 13px; }
  .download-flower { position: absolute; right: 18%; top: -70px; font-size: 400px; line-height: 1; color: #c5ec70; z-index: -1; }
  .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 35px; padding-block: 55px 40px; }
  .site-footer .brand { font-size: 23px; }
  .site-footer p { font-size: 10px; color: var(--muted); margin-top: 9px; }
  .site-footer nav { display: flex; gap: 25px; flex-wrap: wrap; font-size: 11px; }
  .site-footer .copyright { text-align: right; line-height: 1.8; }
  dialog { color: var(--paper); background: var(--ink); border: 1px solid #516158; border-radius: 24px; padding: 46px 32px 24px; width: min(92vw, 620px); max-height: 90dvh; overscroll-behavior: contain; }
  dialog::backdrop { background: #0a1819d0; backdrop-filter: blur(7px); }
  dialog img { margin-inline: auto; max-height: 65dvh; width: auto; object-fit: contain; border-radius: 12px; }
  dialog figcaption { font-size: 12px; margin-top: 20px; text-align: center; }
  .dialog-close { position: absolute; top: 8px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; font-size: 26px; line-height: 1; color: white; background: #ffffff12; }
  html:has(dialog[open]) { overflow: hidden; }
  .legal-header { padding-top: 65px; padding-bottom: 45px; border-bottom: 1px solid var(--line); }
  .legal-header h1 { font-size: clamp(42px, 6vw, 80px); margin-block: 20px; }
  .legal-header p:last-child { font-size: 14px; color: var(--muted); max-width: 670px; }
  .legal-layout { display: grid; grid-template-columns: 200px minmax(0, 720px); gap: 60px; padding-block: 55px; }
  .legal-toc { align-self: start; position: sticky; top: 30px; font-size: 12px; display: grid; gap: 12px; }
  .legal-toc a { color: var(--muted); }
  .legal-toc a:hover { color: var(--green); }
  .legal-content h2 { font-size: 26px; letter-spacing: -.035em; margin-bottom: 16px; }
  .legal-content section + section { margin-top: 40px; }
  .legal-content p, .legal-content li { font-size: 14px; color: var(--muted); margin-bottom: 15px; }
  .legal-content a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
  .legal-content li { padding-left: 4px; }
  .legal-content ul { padding-left: 18px; }
  .error-page { padding-block: 80px; min-height: 65vh; }
  .error-page h1 { font-size: clamp(50px, 8vw, 100px); margin-block: 25px; }
  .error-page p { margin-bottom: 25px; }

  @media (min-width: 1600px) { .hero h1 { font-size: 100px; } }
  @media (max-width: 1100px) {
    .hero { gap: 20px; }
    .hero-visual { padding-left: 35px; }
    .floating-screen { width: 165px; }
    .hero-actions { gap: 12px; }
    .demo-copy { padding-right: 30px; }
    .demo-controls button { padding-inline: 12px; }
    .pro-copy > .eyebrow { flex-wrap: wrap; }
    .pro-photo { height: 570px; }
    .download-section { padding-inline: 40px; }
  }
  @media (max-width: 850px) {
    .site-header nav { gap: 20px; }
    .hero h1 { font-size: clamp(50px, 7vw, 68px); }
    .hero-actions { flex-direction: column; align-items: start; gap: 12px; }
    .hero-photo { height: auto; }
    .photo-label { font-size: 6px; left: 16px; }
    .photo-footer { left: 16px; }
    .quick-facts p { gap: 10px; font-size: 10px; }
    .feature-grid { gap: 28px; }
    .section-heading > p { font-size: 12px; }
    .demo { gap: 15px; grid-template-columns: 1fr 1fr; }
    .demo-device-stage { min-height: 440px; }
    .watch-device { width: 220px; }
    .demo-copy { padding-right: 25px; }
    .demo-controls { flex-wrap: wrap; border-radius: 14px; }
    .demo-controls button { font-size: 10px; padding: 8px 10px; }
    .gallery-card { padding: 22px 13px 14px; }
    .gallery-card > span { font-size: 6px; }
    .pro-section { gap: 40px; }
    .pro-photo { height: 610px; }
    .faq-section { gap: 35px; }
    .download-section { gap: 20px; }
    .site-footer nav { max-width: 240px; gap: 14px; }
  }
  @media (max-width: 700px) {
    .site-header { padding-block: 18px; gap: 16px; }
    .brand { font-size: 24px; }
    .site-header nav { display: none; }
    .nav-download { font-size: 11px; padding: 10px 14px; gap: 15px; }
    .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 30px; }
    .hero h1 { font-size: clamp(52px, 10vw, 76px); margin-block: 22px; }
    .hero-description { font-size: 15px; }
    .hero-description br { display: none; }
    .hero-actions { flex-direction: row; align-items: center; gap: 20px; margin-top: 26px; }
    .hero-note { margin-top: 14px; }
    .hero-visual { padding-left: 22px; padding-bottom: 26px; }
    .hero-photo { height: auto; }
    .floating-screen { width: clamp(150px, 39vw, 210px); right: -8px; bottom: 8px; }
    .visual-coordinate { font-size: 6px; }
    .photo-label { font-size: 7px; top: 20px; left: 20px; }
    .photo-footer { left: 20px; bottom: 20px; }
    .quick-facts { padding-block: 22px; gap: 12px; margin-bottom: 20px; }
    .quick-facts p { flex-wrap: wrap; font-size: 9px; gap: 7px; line-height: 1.5; }
    .fact-number { flex-basis: 100%; font-size: 8px; }
    .quick-facts small { font-size: 6px; }
    .features { padding-block: 60px; }
    .section-heading { align-items: start; flex-direction: column; gap: 22px; margin-bottom: 30px; }
    .section-heading > p { font-size: 13px; }
    .section-heading > p br { display: none; }
    .section-heading .eyebrow { font-size: 8px; }
    .demo { grid-template-columns: 1fr; gap: 0; }
    .demo-device-stage { min-height: 340px; }
    .watch-device { width: 230px; margin-block: 50px; }
    .demo-copy { padding: 28px; }
    .demo-copy h3 { font-size: 30px; }
    .demo-copy #demo-description > p:last-child { min-height: 84px; font-size: 13px; }
    .demo-controls { border-radius: 99px; margin-bottom: 28px; }
    .demo-controls button { padding-inline: 15px; }
    .feature-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 35px; }
    .feature-grid article { display: grid; grid-template-columns: 32px 1fr; column-gap: 18px; }
    .feature-icon { grid-row: 1 / 3; padding-top: 4px; }
    .feature-grid h3 { margin: 0 0 8px; }
    .feature-grid p { max-width: none; }
    .pro-section { grid-template-columns: 1fr; gap: 36px; padding-block: 60px; }
    .pro-photo { height: 450px; }
    .pro-photo img { object-position: 50% 39%; }
    .pro-copy > .eyebrow { font-size: 7px; }
    .section-description { font-size: 14px; }
    .gallery-section { padding-block: 55px; }
    .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gallery-card { padding: 22px 16px 13px; }
    .gallery-card > span { font-size: 7px; margin-top: 18px; }
    .faq-section { grid-template-columns: 1fr; gap: 30px; padding-block: 60px; }
    .faq-section h2 { margin-bottom: 20px; }
    summary { font-size: 13px; padding-block: 19px; }
    .download-section { padding: 35px 28px; flex-direction: column; align-items: start; gap: 28px; }
    .download-section .eyebrow { font-size: 8px; }
    .download-flower { right: -130px; top: -35px; font-size: 340px; }
    .site-footer { flex-wrap: wrap; padding-block: 40px 30px; gap: 24px; }
    .site-footer nav { margin-left: auto; max-width: 145px; display: grid; font-size: 11px; }
    .site-footer .copyright { flex-basis: 100%; text-align: left; padding-top: 18px; border-top: 1px solid var(--line); }
    .legal-header { padding-top: 40px; }
    .legal-layout { grid-template-columns: 1fr; gap: 32px; padding-block: 35px; }
    .legal-toc { position: static; grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 360px) { .hero h1 { font-size: 47px; } .hero-actions { gap: 16px; } .store-button { padding: 12px 15px; } .store-arrow { margin-left: 0; } .demo-controls button { padding-inline: 10px; } .demo-copy { padding: 22px; } .photo-label { font-size: 6px; } }
}

@layer motion {
  @keyframes arrive { from { transform: translateY(18px); } to { transform: translateY(0); } }
  @keyframes dialog-enter { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: no-preference) {
    .arrived { animation: arrive 600ms cubic-bezier(.2, .65, .2, 1) both; }
    dialog[open] { animation: dialog-enter 180ms ease-out; }
    @view-transition { navigation: auto; }
  }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
}
