/* =========================================================
   Baked by Abbie — site stylesheet
   Built on the Baked by Abbie design system:
   five brand colours, Josefin Sans (500 / 600), circles as the
   signature shape, rounded rectangles from the radius scale,
   no gradients, no decorative shadows.
========================================================= */

:root{
    /* Brand palette (design system) */
    --cream:#FBF5EA;      /* light ground, text on chocolate */
    --caramel:#D0A064;    /* fills and blocks; text on chocolate only */
    --chocolate:#44291A;  /* text, dark ground */
    --toffee:#8C5420;     /* accent text on cream or cream-deep */
    --cocoa:#5E3515;      /* reserved for the monogram's raised "b" */

    /* Tints derived from the palette (mixed into cream) */
    --cream-deep:#F5E9D7;     /* caramel 14% on cream: panels, cards */
    --caramel-soft:#EBD5B7;   /* caramel 38% on cream: soft colour blocks */

    /* Lemon tints: the one deliberate step outside the five brand colours,
       used for lemon-flavoured items. Chocolate text reaches 8.8:1 / 9.3:1. */
    --lemon:#E8D08F;          /* lemon cards */
    --lemon-soft:#EBD79B;     /* paler lemon, for quieter accents */

    /* Roles */
    --ink:var(--chocolate);
    --ink-soft:#695244;       /* chocolate 80% on cream: 6.7:1 on cream */
    --accent:var(--toffee);
    --line:rgba(68,41,26,0.14);

    /* Radius scale */
    --radius-sm:10px;
    --radius-md:16px;
    --radius:20px;
    --radius-lg:28px;
    --radius-pill:100px;

    --font:'Josefin Sans', system-ui, sans-serif;
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--cream);
    color:var(--ink);
    font-family:var(--font);
    font-weight:500;
    font-size:17px;          /* Josefin is light and wide-set: body 17px minimum */
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  img{max-width:100%;height:auto;display:block;}

  h1,h2,h3{
    font-family:var(--font);
    font-weight:600;
    line-height:1.12;
    margin:0;
    color:var(--ink);
  }
  em{ font-style:normal; }   /* only upright weights are loaded; emphasis is colour */
  h1 em, h2 em{ color:var(--accent); font-weight:600; }

  .eyebrow{
    font-family:var(--font);
    font-size:13px;
    font-weight:600;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:var(--accent);
    margin:0 0 12px;
  }

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

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

  /* ---------- NAV ---------- */
  header.site{
    padding:22px 0 18px;
    position:relative;
    z-index:20;
  }
  .nav-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
  }
  .logo{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
  }
  /* Horizontal lockup: monogram circle stays >= 32px (system minimum) */
  .logo img,
  .footer-logo{
    height:40px;
    width:auto;
    display:block;
  }
  .footer-logo{ align-self:flex-start; }

  nav.links{
    display:flex;
    gap:28px;
    font-size:15px;
    font-weight:600;
    letter-spacing:.02em;
  }
  nav.links a{
    text-decoration:none;
    color:var(--ink-soft);
    padding-bottom:3px;
    border-bottom:2px solid transparent;
    transition:border-color .15s ease, color .15s ease;
  }
  nav.links a:hover{ color:var(--ink); border-color:var(--accent); }
  nav.links a[aria-current="page"]{ color:var(--ink); border-color:var(--accent); }
  nav.links a.nav-cta{
    background:var(--chocolate);
    color:var(--cream);
    padding:8px 20px;
    border-bottom:none;
    border-radius:var(--radius-pill);
  }
  nav.links a.nav-cta:hover{ background:var(--toffee); color:var(--cream); }
  nav.links a.nav-cta[aria-current="page"]{ background:var(--toffee); color:var(--cream); }

  /* ---------- SCALLOP DIVIDER (retired) ----------
     The brand's only signature shape is the circle, so the old
     piped-edge divider is hidden. Remove the <svg class="scallop">
     elements from the HTML when convenient. */
  .scallop{ display:none; }

  /* ---------- HERO ---------- */
  .hero{
    padding:28px 0 64px;
  }
  .hero-grid{
    display:grid;
    grid-template-columns:1.05fr 1fr;
    gap:56px;
    align-items:center;
  }
  .hero h1{
    font-size:clamp(38px, 5.6vw, 62px);
    letter-spacing:-0.005em;
  }
  .hero p.lede{
    font-size:19px;
    color:var(--ink-soft);
    max-width:44ch;
    margin:20px 0 28px;
  }
  .cta-row{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
  }
  .btn{
    display:inline-block;
    font-family:var(--font);
    font-weight:600;
    font-size:16px;
    letter-spacing:.04em;
    text-decoration:none;
    padding:14px 28px;
    border-radius:var(--radius-pill);
    transition:transform .15s ease, background .15s ease, color .15s ease;
  }
  .btn-primary{
    background:var(--chocolate);
    color:var(--cream);
  }
  .btn-primary:hover{ transform:translateY(-2px); background:var(--toffee); }
  .btn-ghost{
    background:transparent;
    color:var(--ink);
    border:1.5px solid var(--ink);
  }
  .btn-ghost:hover{ transform:translateY(-2px); background:var(--cream-deep); }

  .hero-photo{
    position:relative;
    border-radius:var(--radius);
    overflow:hidden;
    background:var(--caramel-soft);
    aspect-ratio:1/1;
  }
  .hero-photo img{
    width:100%;height:100%;object-fit:cover;object-position:48% center;
  }
  .hero-photo .tag{
    position:absolute;
    left:16px;
    bottom:16px;
    background:var(--cream);
    padding:8px 16px;
    border-radius:var(--radius-pill);
    font-size:13px;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--ink);
  }

  /* ---------- MENU ---------- */
  section.menu{ padding:48px 0 60px; }
  .menu-head{ margin-bottom:34px; }
  .menu-head h2{ font-size:clamp(28px,3.8vw,38px); }
  .menu-head p{ color:var(--ink-soft); margin-top:12px; max-width:50ch; }
  .menu-head p.eyebrow{ color:var(--accent); margin:0 0 12px; max-width:none; }
  .menu-head p a{ color:var(--accent); font-weight:600; }
  .price-card{ max-width:520px; margin-bottom:8px; }
  .small-print{ font-size:14px; color:var(--ink-soft); margin:22px 0 0; max-width:62ch; }
  section.allergens{ padding:0 0 40px; }
  .note-panel{
    background:var(--cream-deep);
    border:1px solid var(--line);
    border-radius:var(--radius-md);
    padding:26px 28px;
  }
  .note-panel h3{ font-size:21px; margin-bottom:8px; }
  .note-panel p{ margin:0; color:var(--ink-soft); font-size:15.5px; max-width:70ch; }

  .menu-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
  }
  .menu-card{
    background:var(--cream-deep);
    border-radius:var(--radius);
    padding:30px 28px;
    border:1px solid var(--line);
  }
  .menu-card .card-eyebrow{
    display:inline-block;
    font-size:13px;
    font-weight:600;
    letter-spacing:.1em;
    text-transform:uppercase;
    padding:5px 14px;
    border-radius:var(--radius-pill);
    margin-bottom:16px;
  }
  .menu-card.cakes .card-eyebrow{ background:var(--caramel); color:var(--chocolate); }
  .menu-card.cupcakes .card-eyebrow{ background:var(--chocolate); color:var(--cream); }
  .menu-card h3{ font-size:24px; margin-bottom:4px;}
  .menu-card .sub{ color:var(--ink-soft); font-size:15px; margin-bottom:22px;}

  .price-line{
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    gap:12px;
    padding:14px 0;
    border-top:1px solid var(--line);
  }
  .price-line:first-of-type{ border-top:none; }
  .price-line .name{ font-weight:600; font-size:17px; }
  .price-line .name span{
    display:block; font-weight:500; color:var(--ink-soft); font-size:14px; margin-top:2px;
  }
  .price-line .amount{
    font-family:var(--font); font-weight:600; font-size:20px; white-space:nowrap;
  }

  .note{
    margin-top:22px;
    padding-top:18px;
    border-top:1px dashed var(--line);
    font-size:14px;
    color:var(--ink-soft);
  }

  /* ---------- FLAVOURS ---------- */
  section.flavours{ padding:44px 0 60px; }
  .flavour-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:30px;
  }
  .flavour-card{
    border-radius:var(--radius-md);
    padding:26px 22px;
    min-height:200px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    border:1px solid transparent;
  }
  .flavour-card.f1{ background:var(--chocolate); }
  .flavour-card.f2{ background:var(--cream-deep); border:1px solid var(--line); }
  .flavour-card.f3{ background:var(--lemon); }
  .flavour-card.f4{ background:var(--caramel); }
  .flavour-card.f5{ background:var(--caramel-soft); }
  .flavour-card.f1 .flavour-name,
  .flavour-card.f1 .flavour-desc{ color:var(--cream); }
  .flavour-card.f4 .flavour-name,
  .flavour-card.f4 .flavour-desc{ color:var(--chocolate); }
  .flavour-name{
    font-size:25px;
    line-height:1.15;
    margin:0;
  }
  .flavour-desc{
    font-family:var(--font);
    font-weight:500;
    font-size:16px;
    line-height:1.45;
    color:var(--chocolate);
    margin:26px 0 0;
  }

  /* ---------- INNER PAGE HEADERS ---------- */
  .page-hero{ padding:28px 0 36px; }
  .page-hero h1{ font-size:clamp(34px,5vw,52px); }
  .page-hero p.lede{ font-size:18px; color:var(--ink-soft); max-width:52ch; margin:16px 0 0; }

  /* ---------- GALLERY (full page: masonry, any number of photos) ---------- */
  .masonry{
    column-count:3;
    column-gap:14px;
    padding:8px 0 64px;
  }
  .masonry figure{
    margin:0 0 14px;
    break-inside:avoid;
  }
  .masonry img{
    width:100%;
    height:auto;
    display:block;
    border-radius:var(--radius-sm);
    background:var(--cream-deep);
  }

  /* ---------- HOME: highlights, gallery teaser, about teaser ---------- */
  section.highlights{ padding:48px 0 56px; }
  .highlight-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-top:30px;
  }
  /* "What I bake" cards share the Menu page card language:
     same radius and padding as .flavour-card, tinted grounds,
     a pill label like .card-eyebrow, and the same name/description scale. */
  a.highlight{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    min-height:220px;
    padding:26px 22px;
    border-radius:var(--radius-md);
    text-decoration:none;
    transition:transform .15s ease;
  }
  a.highlight:hover{ transform:translateY(-3px); }
  a.highlight.hl-cakes{ background:var(--caramel-soft); border:1px solid transparent; }
  a.highlight.hl-cupcakes{ background:var(--cream-deep); border:1px solid var(--line); }
  .highlight .hl-tag{
    align-self:flex-start;
    font-size:13px;
    font-weight:600;
    letter-spacing:.1em;
    text-transform:uppercase;
    padding:5px 14px;
    border-radius:var(--radius-pill);
  }
  a.highlight.hl-cakes .hl-tag{ background:var(--caramel); color:var(--chocolate); }
  a.highlight.hl-cupcakes .hl-tag{ background:var(--chocolate); color:var(--cream); }
  .highlight > div{ flex:1; display:flex; flex-direction:column; }
  .highlight h3{ font-size:25px; line-height:1.15; margin:26px 0 8px; }
  .highlight p{ margin:0; font-size:16px; line-height:1.45; color:var(--chocolate); }
  .highlight .hl-link{ margin-top:auto; padding-top:18px; font-weight:600; font-size:16px; }

  section.teaser{ padding:20px 0 56px; }
  .teaser-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
    margin-top:30px;
  }
  .teaser-grid a{
    display:block;
    aspect-ratio:4/5;
    border-radius:var(--radius-sm);
    overflow:hidden;
    background:var(--cream-deep);
  }
  .teaser-grid img{
    width:100%; height:100%; object-fit:cover;
    transition:transform .3s ease;
  }
  .teaser-grid a:hover img{ transform:scale(1.04); }
  .section-link{
    display:inline-block;
    margin-top:24px;
    font-weight:600;
    font-size:16px;
    letter-spacing:.02em;
    color:var(--accent);
    text-decoration:none;
    border-bottom:2px solid currentColor;
    padding-bottom:2px;
  }
  .section-link:hover{ color:var(--ink); }

  section.about-teaser{ padding:20px 0 64px; }
  .about-teaser-grid{
    display:grid;
    grid-template-columns:1fr 1.1fr;
    gap:44px;
    align-items:center;
    background:var(--caramel);
    border-radius:var(--radius-lg);
    padding:44px;
  }
  .about-teaser-grid img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:var(--radius-md);
  }
  .about-teaser-grid h2{ font-size:clamp(26px,3.4vw,34px); margin-bottom:14px; }
  .about-teaser-grid p{ color:var(--chocolate); max-width:46ch; margin:0 0 14px; }
  /* toffee text does not reach 4.5:1 on caramel, so go chocolate here */
  .about-teaser-grid .eyebrow,
  .about-teaser-grid .section-link{ color:var(--chocolate); }
  .about-teaser-grid .section-link:hover{ color:var(--cocoa); }

  /* ---------- ABOUT PAGE ---------- */
  .about-grid{
    display:grid;
    grid-template-columns:1.15fr 1fr;
    gap:56px;
    align-items:start;
    /* top/bottom only: this element is also a .wrap, so keep its side gutters */
    padding-top:12px;
    padding-bottom:64px;
  }
  .about-copy p{
    font-size:18px;
    color:var(--ink-soft);
    max-width:56ch;
    margin:0 0 20px;
  }
  .about-copy p.pull{
    font-family:var(--font);
    font-weight:600;
    font-size:clamp(24px,3vw,32px);
    line-height:1.25;
    color:var(--ink);
    margin-bottom:22px;
  }
  .about-photos{ display:grid; gap:14px; }
  .about-photos img{ width:100%; height:auto; border-radius:var(--radius-md); }

  /* ---------- CTA / FOOTER ---------- */
  section.cta-block{ padding:16px 0 70px; }
  .cta-panel{
    background:var(--chocolate);
    color:var(--cream);
    border-radius:var(--radius-lg);
    padding:56px 44px;
    text-align:center;
  }
  .cta-panel h2{
    color:var(--cream);
    font-size:clamp(28px,4.2vw,40px);
    max-width:18ch;
    margin:0 auto 16px;
  }
  .cta-panel p{
    color:rgba(251,245,234,.82);
    max-width:44ch;
    margin:0 auto 28px;
    font-size:17px;
  }
  .cta-panel .btn-primary{
    background:var(--caramel);
    color:var(--chocolate);
  }
  .cta-panel .btn-primary:hover{ background:var(--cream); }
  .cta-panel .btn-ghost{
    border-color:rgba(251,245,234,.5);
    color:var(--cream);
  }
  .cta-panel .btn-ghost:hover{ background:rgba(251,245,234,.1); }

  footer.site{
    padding:36px 0 46px;
    border-top:1px solid var(--line);
  }
  .footer-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:14px;
  }
  footer.site p{
    color:var(--ink-soft);
    font-size:14px;
    margin:0;
  }
  .footer-links{
    display:flex;
    flex-wrap:wrap;
    gap:8px 22px;
    font-size:15px;
    font-weight:600;
  }
  .footer-links a{ color:var(--ink-soft); text-decoration:none; }
  .footer-links a:hover{ color:var(--ink); text-decoration:underline; }
  .footer-brand{ display:flex; flex-direction:column; gap:6px; }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width:880px){
    .logo img{ height:36px; }
    .hero-grid{grid-template-columns:1fr; gap:34px;}
    .hero-photo{order:-1; aspect-ratio:16/11;}
    .menu-grid{grid-template-columns:1fr;}
    .flavour-grid{grid-template-columns:1fr; }
    .masonry{column-count:2;}
    .highlight-grid{grid-template-columns:1fr;}
    a.highlight{min-height:0;}
    .teaser-grid{grid-template-columns:repeat(2,1fr);}
    .about-teaser-grid{grid-template-columns:1fr; padding:28px; border-radius:var(--radius);}
    .about-teaser-grid img{order:-1; aspect-ratio:16/11;}
    .about-grid{grid-template-columns:1fr; gap:34px;}
    .about-photos{order:-1;}
    nav.links{gap:16px; font-size:14px; align-items:center;}
    .cta-panel{padding:40px 22px;}
  }

  @media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto;}
    *{transition:none !important;}
  }

  /* =========================================================
     ORDER FORM — guided steps
  ========================================================= */

  .order-hero{ padding:28px 0 8px; }
  .order-hero h1{ font-size:clamp(32px,4.6vw,46px); }
  .order-hero p.lede{ font-size:18px; color:var(--ink-soft); max-width:52ch; margin:16px 0 0; }

  .wizard{ padding:36px 0 90px; }
  .wizard-panel{
    background:var(--cream-deep);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:36px 30px 30px;
    max-width:720px;
    margin:0 auto;
  }

  .progress{
    display:flex; align-items:center; justify-content:center; gap:10px;
    margin-bottom:30px;
  }
  .progress .dotstep{
    width:10px;height:10px;border-radius:50%;
    background:var(--line);
    transition:background .2s ease, transform .2s ease;
  }
  .progress .dotstep.active{ background:var(--toffee); transform:scale(1.25); }
  .progress .dotstep.done{ background:var(--caramel); }

  .step{ display:none; }
  .step.visible{ display:block; animation:fadein .25s ease; }
  @keyframes fadein{ from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:translateY(0);} }

  .step-eyebrow{
    font-size:13px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
    color:var(--accent); margin:0 0 6px;
  }
  .step h2{ font-size:25px; margin-bottom:6px; }
  .step .step-sub{ color:var(--ink-soft); font-size:16px; margin:0 0 26px; }

  fieldset{ border:none; margin:0; padding:0; }
  legend{ padding:0; }

  .field{ margin-bottom:22px; }
  .field label.field-label{ display:block; font-weight:600; font-size:15px; margin-bottom:9px; }
  .field .hint{ color:var(--ink-soft); font-size:13.5px; margin-top:7px; }

  .field input[type="text"],
  .field input[type="email"],
  .field input[type="tel"],
  .field input[type="date"],
  .field input[type="number"],
  .field textarea{
    width:100%;
    font-family:var(--font);
    font-weight:500;
    font-size:17px;
    padding:12px 14px;
    border-radius:var(--radius-sm);
    border:1.5px solid var(--line);
    background:var(--cream);
    color:var(--ink);
  }
  .field input:focus,
  .field textarea:focus{ outline:none; border-color:var(--toffee); }
  .field textarea{ min-height:90px; resize:vertical; font-family:var(--font); }

  .tile-group{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
  .email-cta{ font-size:15px; color:var(--ink-soft); margin:18px 0 8px; }
  .email-cta a{ color:var(--accent); font-weight:600; }
  .tile{ position:relative; cursor:pointer; display:block; }
  .tile input{ position:absolute; opacity:0; width:1px; height:1px; }
  .tile .tile-card{
    display:block;
    width:100%;
    border:1.5px solid var(--line);
    border-radius:var(--radius-md);
    padding:20px 14px;
    text-align:center;
    background:transparent;
    transition:border-color .15s ease, background .15s ease, transform .15s ease;
  }
  .tile:hover .tile-card{ border-color:var(--caramel); }
  /* circle marks: solid brand fills, no gradients */
  .tile .tile-card .mark{ width:30px; height:30px; margin:0 auto 10px; border-radius:50%; }
  .tile .m1{ background:var(--caramel); }
  .tile .m2{ background:var(--chocolate); }
  .tile .m3{ background:var(--toffee); }
  .tile .tile-card .tile-label{ font-weight:600; font-size:16px; }
  .tile input:checked + .tile-card{
    border-color:var(--toffee); background:var(--cream); transform:translateY(-2px);
  }
  .tile input:focus-visible + .tile-card{ outline:2px solid var(--toffee); outline-offset:2px; }

  .pill-group{ display:flex; flex-wrap:wrap; gap:10px; }
  .pill{ position:relative; cursor:pointer; }
  .pill input{ position:absolute; opacity:0; width:1px; height:1px; }
  .pill .pill-face{
    display:inline-block; padding:10px 18px; border-radius:var(--radius-pill);
    border:1.5px solid var(--line); background:var(--cream);
    font-size:15px; font-weight:600;
    transition:border-color .15s ease, background .15s ease, color .15s ease;
  }
  .pill:hover .pill-face{ border-color:var(--caramel); }
  .pill input:checked + .pill-face{ border-color:var(--toffee); background:var(--toffee); color:var(--cream); }
  .pill input:focus-visible + .pill-face{ outline:2px solid var(--toffee); outline-offset:2px; }

  .conditional{ display:none; margin-top:14px; }
  .conditional.visible{ display:block; }

  .product-section{ display:none; }
  .product-section.visible{ display:block; animation:fadein .2s ease; }

  .step-nav{
    display:flex; justify-content:space-between; align-items:center;
    margin-top:8px; padding-top:20px; border-top:1px solid var(--line);
  }
  .step-nav .spacer{ flex:1; }

  .btn-plain{
    background:transparent; border:none;
    font-family:var(--font); font-weight:600; font-size:16px;
    color:var(--ink-soft); cursor:pointer; padding:12px 6px;
  }
  .btn-plain:hover{ color:var(--ink); }

  button.btn-primary{ border:none; cursor:pointer; font-family:var(--font); }

  .lead-note{
    display:flex; gap:10px; align-items:flex-start;
    background:var(--caramel-soft); border-radius:var(--radius-sm); padding:14px 16px;
    font-size:15px; color:var(--chocolate); margin-bottom:24px;
  }

  .review-list{ list-style:none; padding:0; margin:0 0 26px; border-top:1px solid var(--line); }
  .review-list li{
    display:flex; justify-content:space-between; gap:16px;
    padding:12px 0; border-bottom:1px solid var(--line); font-size:16px;
  }
  .review-list li .r-label{ color:var(--ink-soft); }
  .review-list li .r-value{ font-weight:600; text-align:right; }

  .quote-note{
    font-size:14px; color:var(--ink-soft);
    background:var(--cream); border-radius:var(--radius-sm); padding:14px 16px; margin-bottom:24px;
  }

  .success-panel{ text-align:center; padding:20px 0; }
  .success-panel .mark{
    width:56px;height:56px;border-radius:50%; background:var(--caramel);
    margin:0 auto 18px; display:flex; align-items:center; justify-content:center;
  }

  /* ---------- THANK-YOU PAGE + SEND ERROR ---------- */
  .form-error{
    background:var(--caramel-soft);
    border-radius:var(--radius-sm);
    padding:14px 16px;
    margin:0 0 20px;
    font-size:15px;
    color:var(--chocolate);
  }
  .form-error a{ color:var(--chocolate); font-weight:600; }

  .thanks .success-panel{ padding:12px 0 4px; }
  .thanks .success-panel .mark{ margin-bottom:20px; }
  .thanks .success-panel h1{ font-size:clamp(30px,4.6vw,42px); margin:4px 0 14px; }
  .thanks .lede{ color:var(--ink-soft); font-size:18px; max-width:46ch; margin:0 auto 30px; }
  .next-steps{
    list-style:none; padding:0; margin:0 auto 26px; max-width:46ch; text-align:left;
  }
  .next-steps li{
    display:flex; gap:14px; align-items:flex-start;
    padding:12px 0; border-top:1px solid var(--line); font-size:16.5px;
  }
  .next-steps li:last-child{ border-bottom:1px solid var(--line); }
  .next-steps .n{
    flex:0 0 28px; height:28px; border-radius:50%;
    background:var(--chocolate); color:var(--cream);
    font-weight:600; font-size:14px;
    display:flex; align-items:center; justify-content:center;
  }
  .thanks .small-print{ margin:0 auto; max-width:46ch; }
  .thanks .small-print a{ color:var(--accent); font-weight:600; }
  .signoff{ font-weight:600; font-size:20px; margin:18px 0 6px; }
  .thanks .cta-row{ justify-content:center; margin-top:26px; }

  @media (max-width:640px){
    .tile-group{ grid-template-columns:1fr; }
    .wizard-panel{ padding:26px 18px 22px; }

    .step-nav{
      flex-wrap:wrap;
      flex-direction:column-reverse;
      align-items:stretch;
      gap:12px;
    }
    .step-nav .spacer{ display:none; }
    .step-nav .btn{
      width:100%;
      text-align:center;
      padding:14px 20px;
    }
    .step-nav .btn-plain{
      width:100%;
      text-align:center;
      padding:10px 6px;
    }
  }
