/* ===========================================================================
   Holist landing page — cozy palette, serif display type, calm spacing.
   Mirrors the extension's design tokens (cream bg, terracotta accent, plant).
   =========================================================================== */

   :root {
    --bg: #fbf5ea;
    --bg-warm: #f6ecd9;
    --surface: #fffdf8;
    --accent: #c97c5d;
    --accent-dim: #a8542d;
    --accent-soft: #edd5c4;
    --ink: #2e2218;
    --ink-soft: #6b5a48;
    --border: #e8dcc4;
    --leaf: #9bbc8a;
    --leaf-mid: #6a8a5a;
    --stem: #5a8a5a;
    --pot: #c97c5d;
    --pot-rim: #a8542d;
  
    --maxw: 1120px;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 24px 60px -28px rgba(74, 47, 26, 0.35);
    --shadow-soft: 0 12px 32px -20px rgba(74, 47, 26, 0.3);
  
    --font-display: "Newsreader", Georgia, "Times New Roman", serif;
    --font-body: "Lora", Georgia, serif;

    /* Fluid layout — scales with viewport width and height */
    --page-gutter: clamp(16px, 4vw, 24px);
    --nav-h: clamp(65px, calc(8vh + 5px), 75px);
    --section-y: clamp(60px, 8vh, 80px);
    --grid-gap: clamp(28px, 4vw, 56px);
    --grid-gap-sm: clamp(32px, 4.5vw, 48px);
  }
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    overflow-x: clip;
  }

  body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
  }
  
  img {
    max-width: 100%;
    display: block;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  .container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--page-gutter);
  }
  
  h1,
  h2,
  h3 {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin: 0;
  }
  
  .accent {
    color: var(--accent);
  }
  
  .eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.74rem;
    color: var(--accent-dim);
    margin: 0 0 16px;
    font-weight: 600;
  }
  
  /* ===== Buttons ===== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    padding: 13px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
  }
  
  .btn-plus {
    font-weight: 700;
    font-size: 1.2em;
    line-height: 1;
    display: inline-flex;
    align-items: center;
  }
  
  .btn-primary {
    background: #c97c5d;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 10px 24px -10px rgba(201, 124, 93, 0.7);
  }
  
  .btn-primary:hover {
    background: var(--accent-dim);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px -10px rgba(201, 124, 93, 0.8);
  }
  
  .btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--border);
  }
  
  .btn-ghost:hover {
    background: var(--surface);
    border-color: var(--accent-soft);
  }
  
  .btn-lg {
    font-size: 1.08rem;
    padding: 16px 34px;
  }
  
  /* ===== Navigation ===== */
  .nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(253, 250, 244, 0.95);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--border);
  }
  
  .nav-inner {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2.5vw, 24px);
    height: var(--nav-h);
    min-height: 65px;
  }
  
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 34px;
    font-family: var(--font-display);
    color: inherit;
    text-decoration: none;
  }
  
  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: block;
    flex-shrink: 0;
  }
  
  .brand-name {
    height: 34px;
    font-size: 34px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    text-box-trim: trim-both;
    text-box-edge: cap alphabetic;
    transform: translateY(3px);
  }
  
  /* Browsers without text-box-trim: scale cap height to match 34px logo */
  @supports not (text-box-trim: trim-both) {
    .brand-name {
      font-size: 46px;
      line-height: 34px;
      transform: translateY(2px);
    }
  }
  
  .nav-links {
    display: flex;
    gap: 28px;
    margin-left: auto;
    font-size: 0.98rem;
    color: var(--ink-soft);
  }
  
  .nav-links a:hover {
    color: var(--accent-dim);
  }
  
  .nav-cta {
    padding: 6px 18px;
    font-size: 0.92rem;
  }
  
  /* ===== Hero ===== */
  .hero {
    padding-block: var(--section-y);
    scroll-margin-top: var(--nav-h);
    background: radial-gradient(120% 120% at 80% 0%, var(--bg-warm) 0%, var(--bg) 55%);
    overflow-x: clip;
  }

  @media (min-width: 1024px) {
    .hero {
      padding-top: clamp(20px, 2.5vh, 36px);
      padding-bottom: clamp(44px, 6vh, 72px);
    }
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--grid-gap);
    align-items: center;
    width: 100%;
    min-width: 0;
  }

  .hero-copy {
    min-width: 0;
  }
  
  .hero h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.1rem);
    margin-bottom: 0;
  }
  
  .lede {
    font-size: 1.18rem;
    color: var(--ink-soft);
    max-width: 36ch;
    margin: 18px 0 26px;
  }
  
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }
  
  .hero-note {
    margin-top: 22px;
    font-size: 0.9rem;
    color: var(--ink-soft);
  }
  
  /* ===== Hero screenshot ===== */
  .hero-mobile-intro {
    display: none;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 0;
  }

  .hero-shot {
    margin: 0 auto;
    width: 100%;
    max-width: min(100%, 420px);
    transform: none;
    transition: transform 0.35s ease;
  }

  @media (min-width: 901px) {
    .hero-shot {
      transform: rotate(2.5deg);
    }
  }
  
  .hero-shot img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  
  @media (hover: hover) and (min-width: 901px) {
    .hero-shot:hover {
      transform: rotate(1deg) scale(1.01);
    }
  }

  @media (min-width: 1024px) {
    .hero-shot {
      max-width: min(100%, 320px);
    }
  }
  
  /* ===== Why Holist ===== */
  .why-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--grid-gap);
    align-items: center;
    min-width: 0;
  }
  
  .why-copy {
    min-width: 0;
  }
  
  .why-aside {
    transform: rotate(-2.5deg);
    transform-origin: center center;
    min-width: 0;
  }
  
  .why-aside .eyebrow {
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
  }
  
  .why-title {
    margin: 0 0 24px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  
  .why-prose {
    margin-bottom: 24px;
  }
  
  .why-prose p,
  .why-close {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--ink);
  }
  
  .why-quote {
    margin: 0;
    padding: 0;
    border: none;
  }
  
  .why-quote p {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.8vw, 2.5rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.25;
    color: var(--accent-dim);
    text-align: left;
  }
  
  .why-close em {
    font-style: italic;
    font-weight: 500;
  }
  
  .why-keep {
    white-space: normal;
  }

  @media (min-width: 621px) {
    .why-keep {
      white-space: nowrap;
    }
  }

  @media (min-width: 901px) {
    .why-aside {
      transform: rotate(-2.5deg);
    }

    .why-aside .eyebrow {
      margin-bottom: 20px;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--ink);
      white-space: normal;
    }

    .why-quote br {
      display: inline;
    }

    .why-quote p {
      white-space: normal;
      font-family: var(--font-display);
      font-size: clamp(1.85rem, 3.8vw, 2.5rem);
      font-style: italic;
      font-weight: 400;
      line-height: 1.25;
      color: var(--accent-dim);
      text-align: left;
    }
  }
  
  /* ===== Hero product mock (legacy) ===== */
  .mock {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 26px 26px 30px;
    box-shadow: var(--shadow);
  }
  
  .mock-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 9px 14px;
    margin-bottom: 26px;
    box-shadow: var(--shadow-soft);
  }
  
  .mock-search .g {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--accent);
  }
  
  .mock-search-text {
    color: var(--ink-soft);
    font-size: 0.92rem;
    flex: 1;
  }
  
  .mock-pill {
    font-size: 0.74rem;
    color: #3b6fb5;
    background: #eaf1fb;
    border-radius: 999px;
    padding: 4px 10px;
  }
  
  .mock-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 22px;
  }
  
  .mock-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 36px;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    color: #5c4a38;
    padding: 0;
    border-radius: 999px;
  }
  
  .mock-tab.is-active {
    padding: 0 20px;
    background: var(--accent);
    color: #fffdf8;
    font-weight: 600;
  }
  
  .ring {
    position: relative;
    width: 210px;
    height: 210px;
    margin: 0 auto 8px;
  }
  
  .ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
  }
  
  .ring-track {
    fill: none;
    stroke: var(--accent-soft);
    stroke-width: 3;
  }
  
  .ring-prog {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 616;
    stroke-dashoffset: 92; /* ~85% remaining */
  }
  
  .ring-knob {
    fill: var(--accent);
  }
  
  .ring-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .ring-time {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1;
  }
  
  .ring-label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.66rem;
    color: var(--ink-soft);
    margin-top: 8px;
  }
  
  .mock-controls {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 6px;
  }
  
  .ctl {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
  }
  
  .ctl-primary {
    background: var(--accent);
    color: #fff;
  }
  
  .ctl-secondary {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--ink-soft);
  }
  
  .plant {
    position: absolute;
    right: 30px;
    bottom: 64px;
    width: 58px;
    height: auto;
  }
  
  .plant .leaf {
    fill: var(--leaf);
    stroke: var(--leaf-mid);
    stroke-width: 1.5;
  }
  
  .plant .stem {
    stroke: var(--stem);
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
  }
  
  .plant .pot {
    fill: var(--pot);
  }
  
  .plant .pot-rim {
    fill: var(--pot-rim);
  }
  
  .mock-quote {
    text-align: center;
    font-style: italic;
    color: var(--ink-soft);
    font-size: 0.92rem;
    margin: 14px 0 0;
  }
  
  /* ===== Sections ===== */
  .section,
  .footer {
    padding-block: var(--section-y);
    scroll-margin-top: var(--nav-h);
  }

  .section-head {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
  }
  
  .section-head h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    margin-bottom: 14px;
  }
  
  #features .section-head {
    max-width: none;
    margin-bottom: 28px;
  }
  
  #features .section-head h2 {
    white-space: normal;
  }

  @media (min-width: 621px) {
    #features .section-head h2 {
      white-space: nowrap;
    }

    #features .section-head h2 br {
      display: none;
    }
  }
  
  .section-head p {
    color: var(--ink-soft);
    font-size: 1.1rem;
    margin: 0;
  }
  
  /* ===== Feature cards ===== */
  .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    min-width: 0;
  }
  
  .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 28px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.2s ease;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    row-gap: 10px;
    align-items: center;
    min-width: 0;
    overflow-wrap: break-word;
  }
  
  .card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }
  
  .card h3 {
    font-size: 1.3rem;
    margin: 0;
  }
  
  .card p {
    color: var(--ink-soft);
    margin: 0;
    grid-column: 1 / -1;
  }
  
  .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin: 0;
    background: var(--accent-soft);
    position: relative;
    flex-shrink: 0;
  }
  
  .card-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--accent-dim);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 24px 24px;
    mask-size: 24px 24px;
  }
  
  /* Inline SVG masks so icons need no extra files */
  .icon-timer::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='13' r='8'/%3E%3Cpath d='M12 13V9M9 2h6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='13' r='8'/%3E%3Cpath d='M12 13V9M9 2h6'/%3E%3C/svg%3E");
  }
  
  .icon-goals::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E");
  }
  
  .icon-habits::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 1l4 4-4 4'/%3E%3Cpath d='M3 11V9a4 4 0 0 1 4-4h14'/%3E%3Cpath d='M7 23l-4-4 4-4'/%3E%3Cpath d='M21 13v2a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 1l4 4-4 4'/%3E%3Cpath d='M3 11V9a4 4 0 0 1 4-4h14'/%3E%3Cpath d='M7 23l-4-4 4-4'/%3E%3Cpath d='M21 13v2a4 4 0 0 1-4 4H3'/%3E%3C/svg%3E");
  }
  
  .icon-insights::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 14l4-4 3 3 5-6'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3v18h18'/%3E%3Cpath d='M7 14l4-4 3 3 5-6'/%3E%3C/svg%3E");
  }
  
  .icon-music::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E");
  }
  
  .icon-lifestyle::after {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21C7 17 4 13 4 9a4 4 0 0 1 8-1 4 4 0 0 1 8 1c0 4-3 8-8 12Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21C7 17 4 13 4 9a4 4 0 0 1 8-1 4 4 0 0 1 8 1c0 4-3 8-8 12Z'/%3E%3C/svg%3E");
  }
  
  /* ===== Calm band ===== */
  .band {
    background: rgba(253, 250, 244, 0.95);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  
  .band-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--grid-gap);
    align-items: center;
  }
  
  .band-copy h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    margin-bottom: 16px;
  }
  
  .band-copy p {
    color: var(--ink-soft);
    font-size: 1.1rem;
    margin: 0 0 22px;
  }
  
  .checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
  }
  
  .checklist li {
    position: relative;
    padding-left: 30px;
    color: var(--ink);
  }
  
  .checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-11'/%3E%3C/svg%3E") center / 14px no-repeat,
      linear-gradient(#000, #000);
    -webkit-mask-composite: destination-out;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-11'/%3E%3C/svg%3E") center / 14px no-repeat;
  }
  
  .band-swatches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .swatch {
    aspect-ratio: 3 / 4;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    font-family: var(--font-display);
    box-shadow: var(--shadow-soft);
  }
  
  .swatch span {
    font-size: 1rem;
  }
  
  .swatch-cozy {
    background: linear-gradient(160deg, #fbf5ea, #f0d9c8 70%, #d4754a);
    color: var(--ink);
  }
  
  .swatch-berry {
    background: linear-gradient(160deg, #f9f7f9, #e0d4e0 60%, #a878ab);
    color: #43243f;
  }
  
  .swatch-dark {
    background: linear-gradient(160deg, #2a1f2a, #1a121a);
    color: #e9d9e6;
  }
  
  /* ===== Steps ===== */
  .steps {
    list-style: none;
    counter-reset: step;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  
  .steps li {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    row-gap: 8px;
    align-items: center;
  }
  
  .step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 0;
    flex-shrink: 0;
  }
  
  .steps h3 {
    font-size: 1.15rem;
    margin: 0;
  }
  
  .steps p {
    color: var(--ink-soft);
    margin: 0;
    grid-column: 1 / -1;
    font-size: 0.95rem;
  }
  
  /* ===== Final CTA ===== */
  .cta {
    text-align: center;
  }
  
  .cta-inner {
    background: linear-gradient(160deg, var(--surface), var(--bg-warm));
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 64px 32px;
    box-shadow: var(--shadow);
    max-width: 760px;
    margin: 0 auto;
  }
  
  .cta-mark {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    margin: 0 auto 22px;
  }
  
  .cta h2 {
    font-size: clamp(2rem, 4vw, 2.9rem);
    margin-bottom: 12px;
  }
  
  .cta p {
    color: var(--ink-soft);
    font-size: 1.12rem;
    max-width: 44ch;
    margin: 0 auto 28px;
  }
  
  /* ===== Footer ===== */
  .footer {
    border-top: 1px solid var(--border);
    background: var(--bg);
  }
  
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }
  
  .footer .brand {
    height: 30px;
  }
  
  .footer .brand-mark {
    width: 30px;
    height: 30px;
  }
  
  .footer .brand-name {
    height: 30px;
    font-size: 30px;
    transform: translateY(2px);
  }
  
  @supports not (text-box-trim: trim-both) {
    .footer .brand-name {
      font-size: 40px;
      line-height: 30px;
      transform: translateY(2px);
    }
  }
  
  .footer-tag {
    color: var(--ink-soft);
    margin: 4px 0 0;
    text-wrap: balance;
  }
  
  .footer-social {
    display: flex;
    gap: 14px;
    margin: 10px 0 2px;
  }
  
  .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--ink-soft);
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  }
  
  .footer-social a:hover {
    color: var(--accent);
    border-color: var(--accent-soft);
    transform: translateY(-1px);
  }
  
  .footer-social svg {
    width: 18px;
    height: 18px;
  }
  
  .footer-meta {
    color: var(--ink-soft);
    font-size: 0.85rem;
    margin: 0;
  }
  
  /* ===== Responsive ===== */

  /* Below full desktop — keep section breathing room when the window is resized */
  @media (max-width: 1200px) {
    :root {
      --section-y: clamp(68px, 9.5vh, 92px);
      --grid-gap: clamp(32px, 5vw, 56px);
      --grid-gap-sm: clamp(36px, 5vw, 52px);
    }
  }

  /* Large tablets / small laptops */
  @media (max-width: 1100px) {
    .cards {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  /* Tablet — single-column layouts */
  @media (max-width: 900px) {
    :root {
      --section-y: clamp(40px, 6vh, 52px);
    }

    .hero-grid,
    .band-grid,
    .why-grid {
      grid-template-columns: 1fr;
      gap: var(--grid-gap-sm);
    }

    .hero-grid {
      gap: clamp(14px, 3.5vw, 22px);
    }

    .hero-visual {
      order: -1;
      flex-direction: column;
      gap: 20px;
      width: 100%;
    }

    .hero-mobile-intro {
      display: block;
      text-align: center;
      width: 100%;
      min-width: 0;
    }

    .hero-mobile-intro .eyebrow {
      font-size: clamp(0.58rem, 2.35vw, 0.68rem);
      letter-spacing: 0.06em;
      line-height: 1.45;
      margin-bottom: 12px;
    }

    .hero-mobile-intro h1 {
      white-space: normal;
      font-size: clamp(1.85rem, 8.2vw, 2.6rem);
    }

    .hero-copy .eyebrow,
    .hero-copy h1 {
      display: none;
    }

    .hero-copy {
      text-align: center;
      width: 100%;
    }

    .hero-copy .lede {
      max-width: none;
      margin-left: auto;
      margin-right: auto;
      margin-top: 8px;
    }

    .hero-actions {
      justify-content: center;
    }

    .hero-shot {
      max-width: min(78vw, 380px);
    }

    .why-aside {
      transform: none;
      min-width: 0;
    }

    .why-quote br {
      display: none;
    }

    .why-quote p {
      white-space: normal;
      font-size: clamp(1.45rem, 6.2vw, 2.1rem);
      overflow-wrap: break-word;
    }

    .why-prose p,
    .why-close {
      overflow-wrap: break-word;
    }

    #features .section-head h2 {
      white-space: normal;
    }

    #features .section-head p {
      white-space: normal;
      font-size: clamp(0.88rem, 3.6vw, 1.1rem);
      max-width: 100%;
    }

    .steps {
      grid-template-columns: 1fr 1fr;
    }

    .band-swatches {
      width: 100%;
      max-width: none;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-inline: 0;
      justify-self: start;
    }

    .swatch {
      aspect-ratio: 3 / 4;
      min-height: clamp(110px, 32vw, 160px);
      padding: 12px;
      border-radius: var(--radius-sm);
    }

    .swatch span {
      font-size: 0.85rem;
    }
  }

  /* Short viewports — wide screens (e.g. squashed laptop window) */
  @media (max-height: 720px) and (min-width: 901px) {
    :root {
      --section-y: clamp(52px, 7vh, 72px);
      --grid-gap: clamp(24px, 4vh, 44px);
    }

    .hero-grid,
    .why-grid,
    .band-grid {
      align-items: start;
    }

    .hero-shot {
      max-width: min(100%, 380px);
    }
  }

  @media (max-height: 560px) {
    :root {
      --section-y: clamp(44px, 6vh, 60px);
    }

    .card {
      padding: 22px 20px;
    }

    .steps li {
      padding: 18px 16px;
    }
  }

  /* Mobile landscape — limited height */
  @media (max-height: 480px) and (max-width: 900px) {
    .hero-visual {
      order: 0;
    }

    .hero-grid {
      grid-template-columns: 1fr 1fr;
      align-items: center;
      gap: 20px;
    }

    .hero-copy h1 {
      font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .lede {
      font-size: 0.95rem;
      margin: 10px 0 14px;
    }

    .hero-actions {
      flex-direction: column;
      align-items: stretch;
      gap: 8px;
    }

    .hero-actions .btn {
      width: 100%;
      padding: 10px 16px;
      font-size: 0.9rem;
    }

    .hero-shot {
      max-width: min(40vw, 31vh, 200px);
    }
  }

  /* Mobile portrait */
  @media (max-width: 620px) {
    :root {
      --section-y: clamp(32px, 5vh, 44px);
    }

    .nav-links {
      display: none;
    }

    .nav-cta {
      margin-left: auto;
    }

    .steps {
      grid-template-columns: 1fr;
    }

    .cards {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }

    .card {
      padding: 14px 12px;
      border-radius: var(--radius-sm);
      column-gap: 8px;
      row-gap: 6px;
    }

    .card h3 {
      font-size: 0.88rem;
      line-height: 1.25;
    }

    .card p {
      font-size: 0.75rem;
      line-height: 1.45;
    }

    .card-icon {
      width: 34px;
      height: 34px;
      border-radius: 10px;
    }

    .card-icon::after {
      -webkit-mask-size: 18px 18px;
      mask-size: 18px 18px;
    }

    #features .section-head h2 {
      white-space: normal;
    }

    .band-swatches {
      gap: 10px;
    }

    .swatch {
      min-height: clamp(120px, 36vw, 170px);
      padding: 14px;
    }

    .swatch span {
      font-size: 0.9rem;
    }

    .hero-copy .eyebrow {
      font-size: 0.68rem;
      letter-spacing: 0.12em;
    }

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

    .hero-copy .lede {
      font-size: 1.02rem;
      max-width: none;
    }

    .hero-shot {
      max-width: min(88vw, 360px);
    }

    .hero-actions {
      flex-direction: column;
      align-items: stretch;
      width: 100%;
    }

    .hero-actions .btn {
      width: 100%;
      white-space: normal;
      text-align: center;
    }

    .why-prose p,
    .why-close {
      font-size: 1.02rem;
    }

    .section-head p,
    .band-copy p {
      font-size: 1rem;
    }

    .cta-inner {
      padding: 32px 20px;
    }
  }

  /* Small phones */
  @media (max-width: 480px) {
    :root {
      --page-gutter: 16px;
      --section-y: clamp(28px, 4.5vh, 38px);
    }

    .nav-inner {
      gap: 10px;
    }

    .nav-cta {
      padding: 6px 12px;
      font-size: 0.82rem;
    }

    .nav-cta .btn-plus {
      display: none;
    }

    .brand-name {
      font-size: 28px;
      height: 28px;
    }

    @supports not (text-box-trim: trim-both) {
      .brand-name {
        font-size: 38px;
        line-height: 28px;
      }
    }

    .brand-mark {
      width: 28px;
      height: 28px;
    }

    .brand {
      height: 28px;
    }

    .footer-tag {
      font-size: 0.92rem;
      line-height: 1.5;
      max-width: 100%;
    }

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

    .lede {
      font-size: 1.02rem;
      max-width: none;
    }

    .card h3 {
      font-size: 0.82rem;
    }

    .card p {
      font-size: 0.72rem;
    }

    .card {
      padding: 12px 10px;
    }

    .plan {
      padding: 26px 22px;
    }
  }

  /* Very narrow */
  @media (max-width: 360px) {
    .nav-cta {
      font-size: 0.78rem;
      padding: 6px 10px;
    }

    .eyebrow {
      font-size: 0.68rem;
      letter-spacing: 0.12em;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
  
    * {
      transition: none !important;
    }
  }
  
  /* ===== Pricing ===== */
  .plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 820px;
    margin: 0 auto;
    align-items: start;
  }
  
  .plan {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 30px;
    box-shadow: var(--shadow-soft);
  }
  
  .plan-featured {
    position: relative;
    border-color: var(--accent);
    box-shadow: var(--shadow);
  }
  
  .plan-flag {
    position: absolute;
    top: -13px;
    left: 30px;
    background: var(--accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 999px;
  }
  
  .plan-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 6px;
  }
  
  .plan-price {
    margin: 0 0 4px;
  }
  
  .plan-amount {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--ink);
  }
  
  .plan-per {
    color: var(--ink-soft);
    font-size: 1rem;
  }
  
  .plan-tagline {
    color: var(--ink-soft);
    margin: 0 0 22px;
  }
  
  .plan-list {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: grid;
    gap: 12px;
  }
  
  .plan-list li {
    position: relative;
    padding-left: 28px;
    color: var(--ink);
  }
  
  .plan-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-11'/%3E%3C/svg%3E") center / 13px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-11'/%3E%3C/svg%3E") center / 13px no-repeat;
  }
  
  .plan-cta {
    width: 100%;
  }
  
  .pricing {
    background: rgba(253, 250, 244, 0.95);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  
  .pricing-note {
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.85rem;
    margin: 26px 0 0;
  }
  
  @media (max-width: 720px) {
    .plans {
      grid-template-columns: 1fr;
    }
  }

  /* ===== Legal pages (privacy, terms) ===== */
  .legal-page {
    padding: calc(var(--nav-h) + 32px) 0 var(--section-y);
  }

  .legal-inner {
    max-width: 720px;
  }

  .legal-inner h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    margin: 8px 0 12px;
  }

  .legal-meta {
    color: var(--ink-soft);
    font-size: 0.92rem;
    margin: 0 0 28px;
  }

  .legal-inner h2 {
    font-size: 1.45rem;
    margin: 36px 0 12px;
  }

  .legal-inner h3 {
    font-size: 1.12rem;
    margin: 24px 0 8px;
  }

  .legal-inner p,
  .legal-inner li {
    color: var(--ink-soft);
    font-size: 1rem;
  }

  .legal-inner ul {
    padding-left: 1.25rem;
    margin: 0 0 16px;
  }

  .legal-inner li + li {
    margin-top: 6px;
  }

  .legal-inner a {
    color: var(--accent-dim);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .legal-inner code {
    font-size: 0.9em;
    background: var(--bg-warm);
    padding: 2px 6px;
    border-radius: 4px;
  }

  .footer-links {
    display: flex;
    gap: 16px;
    margin-top: 4px;
  }

  .footer-links a,
  .footer-meta a {
    color: var(--ink-soft);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .footer-links a:hover,
  .footer-meta a:hover {
    color: var(--accent-dim);
  }
  