  :root{
    --paper: #F5F2EA;
    --paper-dim: #EAE5D8;
    --ink: #2A2620;
    --ink-soft: #6B6355;
    --card: #FFFFFF;
    --card-border: #DFD9C8;

    --accent: #58665A;
    --accent-soft: #DDE3DC;
    --accent-dark: #3F4C41;

    --serif: "Nunito", -apple-system, "Segoe UI", sans-serif;
    --sans: "IBM Plex Sans", -apple-system, Segoe UI, sans-serif;
    --mono: "IBM Plex Mono", Consolas, monospace;
  }

  *{ box-sizing: border-box; }

  html{ scroll-behavior: smooth; }

  body{
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.55;
    position: relative;
    overflow-x: hidden;
  }

  body::before{
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.5;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.16  0 0 0 0 0.15  0 0 0 0 0.13  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }

  .wrap{
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
  }

  a{ color: inherit; }

  /* ============ NAV ============ */

  header{
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(245,242,234,0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--card-border);
  }

  nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
  }

  .wordmark{
    font-family: var(--serif);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.01em;
    text-decoration: none;
  }

  .navlinks{
    display: flex;
    gap: 28px;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: 0.02em;
  }

  .navlinks a{
    text-decoration: none;
    color: var(--ink-soft);
    transition: color 0.15s;
  }
  .navlinks a:hover{ color: var(--ink); }

  .nav-toggle-checkbox{ display: none; }
  .nav-toggle-label{
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
  }
  .nav-toggle-label span{
    width: 22px;
    height: 2px;
    background: var(--ink);
    display: block;
  }

  @media (max-width: 640px){
    nav{ flex-wrap: wrap; }
    .nav-toggle-label{ display: flex; }
    .navlinks{
      display: none;
      flex-direction: column;
      gap: 0;
      width: 100%;
      border-top: 1px solid var(--card-border);
      margin-top: 14px;
      padding-top: 6px;
    }
    .navlinks a{ padding: 12px 2px; }
    .nav-toggle-checkbox:checked ~ .navlinks{ display: flex; }
  }

  /* ============ HERO ============ */

  .hero{
    padding: 72px 0 88px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
  }

  @media (max-width: 860px){
    .hero{ grid-template-columns: 1fr; padding: 48px 0 64px; }
  }

  .eyebrow{
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin: 0 0 14px 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .eyebrow .dots{ display: inline-flex; gap: 3px; }
  .eyebrow .dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

  h1{
    font-family: var(--serif);
    font-size: clamp(42px, 6.4vw, 72px);
    line-height: 1.01;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 22px 0;
  }

  @keyframes riseIn{
    from{ opacity: 0; transform: translateY(14px); }
    to{ opacity: 1; transform: translateY(0); }
  }

  .hero > div:first-child > *{
    animation: riseIn 0.7s cubic-bezier(.2,.7,.3,1) both;
  }
  .hero .eyebrow{ animation-delay: 0s; }
  .hero h1{ animation-delay: 0.06s; }
  .hero p.lede{ animation-delay: 0.12s; }
  .hero .btn{ animation-delay: 0.18s; }

  .flipzone{ animation: riseIn 0.8s cubic-bezier(.2,.7,.3,1) 0.16s both; }

  @media (prefers-reduced-motion: reduce){
    .hero > div:first-child > *, .flipzone{ animation: none; }
  }

  .hero p.lede{
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 46ch;
    margin: 0 0 32px 0;
  }

  .btn{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 8px;
    font-family: var(--sans);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.1s, opacity 0.15s;
  }
  .btn:active{ transform: scale(0.98); }

  .btn-primary{
    background: var(--ink);
    color: var(--paper);
  }
  .btn-primary:hover{ opacity: 0.88; }

  .btn-ghost{
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--card-border);
  }
  .btn-ghost:hover{ border-color: var(--ink-soft); }

  /* ============ FLIP CARD ============ */

  .flipzone{
    perspective: 1400px;
    position: relative;
  }

  .flipzone::before{
    content: "";
    position: absolute;
    inset: -10% -10% 10% -10%;
    background: radial-gradient(closest-side, rgba(42,38,32,0.10), rgba(42,38,32,0) 70%);
    z-index: -1;
  }

  .flipcard{
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-width: 340px;
    margin: 0 auto;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(.4,.1,.2,1);
  }

  .flipcard.flipped{ transform: rotateY(180deg); }

  .face{
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    border-radius: 14px;
    border: 1px solid var(--card-border);
    background: var(--card);
    box-shadow: 0 30px 60px -24px rgba(42,38,32,0.32);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .face-back{
    transform: rotateY(180deg);
    background: var(--ink);
    color: var(--paper);
    border: none;
  }

  .face .tag{
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  .face-back .tag{ color: rgba(245,242,234,0.55); }

  .face .q{
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.3;
    font-weight: 500;
    margin: auto 0;
  }

  .face .hint{
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--ink-soft);
    text-align: center;
  }
  .face-back .hint{ color: rgba(245,242,234,0.55); }

  .face-back .word{
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 600;
  }
  .face-back .a{
    font-size: 14.5px;
    color: rgba(245,242,234,0.82);
    line-height: 1.5;
  }

  /* ============ SECTION SCAFFOLD ============ */

  section{ padding: 88px 0; }
  section + section{ border-top: 1px solid var(--card-border); }
  .alt-bg{ background: var(--paper-dim); }

  @media (max-width: 780px){
    section{ padding: 60px 0; }
  }

  .section-head{ margin-bottom: 40px; max-width: 56ch; }
  .section-head h1, h2{
    font-family: var(--serif);
    font-size: clamp(26px, 3.4vw, 34px);
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 0 0 12px 0;
  }
  .section-head h1{
    font-size: clamp(26px, 3.4vw, 34px);
    line-height: 1.15;
    margin: 0 0 12px 0;
  }
  .section-head p{
    color: var(--ink-soft);
    font-size: 15.5px;
    margin: 0;
  }

  /* ============ HOW IT WORKS ============ */

  .facts{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  @media (max-width: 780px){ .facts{ grid-template-columns: 1fr; } }

  .fact{
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 14px 30px -20px rgba(42,38,32,0.18);
  }

  .fact h3{
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
  }
  .fact p{
    font-size: 14.5px;
    color: var(--ink-soft);
    margin: 0;
  }

  .legend{
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px dashed var(--card-border);
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--ink-soft);
  }
  .legend span{ display: inline-flex; align-items: center; gap: 7px; }
  .legend i{ width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

  /* ============ SPECS (dark section) ============ */

  .specs-section{
    background: var(--ink);
    color: var(--paper);
    border-top: none;
  }
  .specs-section .section-head p{
    color: rgba(245,242,234,0.6);
  }
  .specs-section .eyebrow{
    color: rgba(245,242,234,0.55);
  }

  .spec-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(245,242,234,0.12);
    border: 1px solid rgba(245,242,234,0.12);
    border-radius: 14px;
    overflow: hidden;
  }
  @media (max-width: 780px){
    .spec-grid{ grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 480px){
    .spec-grid{ grid-template-columns: 1fr; }
  }

  .spec{
    background: var(--ink);
    padding: 28px 24px;
  }
  .spec .spec-label{
    font-family: var(--mono);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245,242,234,0.5);
    margin: 0 0 10px 0;
  }
  .spec .spec-value{
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
  }

  /* ============ THEMES ============ */

  .themes{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  @media (max-width: 780px){ .themes{ grid-template-columns: repeat(2, 1fr); } }

  .theme-swatch{
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 14px 30px -20px rgba(42,38,32,0.22);
  }
  .theme-preview{
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 15px;
  }
  .theme-label{
    padding: 12px 14px;
    background: var(--card);
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }

  /* ============ DEVICE ILLUSTRATION ============ */

  .device-wrap{
    display: flex;
    justify-content: center;
    padding: 20px 0 8px;
  }
  .device-wrap svg{
    filter: drop-shadow(0 26px 34px rgba(42,38,32,0.16));
  }

  /* ============ WAITLIST ============ */

  .waitlist-panel{
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  @media (max-width: 780px){
    .waitlist-panel{ grid-template-columns: 1fr; padding: 28px; }
  }

  #waitlistForm{
    display: flex;
    gap: 10px;
  }
  @media (max-width: 480px){
    #waitlistForm{ flex-direction: column; }
  }

  #waitlistForm input[type="email"]{
    flex: 1;
    padding: 13px 14px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 14.5px;
    color: var(--ink);
  }
  #waitlistForm input[type="email"]:focus{
    outline: 2px solid var(--accent);
    outline-offset: 1px;
  }

  .form-note{
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--ink-soft);
    margin-top: 10px;
  }

  .form-success{
    display: none;
    font-family: var(--sans);
    font-size: 15px;
  }
  .form-success strong{ font-family: var(--serif); font-size: 18px; display: block; margin-bottom: 4px; }

  .form-error{
    display: none;
    font-family: var(--mono);
    font-size: 12.5px;
    color: #9A4436;
    margin-top: 10px;
  }

  .hp-field{ position: absolute; left: -9999px; }

  /* ============ STORE STUB ============ */

  .store-slot{
    border: 1.5px dashed var(--card-border);
    border-radius: 14px;
    padding: 40px;
    text-align: center;
  }
  .store-slot h3{
    font-family: var(--serif);
    font-size: 20px;
    margin: 0 0 8px 0;
  }
  .store-slot p{
    color: var(--ink-soft);
    font-size: 14.5px;
    max-width: 44ch;
    margin: 0 auto 20px;
  }

  /* ============ FOOTER ============ */

  footer{
    padding: 40px 0 56px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--ink-soft);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

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

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

  /* ============ PHOTO STRIP ============ */

  .photo-strip{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 8px;
  }
  .photo-strip img{
    width: 100%;
    min-width: 0;
    max-width: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    box-shadow: 0 14px 30px -20px rgba(42,38,32,0.22);
    display: block;
    aspect-ratio: 3 / 2;
  }
  @media (max-width: 620px){
    .photo-strip{ grid-template-columns: 1fr; }
  }

  /* ============ FAQ ============ */

  .faq{
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .faq details{
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 4px 20px;
  }
  .faq summary{
    cursor: pointer;
    padding: 16px 0;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .faq summary::-webkit-details-marker{ display: none; }
  .faq summary::after{
    content: "+";
    font-family: var(--mono);
    font-size: 18px;
    color: var(--ink-soft);
    flex-shrink: 0;
    transition: transform 0.15s;
  }
  .faq details[open] summary::after{ transform: rotate(45deg); }
  .faq p{
    margin: 0 0 18px 0;
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.6;
  }

  /* ============ ACTIVE NAV STATE ============ */

  .navlinks a.active{
    color: var(--ink);
    font-weight: 600;
  }


  /* ============ PRICE / EARLY ACCESS ============ */
  .price-block{
    margin-top: 28px;
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }
  .price-block .price{
    font-family: var(--serif);
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
  }
  .price-block .price-note{
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .feature-checks{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin-top: 24px;
    color: var(--ink-soft);
    font-size: 13.5px;
  }
  .feature-checks span::before{
    content: "✓";
    color: var(--accent-dark);
    font-weight: 700;
    margin-right: 8px;
  }
  @media (max-width: 480px){
    .feature-checks{ grid-template-columns: 1fr; }
  }
