/* ==========================================================================
   Amazé Web — design system
   Values measured from the published Framer site (amazeweb.shop).
   Breakpoints match Framer's: Desktop >=1200, Tablet 810-1199, Phone <810.
   ========================================================================== */

:root{
  /* brand */
  --blue:#00AAFF;          /* primary buttons, logo "Web", accent squares */
  --blue-deep:#3675FF;     /* theme-page CTA pill */
  --blue-social:#3D81FF;   /* social glyphs */
  --lime:#9FC401;          /* blurred blob behind the sticky cards */

  /* ink */
  --ink:#000000;
  --ink-2:#111111;
  --ink-3:#171717;
  --ink-4:#1F1F1F;
  --ink-5:#262628;

  /* grey */
  --grey:#969696;          /* hero second clause, muted body */
  --grey-2:#6C7179;
  --grey-3:#575757;
  --grey-4:#ABABAB;        /* sticky card base */

  /* surface */
  --white:#FFFFFF;
  --surface:#F7F7F7;
  --surface-2:#F0F0F0;
  --line:#D9D9D9;
  --nav-bg:rgba(171,171,171,.7);

  /* layout */
  --maxw:1200px;
  --maxw-card:1016px;
  --maxw-grid:1000px;
  --maxw-faq:1160px;
  --pad-x:20px;
  --sec-gap:160px;
  --pad-top:160px;
  --pad-bottom:150px;

  /* radii */
  --r-nav:32px;
  --r-card:32px;
  --r-panel:24px;
  --r-inner:20px;
  --r-img:12px;
  --r-pill:999px;

  --shadow-btn:rgba(47,43,67,.1) 0 -1px 0 0 inset, rgba(47,43,67,.1) 0 1px 3px 0;
  --shadow-card:
    rgba(0,0,0,.05) .67px .67px .95px -.125px,
    rgba(0,0,0,.06) 1.59px 1.59px 2.25px -.25px,
    rgba(0,0,0,.06) 2.9px 2.9px 4.11px -.375px,
    rgba(0,0,0,.07) 4.96px 4.96px 7.02px -.5px,
    rgba(0,0,0,.08) 8.39px 8.39px 11.87px -.625px,
    rgba(0,0,0,.09) 14.5px 14.5px 20.5px -.75px;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
/* Anchor links used to land with the target flush at y=0, which put it under
   the fixed nav pill (its bottom edge sits at 68px). scroll-margin-top stops
   the jump that much earlier in the page, so the target clears the nav and
   has air above it. */
:target,
#top,#case-study,#ourvision,#faqss,#support-message,#our-work{scroll-margin-top:108px}
body{
  margin:0;background:var(--white);color:var(--ink);
  font-family:Inter,"Inter Placeholder",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-synthesis-weight:none;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
img{max-width:100%;display:block;border:0}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
ul{margin:0;padding:0;list-style:none}
h1,h2,h3,h4,h5,h6,p{margin:0}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:4px}

/* ---------- layout shell ---------- */
.page{padding:0 var(--pad-x)}
.shell{
  max-width:1472px;margin:0 auto;
  padding:209px 80px 0;
  display:flex;flex-direction:column;gap:0;
}
.footer{width:100%}
/* theme pages use their own rhythm on the live site: 160px top padding and a
   uniform 96px gap between every section (the other pages use 209px + per-
   section margins). Measured on amazeweb.shop/themes/*. */
.shell.theme{padding:160px 80px 42px;gap:96px}
.shell.theme .wrap{max-width:1040px}   /* theme pages run a 1040px column, not 1200 */
.shell.theme .s-faq,.shell.theme .s-vision{margin-top:0}
.shell.theme .footer{margin-top:0}
.wrap{width:100%;max-width:var(--maxw);margin:0 auto}

/* ---------- type scale ---------- */
.t-hero{font-size:70px;line-height:84px;font-weight:700;letter-spacing:0}
.t-hero .muted{color:var(--grey)}
.t-page{font-size:72px;line-height:1.1;font-weight:700;letter-spacing:-.02em}
.t-section{font-size:64px;line-height:1.1;font-weight:600;letter-spacing:-.02em}
.t-stat{font-size:42px;line-height:50.4px;font-weight:500;letter-spacing:-1px}
.t-faq-h{font-size:40px;line-height:56px;font-weight:500}
.t-stmt{font-size:36px;line-height:43.2px;font-weight:500;letter-spacing:-1.44px}
.t-card-h{font-size:30px;line-height:42px;font-weight:700;letter-spacing:-.5px}
.t-label{font-size:25px;line-height:25px;font-weight:500;letter-spacing:-.75px;color:var(--ink-4)}
.t-20{font-size:20px;line-height:28px;font-weight:400}
.t-18{font-size:18px;line-height:25.2px;font-weight:400;letter-spacing:-.3px}
.t-16{font-size:16px;line-height:22.4px;font-weight:400;letter-spacing:-.48px}

/* the small blue square that precedes a section label */
.tag{display:flex;align-items:center;gap:10px}
.tag::before{content:"";width:8px;height:8px;background:var(--blue);flex:0 0 auto}

/* ---------- nav ---------- */
.nav{
  position:fixed;top:20px;left:0;right:0;z-index:8;
  display:flex;justify-content:center;pointer-events:none;
}
.nav-pill{
  pointer-events:auto;
  display:flex;align-items:center;justify-content:center;gap:32px;
  height:48px;padding:0 40px;max-width:840px;
  background:var(--nav-bg);border-radius:var(--r-nav);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
}
.nav-logo{width:158px;height:51px;object-fit:contain;flex:0 0 auto}
.nav-row{display:contents}
.nav-links{display:contents}
.nav-links a{
  font-size:16px;line-height:32px;font-weight:500;color:var(--white);
  transition:opacity .18s ease;
}
.nav-links a:hover{opacity:.7}
.nav-toggle{display:none}

/* ---------- mobile nav (<810px) ----------------------------------------
   Measured on the published site at 390px: the pill is 363x51 inset 13px,
   rgba(171,171,171,.7) + blur(12px), radius 32, overflow hidden. Tapping the
   burger grows it to 267px tall — 51 row + 8 gap + three 64px links 8px apart
   — so the links slide out from under the logo row. The two 20x2 bars sit
   10px from the top and bottom of a 30px box and cross into an X when open. */
/* ==========================================================================
   Components added after the first build (theme sections, services panels,
   placeholder stripes). These MUST stay above the media queries below -
   appended at the end of the file they outranked every phone override.
   ========================================================================== */
/* --- entrance motion ----------------------------------------------------
   Curve taken off the published hero, sampled frame by frame: it covers 24%
   of the distance in the first 22ms, 58% by 111ms and 97% by 411ms, i.e. a
   hard ease-out over roughly 0.7s. cubic-bezier(.22,1,.36,1) tracks it, and
   it is the same curve the scroll reveals already use.

   The nav: the published site does NOT animate its nav (0 appear-animations
   across all 21 pages), so this is an addition, built from the site's own
   motion vocabulary rather than copied from it.
   The hero: this one IS in the source and was missing here — Framer sets the
   heading container to opacity:0 / perspective(1200px) translateX(30px) and
   the glyphs to translateX(50px), all moving together with no stagger. */
@keyframes nav-in{
  from{opacity:0;transform:translateY(-18px)}
  to  {opacity:1;transform:none}
}
@keyframes hero-in{
  from{opacity:0;transform:perspective(1200px) translateX(30px)}
  to  {opacity:1;transform:perspective(1200px) translateX(0)}
}
.nav{animation:nav-in .7s cubic-bezier(.22,1,.36,1) .08s both}
.hero .t-hero,.theme-head>*{animation:hero-in .8s cubic-bezier(.22,1,.36,1) .20s both}
.hero .btn-hero{animation:hero-in .8s cubic-bezier(.22,1,.36,1) .30s both}
.theme-head>*:nth-child(2){animation-delay:.26s}
.theme-head>*:nth-child(3){animation-delay:.32s}
.theme-head>*:nth-child(4){animation-delay:.38s}
@media (prefers-reduced-motion:reduce){
  .nav,.hero .t-hero,.hero .btn-hero,.theme-head>*{animation:none}
}

/* --- empty-media placeholder: Framer's diagonal stripe tile -------------
   126x126 SVG tile drawn at 64px, fill rgba(136,136,136,.2). The published
   site uses it everywhere a template screenshot has not been supplied. */
.ph-stripes{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="126" height="126"><path d="M126 0v21.584L21.584 126H0v-17.585L108.415 0H126Zm0 108.414V126h-17.586L126 108.414Zm0-84v39.171L63.585 126H24.414L126 24.414Zm0 42v39.17L105.584 126h-39.17L126 66.414ZM105.586 0 0 105.586V66.415L66.415 0h39.171Zm-42 0L0 63.586V24.415L24.415 0h39.171Zm-42 0L0 21.586V0h21.586Z" fill="rgba(136,136,136,0.2)" fill-rule="evenodd"/></svg>');background-size:64px auto;background-repeat:repeat}

/* theme page: hero availability line */
.theme-avail{padding-left:12px;font-size:14px;line-height:20px;
  font-weight:500;color:var(--grey)}

/* theme page: two-column heading/body rows (Overview, Make it yours.) */
.theme-row{display:grid;grid-template-columns:480px 480px;justify-content:space-between;
  gap:80px;align-items:start}
.theme-row h2{font-size:42px;line-height:1.2;font-weight:700;letter-spacing:-.01em}
.theme-row .lead{font-size:18px;line-height:1.5;color:var(--grey)}
.theme-row .who{font-size:18px;line-height:1.5;font-weight:600;color:var(--ink);margin-top:14px}

/* theme page: "Responsive by design" — three empty device placeholders */
.theme-resp h2{font-size:42px;line-height:1.2;font-weight:700;letter-spacing:-.01em;margin-bottom:24px}
.theme-resp .row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.theme-resp .box{aspect-ratio:336/260;border-radius:var(--r-inner);
  width:100%;height:auto;object-fit:cover;display:block;background-color:var(--surface-2)}

/* theme page: "Make it yours." panel */
.theme-mine{background:var(--surface-2);border-radius:var(--r-card);padding:40px}

/* services sub-pages: section headings in the left column */
/* Section pitch measured on the live pages: kicker baseline 25px above the
   statement, statement line box 42px, 93px to the next kicker. The closing
   section ("Other ways we help") carries no statement and only 48px. */
/* Measured on the live pages: the block is inset 45px from the content
   column; each section is a 25px kicker, then a 570px-wide statement set at
   36/43.2 with -0.04em tracking, then a 48px gap to the next kicker. */
.svcx-secs{margin-top:37px;padding-left:45px}
.svcx-sec{padding:0 0 48px}
.svcx-sec .kick{display:flex;align-items:center;gap:9px;font-size:25px;line-height:25px;
  font-weight:500;letter-spacing:-.03em;color:var(--ink-4)}
.svcx-sec .kick::before{content:"";width:7px;height:7px;background:var(--blue);flex:0 0 auto}
.svcx-sec .stat{font-size:36px;line-height:43.2px;font-weight:500;letter-spacing:-.04em;
  color:var(--ink-2);width:570px;max-width:100%;margin:0}
.svcx-sec .stat .mute{color:var(--grey-2)}

/* content under a section heading. The statement is 570px wide, so these keep
   to a comparable measure rather than running the full page. */
.svcx-sec .stat + .sec-cards,
.svcx-sec .stat + .sec-list,
.svcx-sec .stat + .sec-steps,
.svcx-sec .stat + .sec-links{margin-top:28px}
.svcx-sec .kick + .sec-links{margin-top:22px}
.sec-cards,.sec-list,.sec-steps{max-width:900px}
.sec-cards h3,.sec-list h3,.sec-steps h3{font-size:19px;line-height:26px;font-weight:600;
  letter-spacing:-.01em;color:var(--ink-2);margin:0 0 6px}
.sec-cards p,.sec-list p,.sec-steps p{font-size:16px;line-height:25px;color:var(--grey-2);margin:0}

/* three levels, side by side */
.sec-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.sec-card{background:var(--surface);border-radius:var(--r-inner);padding:22px 20px}
/* four of them: two up, rather than a row of three with one stranded */
.sec-cards.n2{grid-template-columns:repeat(2,1fr)}

/* a plain set of things, two up */
.sec-list{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:24px 40px;
  margin:0;padding:0}
.sec-list li{padding-left:16px;border-left:2px solid var(--line)}

/* the price of one thing, under what it is. A hairline rather than a coloured
   pill: a price has to be read as a fact, not as a button. */
.sec-cards .sec-price,.sec-list .sec-price{font-size:15px;line-height:22px;
  font-weight:600;letter-spacing:-.1px;color:var(--ink-2);
  margin:12px 0 0;padding-top:10px;border-top:1px solid var(--line)}
.sec-card{display:flex;flex-direction:column}
.sec-card .sec-price{margin-top:auto}

/* numbered, because the order is the point */
.sec-steps{list-style:none;display:flex;flex-direction:column;gap:20px;margin:0;padding:0}
.sec-step{display:flex;gap:18px;align-items:flex-start}
.sec-step .n{flex:0 0 auto;font-size:13px;line-height:26px;font-weight:600;letter-spacing:.06em;
  color:var(--blue);min-width:26px}

/* where else to go from here */
.sec-links{display:flex;flex-wrap:wrap;gap:10px}
.sec-link{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;
  border-radius:var(--r-pill);background:var(--surface);color:var(--ink-2);
  font-size:16px;line-height:22px;font-weight:500}
.sec-link .arrow{width:13px;height:13px}


/* services sub-pages: the flat panel (no screenshot supplied on the live site) */
.svcx-panel{max-width:var(--maxw-card);margin:0 auto;width:100%;background:var(--grey-4);
  border-radius:var(--r-card);padding:60px 40px;display:grid;
  grid-template-columns:428px 1fr;gap:40px;align-items:start;color:var(--white)}
.svcx-panel h2{font-size:30px;line-height:1.2;font-weight:700;max-width:414px}
.svcx-panel p{font-size:18px;line-height:27px;margin-top:19px;max-width:428px}
.svcx-panel .stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:416px;
  margin-left:auto}
.svcx-panel .stats .k{font-size:20px;line-height:1.4;font-weight:400;opacity:.95}
.svcx-panel .stats .v{font-size:42px;line-height:1.2;font-weight:500;margin-top:3px}
.svcx-panel .btn{margin-top:40px}
.svcx-panel.lead{margin-top:147px}      /* gap from the hero button, measured live */
.shell .svcx-secs + .svcx-panel{margin-top:0}
/* the custom-build panel under the template grid */
.tpl-sec + .svcx-panel{margin-top:96px}
.svcx-page .s-vision{margin-top:371px}
/* The gap between "Our Vision" and the FAQ is not uniform on the published
   site: it is 1085px on the home page but 1178-1298px across the services
   pages, which pins their FAQ at y3788 and their total at 4643 regardless of
   body length. These two rules reproduce that; they are measured, not derived.
   Residual on the three sub-pages is +-40px because the live values disagree
   with each other. */
.svcx-page .s-faq{margin-top:371px}   /* = .svcx-page .s-vision above it */
.svc-stack .s-vision{margin-top:286px}
.svc-stack .s-faq{margin-top:286px}   /* = .svc-stack .s-vision above it */


@media (max-width:809px){
  .nav{padding:0 13px}
  .nav-pill{
    width:100%;max-width:none;
    flex-direction:column;align-items:stretch;justify-content:flex-start;
    gap:0;height:51px;padding:0 18px;overflow:hidden;
    contain:layout paint;
    transition:height .42s cubic-bezier(.22,.61,.36,1);
  }
  .nav-pill.open{height:267px}
  .nav-row{
    display:flex;align-items:center;justify-content:space-between;
    height:51px;flex:0 0 auto;
  }
  .nav-logo{width:171px;height:auto}
  .nav-toggle{
    display:block;position:relative;width:30px;height:30px;flex:0 0 auto;
    background:none;border:0;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent;
  }
  .nav-toggle .bar{
    position:absolute;left:5px;width:20px;height:2px;border-radius:1px;background:var(--white);
    transition:transform .42s cubic-bezier(.22,.61,.36,1);
  }
  .nav-toggle .b1{top:10px}
  .nav-toggle .b2{top:18px}
  .nav-pill.open .b1{transform:translateY(4px) rotate(45deg)}
  .nav-pill.open .b2{transform:translateY(-4px) rotate(-45deg)}
  .nav-links{
    display:flex;flex-direction:column;gap:8px;margin-top:8px;
    visibility:hidden;transition:visibility 0s linear .42s;
  }
  .nav-pill.open .nav-links{visibility:visible;transition-delay:0s}
  .nav-links a{
    height:64px;line-height:64px;padding:0 12px;font-size:16px;font-weight:500;
    color:var(--white);border-radius:12px;
  }
  .nav-links a:hover{opacity:1;background:rgba(255,255,255,.12)}
}
@media (max-width:809px) and (prefers-reduced-motion:reduce){
  .nav-pill,.nav-toggle .bar{transition:none}
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:var(--blue);color:var(--white);
  font-size:16px;line-height:24px;font-weight:400;letter-spacing:-.16px;
  padding:12px 20px;border-radius:37px;box-shadow:var(--shadow-btn);
  transition:transform .18s ease,filter .18s ease;
}
.btn:hover{filter:brightness(1.06);transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn-hero{
  padding:9px 32px;border-radius:64px;
  font-size:18px;line-height:25.2px;font-weight:500;letter-spacing:0;
}
.btn-deep{background:var(--blue-deep);border-radius:var(--r-pill);padding:12px 24px;font-weight:500}
.btn-light{background:var(--white);color:var(--ink);font-weight:500}
.btn .arrow{width:14px;height:14px;flex:0 0 auto;
  transition:transform .26s cubic-bezier(.22,1,.36,1)}
/* the glyph points up-and-right; 45 degrees clockwise lands it pointing right */
.btn:hover .arrow,.btn:focus-visible .arrow,
.sec-link:hover .arrow,.sec-link:focus-visible .arrow{transform:rotate(45deg)}
.sec-link .arrow{transition:transform .26s cubic-bezier(.22,1,.36,1)}

/* ---------- hero ---------- */
.hero{display:flex;flex-direction:column;gap:80px;align-items:flex-start}
.hero .t-hero{max-width:1120px}

/* ---------- sticky stacking cards ---------- */
.stack{display:flex;flex-direction:column;gap:48px;margin-top:144px}
.stack-item{position:sticky;top:100px;width:100%;max-width:var(--maxw-card);margin:0 auto}
.scard{
  position:relative;overflow:hidden;
  width:100%;max-width:var(--maxw-card);margin:0 auto;height:500px;
  background:var(--grey-4);border-radius:var(--r-card);
  padding:60px 40px;display:flex;gap:80px;
}
/* lime blob — exact computed values from the published card:
   590x590, #9FC401, blur(100px), opacity .15, right-aligned, 45px above the top edge */
.scard::after{
  content:"";position:absolute;z-index:0;pointer-events:none;
  width:590px;height:590px;border-radius:1000px;
  background:var(--lime);filter:blur(100px);opacity:.15;
  right:-1px;top:-45px;
  will-change:transform;   /* rasterise the blur once instead of per scroll frame */
}
.scard > *{position:relative;z-index:1}
.scard-left{flex:1;display:flex;flex-direction:column}
.scard-left .t-card-h{color:var(--white);margin-bottom:16px}
.scard-left .t-18{color:var(--white);max-width:420px}
.scard-left .btn{margin-top:auto;align-self:flex-start}
.scard-right{width:428px;flex:0 0 auto;display:flex;flex-direction:column;gap:36px}
.scard-shot{width:100%;border-radius:8px;object-fit:cover;aspect-ratio:428/269}
/* a card with no stat pair: drawn artwork takes the whole right column, while
   a photo keeps its own ratio and sits centred — stretching it to the full
   height just crops the picture */
.scard-right.full{justify-content:center}
.scard-right.full .scard-art{flex:1 1 auto;min-height:0;height:auto;aspect-ratio:auto}
.scard-right.full .scard-shot{flex:0 0 auto;width:100%;height:auto}

/* artwork in the services sub-page panels, where the stat pairs used to sit */
/* a panel with nothing on its right: one column, and the text may use it */
.svcx-panel.plain{grid-template-columns:minmax(0,1fr)}
.svcx-panel.plain h2{max-width:760px}
.svcx-panel.plain p{max-width:720px}
.svcx-panel .art-slot{margin-left:auto;width:min(428px,100%)}
/* Between the phone layout and the desktop one, the panel keeps a fixed 428px
   text column and the rest collapses to ~166px. That held two numbers; it
   cannot hold a picture, so the panel stacks until there is room for both. */
@media (max-width:1060px) and (min-width:810px){
  .svcx-panel{grid-template-columns:minmax(0,1fr);gap:36px}
  .svcx-panel .art-slot{margin-left:0}
}
/* 428/380, the same box the scenes are drawn for — at 428/300 the support
   thread and the tool grid ran past the bottom of their own frame */
.svcx-panel .scard-art{width:100%;aspect-ratio:428/380}

/* ---------- drawn card artwork ----------
   Three scenes, one per service card, built from boxes rather than photos so
   they say what the card says and ship no extra bytes. They only ever render
   at two sizes: 428x380 (desktop) and 299x404 (tablet); the right column is
   hidden on phones. */
.scard-art{
  position:relative;overflow:hidden;border-radius:8px;
  container-type:size;   /* the panels hand these scenes a shorter box than the
  cards do — 289px at tablet against 380 on desktop — so the scenes query their
  own height and tighten up rather than running past their frame */
  background:var(--surface-2);
  box-shadow:0 1px 2px rgba(0,0,0,.14),0 14px 32px rgba(0,0,0,.18);
}
.scard-art .mark{width:18px;height:18px;border-radius:5px;background:var(--blue);flex:0 0 auto}
.scard-art .l{height:6px;width:30px;border-radius:3px;background:var(--line);flex:0 0 auto}
.scard-art .l.last{margin-left:auto;width:44px;background:#C7C7C7}
.scard-art .cta{height:18px;width:74px;border-radius:999px;background:var(--blue);flex:0 0 auto}

/* 1. Template setup: a bought template mid-setup — real domain, one section
      still snapping in, and the same page already running on a phone. */
.art-setup{display:flex;flex-direction:column}
.win-bar{flex:0 0 auto;height:30px;background:#E6E6E6;border-bottom:1px solid var(--line);
         display:flex;align-items:center;gap:5px;padding:0 11px}
.win-bar i{width:7px;height:7px;border-radius:50%;background:#C4C4C4;flex:0 0 auto}
.win-bar .url{flex:1;margin-left:7px;height:15px;border-radius:8px;background:var(--white);
              color:#8A8A8A;font-size:9px;line-height:15px;padding:0 8px;overflow:hidden;
              white-space:nowrap}
.win-bar .live{flex:0 0 auto;font-size:8px;font-weight:600;letter-spacing:.09em;
               text-transform:uppercase;color:#5B7A00;background:rgba(159,196,1,.3);
               border-radius:999px;padding:3px 7px}
.win-body{flex:1;min-height:0;background:var(--white);padding:14px;
          display:flex;flex-direction:column;gap:12px}
.w-nav{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.w-hero{flex:1.4;min-height:0;border-radius:8px;padding:0 16px;
        background:linear-gradient(135deg,#F5F5F5,#E7E7E7);
        display:flex;flex-direction:column;justify-content:center;gap:9px}
.w-hero .b1{height:12px;width:76%;border-radius:4px;background:#C6C6C6}
.w-hero .b2{height:8px;width:52%;border-radius:4px;background:#D8D8D8;margin-bottom:3px}
.w-grid{flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.w-grid span{border-radius:6px;background:var(--surface-2);border:1px solid var(--line)}
.w-grid .snap{background:rgba(159,196,1,.16);border:1.5px dashed var(--lime)}
.w-phone{position:absolute;right:14px;bottom:14px;width:clamp(58px,19%,76px);
         aspect-ratio:76/136;border-radius:13px;background:var(--white);
         border:2px solid #272727;box-shadow:0 10px 24px rgba(0,0,0,.3);
         padding:8px 7px;display:flex;flex-direction:column;gap:5px}
.w-phone .nub{align-self:center;width:20px;height:3px;border-radius:2px;background:#272727;flex:0 0 auto}
.w-phone .s1{flex:1;min-height:0;border-radius:5px;background:linear-gradient(135deg,#F0F0F0,#E2E2E2)}
.w-phone .s2{height:5px;border-radius:3px;background:#CFCFCF;flex:0 0 auto}
.w-phone .s3{height:5px;width:60%;border-radius:3px;background:#E0E0E0;flex:0 0 auto}

/* 2. Custom build: written from scratch above, rendered below. */
.art-custom{display:flex;flex-direction:column;background:var(--white)}
.art-custom .code{flex:1.1;min-height:0;background:var(--ink-4);padding:13px 14px;
                  display:flex;flex-direction:column;gap:11px;overflow:hidden}
.art-custom .tab{font-size:9px;letter-spacing:.05em;color:#8E8E8E;flex:0 0 auto}
.art-custom .rows{display:flex;flex-direction:column;gap:8px}
.art-custom .row{display:flex;align-items:center;gap:6px}
.art-custom .row.in1{padding-left:11px}
.art-custom .row.in2{padding-left:22px}
.art-custom .row i{height:5px;border-radius:3px;display:block;flex:0 0 auto}
.art-custom .n{width:7px;background:#3C3C3C}
.art-custom .k{background:var(--blue)}
.art-custom .s{background:var(--lime)}
.art-custom .p{background:#4F4F4F}
.art-custom .seam{position:relative;height:1px;background:var(--line);flex:0 0 auto}
.art-custom .badge{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
                   width:26px;height:26px;border-radius:50%;background:var(--white);
                   border:1px solid var(--line);color:var(--blue);
                   display:grid;place-items:center;box-shadow:0 2px 6px rgba(0,0,0,.16)}
.art-custom .badge svg{width:13px;height:13px}
.art-custom .out{flex:1;min-height:0;background:var(--white);padding:14px;
                 display:flex;flex-direction:column;gap:11px}
.o-nav{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.o-hero{flex:1.3;min-height:0;border-radius:8px;padding:0 14px;
        background:linear-gradient(135deg,#EAF6FF,#E4E9EF);
        display:flex;flex-direction:column;justify-content:center;gap:8px}
.o-hero .t1{height:11px;width:70%;border-radius:4px;background:#AFC3D2}
.o-hero .t2{height:7px;width:46%;border-radius:4px;background:#C9D6E0;margin-bottom:3px}
.o-row{flex:.8;min-height:0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.o-row span{border-radius:6px;background:var(--surface-2);border:1px solid var(--line)}

/* 3. Business tools: the four add-ons the card copy names, each its own tool. */
.art-tools{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;
           gap:12px;padding:14px}
.art-tools .tool{background:var(--white);border-radius:10px;padding:10px 11px;
                 display:flex;flex-direction:column;gap:8px;min-height:0;
                 box-shadow:0 1px 2px rgba(0,0,0,.07),0 7px 16px rgba(0,0,0,.07)}
.art-tools .t-book{transform:rotate(-1.2deg)}
.art-tools .t-form{transform:rotate(1deg);justify-content:space-between}
.art-tools .t-mail{transform:rotate(1.1deg)}
.art-tools .t-stat{transform:rotate(-1deg)}
.art-tools .cap{font-size:9px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
                color:#8E8E8E;flex:0 0 auto}
.art-tools .slots{flex:1;min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:6px}
.art-tools .slots span{border-radius:5px;background:var(--surface-2)}
.art-tools .slots .on{background:var(--blue)}
.art-tools .field{flex:0 0 26px;border-radius:6px;background:var(--surface-2);border:1px solid var(--line)}
.art-tools .field.short{width:66%}
.art-tools .send{flex:0 0 26px;width:56px;border-radius:999px;background:var(--blue);margin-top:auto}
.art-tools .env{flex:1;min-height:0;display:grid;place-items:center;color:var(--blue)}
.art-tools .env svg{width:38px;height:38px}
.art-tools .bars{flex:1;min-height:0;display:flex;align-items:flex-end;gap:5px}
.art-tools .bars i{flex:1;border-radius:3px 3px 0 0;background:var(--line)}
.art-tools .bars i:last-child{background:var(--lime)}

.scard-stats{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.scard-stats .k{font-size:20px;line-height:28px;font-weight:400;color:var(--white);margin-bottom:8px}
.scard-stats .v{color:var(--white)}
.scard.dim .k,.scard.dim .v{color:rgba(255,255,255,.75)}

/* ---------- vision ---------- */
.vision{display:grid;grid-template-columns:456px 684px;gap:0;align-items:start;max-width:1140px;margin-left:30px}
.vision-stmt .lead{color:var(--grey-2)}
.vision-stmt .tail{color:var(--ink-2)}

/* ---------- service cards (3-up, middle lifted) ---------- */
/* The gap above this grid is the breathing room between the "Our Vision"
   statement and the three service cards. The published site runs 60px at
   desktop, 74px at tablet and 159px on phone; a `margin:0 auto` shorthand
   used to sit after margin-top here and silently reset it to 0 at every
   width. Keep the top value inside the shorthand so that can't recur. */
.svc-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:12px;align-items:start;
  max-width:var(--maxw-grid);margin:60px auto 0;
}
.svc{
  display:flex;flex-direction:column;gap:6px;padding:6px;
  background:var(--surface);border-radius:var(--r-panel);
}
.svc.lift{box-shadow:var(--shadow-card)}
.svc.drop{margin-top:12px}
.svc-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:8px 8px 8px 12px;background:var(--white);border-radius:var(--r-inner);min-height:56px;
}
.svc-head .name{font-size:20px;line-height:26px;font-weight:500;letter-spacing:-.6px;
  color:var(--ink-2);display:block;white-space:nowrap}
/* the title swap: a one-line window over a two-line column. Hover moves the
   column up by exactly one line, so "Start a Project" takes the name's place. */
.svc-head .name-swap{display:block;height:26px;overflow:hidden;min-width:0;flex:1 1 auto}
.svc-head .name-swap .name{transition:transform .34s cubic-bezier(.22,1,.36,1)}
.svc:hover .name-swap .name,
.svc:focus-visible .name-swap .name{transform:translateY(-26px)}
/* and the card lifts out of the page while it is being considered */
.svc{transition:box-shadow .3s cubic-bezier(.22,1,.36,1)}
.svc:hover,.svc:focus-visible{box-shadow:var(--shadow-card)}
html.js .svc:not(.in){box-shadow:none}
.svc-head .ico{width:40px;height:40px;border-radius:12px;background:#EEFFF3;display:grid;place-items:center;flex:0 0 auto}
.svc-head .ico img{width:22px;height:22px;object-fit:contain}
.svc-body{
  display:flex;flex-direction:column;gap:32px;
  padding:12px;background:var(--white);border-radius:var(--r-inner);
}
.svc-body .t-16{color:var(--grey-2)}
.svc-copy{display:flex;flex-direction:column;gap:12px}
.svc-shots{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.svc-shots img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:var(--r-img)}
/* drawn tiles in place of the three thumbnails — one per tag on the card
   above them. No two tiles share a shape: an earlier pass had the brand
   palette and the design system both as 2x2 grids of blue and lime, which
   read as the same picture twice. ~92px desktop, ~61px tablet. */
.svc-shots.art{gap:6px}
.stile{position:relative;aspect-ratio:1;border-radius:var(--r-img);overflow:hidden;
       background:var(--surface-2);display:flex;flex-direction:column;
       container-type:inline-size;   /* tiles run 61px on tablet and 92px on
       desktop, so padding, gaps and type all scale with the tile */
       padding:10%;gap:5.5%;justify-content:center;
       box-shadow:inset 0 0 0 1px rgba(0,0,0,.07)}  /* hairline: several tiles are
       white, and without it they vanish into the white card behind them */
.stile i{display:block;border-radius:3px;background:#CFCFCF;flex:0 0 auto}

/* --- Branding Design --- */
/* Logo design: a mark with its wordmark under it. */
.st-logo{background:#F1F3E4;align-items:center;justify-content:center;gap:7%}
.st-logo .m{width:34%;aspect-ratio:1;border-radius:26%;background:var(--ink-3);position:relative}
.st-logo .m::after{content:"";position:absolute;inset:27%;border-radius:50%;background:var(--lime)}
.st-logo .w1{width:52%;height:6%;border-radius:99px;background:#B9BFA2;margin-top:4%}
.st-logo .w2{width:32%;height:5%;border-radius:99px;background:#CDD2BC}
/* Brand guideline: a spec sheet — the colours, then the type, then the rules. */
.st-guide{background:var(--white);justify-content:flex-start;gap:7%}
.st-guide .chips{display:flex;gap:6%;flex:0 0 auto}
.st-guide .chips i{flex:1;height:0;padding-bottom:30%;border-radius:2px}
.st-guide .chips i:nth-child(1){background:var(--ink-3)}
.st-guide .chips i:nth-child(2){background:var(--blue)}
.st-guide .chips i:nth-child(3){background:var(--lime)}
.st-guide b{font-size:26cqw;line-height:1;font-weight:600;letter-spacing:-.04em;color:var(--ink-2)}
.st-guide .ln{height:5%;border-radius:99px;background:var(--line)}
.st-guide .ln.s{width:60%}
/* Brand strategy: where the brand sits — axes with a position plotted. */
.st-matrix{background:var(--white);display:block}
.st-matrix .ax-v{position:absolute;left:50%;top:16%;bottom:16%;width:1.5px;border-radius:0;background:var(--line)}
.st-matrix .ax-h{position:absolute;top:50%;left:16%;right:16%;height:1.5px;border-radius:0;background:var(--line)}
.st-matrix .dot{position:absolute;right:23%;top:23%;width:21%;aspect-ratio:1;border-radius:50%;background:var(--blue)}
.st-matrix .dot2{position:absolute;left:27%;bottom:27%;width:11%;aspect-ratio:1;border-radius:50%;background:#DCDCDC}

/* --- Web Development --- */
/* Landing page: one page, hero to call-to-action. */
.st-land{background:var(--white);justify-content:flex-start;gap:5%}
.st-land .bar{height:7%;border-radius:99px;background:var(--line)}
.st-land .hero{flex:1 1 auto;min-height:0;border-radius:5px;
               background:linear-gradient(135deg,#E9F5FF,#DCE4EA)}
.st-land .cta{height:11%;width:42%;border-radius:99px;background:var(--blue)}
.st-land .sec{height:13%;border-radius:4px;background:var(--surface-2)}
/* The code behind it. */
.st-code{background:var(--ink-4);gap:6%;padding:11%}
.st-code i{height:4px}
.st-code .k{background:var(--blue)}
.st-code .s{background:var(--lime)}
.st-code .p{background:#555}
/* Multipages / migration: a stack of pages, not one. */
.st-pages{background:var(--white);display:block;padding:0}
.st-pages i{position:absolute;border-radius:5px;background:var(--white);
            border:1px solid var(--line);width:52%;height:66%}
.st-pages .p1{left:13%;top:13%;box-shadow:0 2px 5px rgba(0,0,0,.08)}
.st-pages .p2{left:26%;top:21%;background:var(--surface)}
.st-pages .p3{left:39%;top:29%;background:var(--surface-2)}

/* --- UI/UX Design --- */
/* Web & app design: a handset, so it cannot be mistaken for the browser above. */
.st-phone{background:var(--surface-2);align-items:center;justify-content:center;padding:9%}
.st-phone .scr{width:58%;height:100%;border:2px solid var(--ink-3);border-radius:8px;
               background:var(--white);display:flex;flex-direction:column;gap:7%;padding:9% 8%}
.st-phone .nub{align-self:center;width:36%;height:4%;border-radius:99px;background:var(--ink-3)}
.st-phone .hd{height:16%;border-radius:3px;background:var(--blue)}
.st-phone .r{height:9%;border-radius:3px;background:var(--surface-2)}
.st-phone .r.s{width:66%}
/* Design system: the components themselves, listed. */
.st-sys{background:var(--white);justify-content:center;gap:11%;align-items:flex-start}
.st-sys .btn{height:17%;width:64%;border-radius:99px;background:var(--blue)}
.st-sys .tog{position:relative;height:15%;width:42%;border-radius:99px;
             background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line)}
.st-sys .tog::after{content:"";position:absolute;right:4%;top:11%;bottom:11%;
                    aspect-ratio:1;border-radius:50%;background:var(--lime)}
.st-sys .sld{position:relative;height:8%;width:82%;border-radius:99px;background:var(--surface-2);
             margin-top:4%}
.st-sys .sld::after{content:"";position:absolute;left:54%;top:50%;width:22%;aspect-ratio:1;
                    height:auto;   /* NOT a % height: the knob is a circle sized off its
                    own width, and a % of an 8%-tall track draws an ellipse */
                    transform:translateY(-50%);border-radius:50%;background:var(--white);
                    box-shadow:inset 0 0 0 1.5px var(--blue)}
/* Prototyping: one screen leading to the next. */
.st-proto{background:var(--white);flex-direction:row;align-items:center;gap:5%;padding:10%}
.st-proto .f1,.st-proto .f2{flex:1 1 0;height:64%;border-radius:4px;background:var(--surface-2);
                            box-shadow:inset 0 0 0 1px var(--line)}
.st-proto .f2{background:#E9F5FF;box-shadow:inset 0 0 0 1px #CBE4F7}
.st-proto .arw{position:relative;width:9px;height:2px;border-radius:0;background:var(--grey);
               flex:0 0 auto}   /* relative: its ::after arrowhead would otherwise
               anchor to the tile */
.st-proto .arw::after{content:"";position:absolute;width:5px;height:5px;
                      border-top:2px solid var(--grey);border-right:2px solid var(--grey);
                      transform:translate(-2px,-2px) rotate(45deg)}

.svc-tags{display:flex;flex-wrap:wrap;gap:8px}
.svc-tags span{
  padding:6px 12px;border-radius:var(--r-pill);background:var(--surface);
  font-size:16px;line-height:22.4px;letter-spacing:-.67px;color:var(--grey-2);
}  /* -.67px, not -.48px: at -.48 "Web & app design" renders 130px wide and
      "Design system" wraps to its own row, making the card 42px taller than
      the live one. Live measures 127px for that pill's text. */
/* the blue middle card inverts everything */
.svc.blue{background:var(--blue)}
.svc.blue .svc-head{background:var(--blue)}
.svc.blue .svc-head .name{color:var(--white)}
.svc.blue .svc-head .ico{background:#EDF3FF}
.svc.blue .svc-body{background:var(--blue)}
.svc.blue .svc-body .t-16{color:var(--surface)}
.svc.blue .svc-tags span{background:transparent;border:1px solid rgba(255,255,255,.65);color:var(--white)}

/* ---------- FAQ accordion ---------- */
.faq{max-width:var(--maxw-faq);margin:0 auto;width:100%;display:flex;flex-direction:column}
.faq-group{border-bottom:1px solid var(--line)}

.s-vision{margin-top:194px}
/* The FAQ used to sit 259px below whatever preceded it at every width, which
   left the Our Vision block noticeably bottom-heavy: 194px above it, 259px
   below. The gap below now equals the gap above on each page that has the
   block. (259px was the published site's own value here -- this is a
   deliberate departure.) The support page has no vision block and is measured:
   160/161/105 against the published 160/161/105. */
.s-faq{margin-top:194px}
.s-form+.s-faq{margin-top:160px}
/* live footer: 419px tall — 48px top padding, a 189px top band, 124px to the
   copyright line, then 28px bottom padding. */
.footer{margin-top:102px;padding:48px 0 28px}

.faq-head{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;
  padding:20px 0;min-height:96px;text-align:left;
}
.faq-head .t-faq-h{color:var(--ink)}
.faq-head .chev{width:24px;height:24px;flex:0 0 auto;transition:transform .3s ease;color:var(--ink)}
.faq-group[open]:not(.closing) .chev{transform:rotate(180deg)}
/* The 4px/36px used to be padding on the panel. It lives on the children now
   so the panel's own height can animate down to a true 0 -- with border-box
   padding, height:0 would still have rendered a 40px band. Open geometry is
   unchanged. app.js adds .anim and drives the pixel heights; without JS the
   <details> still opens, just instantly. */
.faq-panel{display:flex;flex-direction:column;gap:28px}
.faq-panel>:first-child{margin-top:4px}
.faq-panel>:last-child{margin-bottom:36px}
.faq-group.anim .faq-panel{overflow:hidden;contain:layout paint;
  transition:height .38s cubic-bezier(.22,.61,.36,1)}
.faq-group.anim .faq-panel>*{opacity:0;transition:opacity .3s ease .05s}
.faq-group.anim[open]:not(.closing) .faq-panel>*{opacity:1}
.faq-q{font-size:20px;line-height:28px;font-weight:700;margin-bottom:6px}
.faq-a{font-size:20px;line-height:28px;font-weight:400;max-width:860px}

/* ---------- templates grid ---------- */
/* live grid: 1200px / 3 columns of 379.33px, 31px gap both axes; the card
   content sits left-aligned at 313px inside its column, thumb 313x287. */
/* ---------- template cards ----------
   Built from the same parts as the home-page service cards: a surface shell at
   --r-panel with 6px of padding, rounded inner panels at --r-inner, and pill
   tags. The old version was a bare 4px-radius grey rectangle with three lines
   of loose text under it, which belonged to no part of the system. */
.tpl-sec{margin-top:77px}   /* the gap the old .tpl-head margin used to give */
.tpl-head{margin-top:0}
/* the line under a grid heading: what this set of cards is, said plainly */
.tpl-note{font-size:16px;line-height:24px;color:var(--grey-2);max-width:640px;margin:18px 0 36px}
.tpl-note a{color:var(--ink-2);text-decoration:underline;text-underline-offset:3px}
.tpl-grid + .tpl-note{margin:32px 0 0}
.tpl-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:52px}
.tpl-card{
  display:flex;flex-direction:column;gap:6px;padding:6px;
  background:var(--surface);border-radius:var(--r-panel);
  transition:box-shadow .22s ease,transform .22s ease;
}
@media (hover:hover){
  .tpl-card:hover{box-shadow:var(--shadow-card);transform:translateY(-3px)}
}
.tpl-media{position:relative}
.tpl-thumb{
  width:100%;height:auto;aspect-ratio:313/240;border-radius:var(--r-inner);
  background-color:var(--surface-2);object-fit:cover;display:block;
}
/* The status rides on the artwork. Side by side with the category pill it had
   to wrap on the longest one ("Production Studio Site"), which made that card
   -- and its whole grid row -- taller than the rest. */
/* Platform tag, opposite the status badge. Shopify green on white so it reads
   as a platform mark rather than another status. */
.tpl-plat{
  position:absolute;top:12px;left:12px;
  display:inline-flex;align-items:center;gap:6px;
  padding:5px 11px 5px 9px;border-radius:var(--r-pill);
  background:rgba(255,255,255,.95);
  font-size:13px;line-height:18px;font-weight:500;letter-spacing:-.2px;color:#5A8A1E;
}
.tpl-plat::before{
  content:"";width:7px;height:7px;border-radius:2px;background:#95BF47;flex:0 0 auto;
}

.tpl-soon{
  position:absolute;top:12px;right:12px;
  padding:5px 11px;border-radius:var(--r-pill);
  background:rgba(255,255,255,.95);   /* no backdrop-filter: at 95% white the
     blur behind it is invisible, and 14 of them on /templates each force the
     compositor to re-sample the backdrop on every scroll frame. */
  font-size:13px;line-height:18px;font-weight:500;letter-spacing:-.2px;color:#0384C4;
}
.tpl-body{
  background:var(--white);border-radius:var(--r-inner);
  padding:16px;display:flex;flex-direction:column;gap:10px;align-items:flex-start;
}
.tpl-name{font-size:20px;line-height:26px;font-weight:500;letter-spacing:-.6px;color:var(--ink-2)}
.tpl-cat{
  padding:6px 12px;border-radius:var(--r-pill);
  font-size:14px;line-height:20px;letter-spacing:-.4px;
  background:var(--surface);color:var(--grey-2);
}

/* ---------- horizontal rail (More themes to explore) ---------- */
.rail-wrap{position:relative}
.rail{
  display:flex;gap:24px;overflow-x:auto;overscroll-behavior-x:contain;
  scroll-snap-type:x proximity;scroll-behavior:smooth;
  padding:4px 0 16px;
  /* bleed past the column so the row reads as something that keeps going */
  margin-inline:-6px;padding-inline:6px;scroll-padding-inline:6px;
  scrollbar-width:none;-ms-overflow-style:none;
}
.rail::-webkit-scrollbar{display:none}
.rail>*{flex:0 0 313px;scroll-snap-align:start}
.rail:focus-visible{outline:2px solid var(--blue);outline-offset:6px;border-radius:8px}
.rail-btn{
  position:absolute;top:calc(50% - 30px);z-index:2;
  width:44px;height:44px;border-radius:50%;border:1px solid var(--line);
  background:var(--white);color:var(--ink-2);cursor:pointer;
  display:grid;place-items:center;padding:0;
  box-shadow:0 4px 14px rgba(0,0,0,.10);
  transition:opacity .18s ease,background .18s ease;
}
.rail-btn svg{width:22px;height:22px}
.rail-btn:hover{background:var(--surface)}
.rail-btn[hidden]{display:none}
.rail-btn.prev{left:-22px}
.rail-btn.next{right:-22px}
@media (hover:none){.rail-btn{display:none}}
@media (prefers-reduced-motion:reduce){.rail{scroll-behavior:auto}}

/* ---------- theme detail ---------- */
.theme-head{display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.theme-kicker{font-size:16px;line-height:24px;font-weight:600;color:var(--blue)}
.theme-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.theme-plat{
  display:inline-flex;align-items:center;gap:7px;
  padding:6px 13px 6px 11px;border-radius:var(--r-pill);
  background:var(--surface);
  font-size:14px;line-height:20px;font-weight:500;letter-spacing:-.2px;color:#5A8A1E;
}
.theme-plat::before{content:"";width:7px;height:7px;border-radius:2px;background:#95BF47;flex:0 0 auto}
.theme-plat+.theme-avail{padding-left:0}   /* the 12px indent is for when it stands alone */
.theme-sub{font-size:22px;line-height:1.5;font-weight:400;color:var(--grey);max-width:760px}
.theme-frame{
  width:100%;max-width:1040px;margin:0 auto;background:var(--surface-2);
  border-radius:var(--r-card);padding:16px;
}
.theme-frame .inner{width:100%;aspect-ratio:1008/520;border-radius:var(--r-inner);
  background-color:var(--surface);overflow:hidden}  /* background-color, not the
  `background` shorthand: the shorthand resets background-image and killed the
  .ph-stripes placeholder pattern. */
.theme-frame .inner img{width:100%;height:100%;object-fit:cover}
.theme-buy{
  max-width:1040px;margin:0 auto;width:100%;
  display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap;
  background:var(--ink-4);border-radius:var(--r-panel);padding:32px 28px;  /* live bar is 127px tall */
}
.theme-buy .price{font-size:36px;line-height:1.2;font-weight:700;color:var(--white)}
.theme-buy .note{font-size:14px;line-height:20px;font-weight:500;color:var(--grey)}
.theme-buy .buy-left{min-width:0}
.theme-buy .setup-from{font-size:16px;line-height:24px;font-weight:500;color:var(--surface);margin-top:4px}
/* The purchase terms: what the price covers and how far support goes. These
   are the sentence to point at when a buyer asks for work the template never
   included -- see also the "Not included" note further down the page. */
.theme-buy .terms{font-size:13px;line-height:19px;color:var(--grey);margin-top:12px;max-width:520px}
/* the same bar on a page for work rather than stock: no price, so the note
   carries the weight and the text may run wider */
.theme-buy.example .note{font-size:14px;letter-spacing:.08em;text-transform:uppercase}
.theme-buy.example .terms{font-size:15px;line-height:23px;color:var(--surface);max-width:540px;margin-top:10px}
.btn-buy{background:#1B8A3A;color:var(--white)}
.btn-buy:hover{filter:brightness(1.08)}
.theme-buy .buy-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;flex:0 1 auto;min-width:0}
.theme-split{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.theme-note{background:var(--surface-2);border-radius:var(--r-panel);padding:24px}
.theme-note h3{font-size:28px;line-height:1.2;font-weight:700;margin-bottom:10px}
.theme-note p{font-size:16px;line-height:1.5;color:var(--grey)}

.theme-cta{
  background:var(--blue);border-radius:var(--r-card);padding:40px;
  display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:nowrap;
}
.theme-cta .btn{flex:0 0 auto}
.theme-cta h2{font-size:36px;line-height:38px;font-weight:700;color:var(--white);
  flex:1 1 auto;max-width:760px}  /* live: 760x76, i.e. two lines, with the pill
     sitting flush right on the same row */

/* ---------- setup tiers (/services/setup/) ----------
   Same card language as the template cards: surface shell, rounded inner
   panel, pill-free. Renders only when SETUP_TIERS has entries. */
.tiers-sec{margin-top:120px}
.tiers-head{margin-bottom:40px}
.tiers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;
  max-width:var(--maxw-card);margin:0 auto;width:100%}
.tier{display:flex;flex-direction:column;gap:12px;padding:32px 28px;
  background:var(--surface);border-radius:var(--r-panel)}
.tier-name{font-size:20px;line-height:26px;font-weight:600;letter-spacing:-.4px;color:var(--ink-2)}
.tier-price{font-size:36px;line-height:1.2;font-weight:700;color:var(--ink)}
.tier-sum{font-size:16px;line-height:1.5;color:var(--grey-2)}
.tier-list{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.tier-list li{position:relative;padding-left:20px;font-size:16px;line-height:1.5;color:var(--grey-2)}
.tier-list li::before{content:"";position:absolute;left:0;top:9px;
  width:7px;height:7px;border-radius:2px;background:var(--blue)}
.tier .btn{margin-top:auto;align-self:flex-start}

/* ---------- contact form ---------- */
/* The published form sits in its own panel 208px below the hero at desktop,
   176px at tablet and 195px on phone -- the section had no top margin at all. */
.s-form{margin-top:208px}
.form-card{
  max-width:1160px;margin:0 auto;width:100%;
  background:#FAFAFA;border:1px solid #ECECEC;border-radius:var(--r-panel);
  padding:40px;box-shadow:var(--shadow-card);
}
.form-card h2{font-size:24px;line-height:1.3;font-weight:700;color:var(--ink-5)}
.form-card .sub{font-size:16px;line-height:1.5;color:var(--grey-3);margin-top:6px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:28px}
.field{display:flex;flex-direction:column;gap:8px}
.field.full{grid-column:1/-1}
.field label{font-size:16px;line-height:1.4;color:var(--ink-5)}
.field input,.field select{
  font:inherit;font-size:16px;color:var(--ink);
  padding:12px 14px;border:1px solid #E3E3E3;border-radius:10px;background:var(--white);
  transition:border-color .18s ease;
}
.field input:focus,.field select:focus{outline:none;border-color:var(--blue)}
.field input::placeholder{color:#B4B4B4}
/* Message is a dropdown, as on the published site. */
.select-wrap{position:relative;display:flex}
.select-wrap select{
  appearance:none;-webkit-appearance:none;
  width:100%;padding-right:44px;cursor:pointer;
}
.select-wrap select:invalid{color:#B4B4B4}      /* the empty first option reads as a placeholder */
.select-wrap .caret{
  position:absolute;right:14px;top:50%;transform:translateY(-50%);
  width:20px;height:20px;color:var(--grey-3);pointer-events:none;
}
.form-card .btn{margin-top:24px}

/* ---------- footer ---------- */
.footer{display:flex;flex-direction:column;gap:86px}
.footer-top{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px}
.footer-stmt{color:var(--ink-3);max-width:420px}
.footer-col h3{font-size:20px;line-height:30px;font-weight:500;letter-spacing:-.4px;color:var(--ink-3);margin-bottom:14px}
.footer-col a{display:block;font-size:18px;line-height:22.5px;font-weight:500;letter-spacing:-.54px;color:var(--ink-4);padding:8px 0;transition:color .18s ease}
.footer-col a:hover{color:var(--blue)}
.socials{display:flex;gap:10px;margin-top:28px}
.socials a{
  width:26px;height:26px;border-radius:7px;background:#EDF3FF;
  display:grid;place-items:center;transition:transform .18s ease;
}
.socials a:hover{transform:translateY(-2px)}
.socials svg{width:13px;height:13px;fill:var(--blue-social)}
.footer-bar{padding-top:106px;border-top:1px solid #EFEFEF;padding-top:28px;font-size:20px;line-height:30px;font-weight:500;letter-spacing:-.4px;color:var(--ink-3)}

/* ==========================================================================
   Tablet  810-1199
   ========================================================================== */
@media (max-width:1199px){
  :root{--sec-gap:120px;--pad-top:140px;--pad-bottom:120px}
  .t-card-h{font-weight:600}   /* the published site drops to 600 below 1200 */
  .shell{padding:var(--pad-top) 40px var(--pad-bottom)}
  .scard{padding:48px 32px;gap:40px;height:auto;min-height:500px}
  .scard-right{width:min(428px,46%)}
  .svc-grid{max-width:none;margin-top:74px}
  .s-form{margin-top:176px}
  .s-faq{margin-top:194px}
  .s-form+.s-faq{margin-top:161px}

  /* Tablet overflow. Three blocks kept their desktop fixed widths all the way
     down to 810px and pushed the page sideways: .vision (a 456+684 grid plus a
     30px indent = 1200px), .tpl-grid (three 313px cards) and .theme-row (two
     480px columns). The published site stacks the vision block here and drops
     the template grid to two columns, so this follows it. */
  .vision{grid-template-columns:1fr;gap:24px;margin-left:0;max-width:none}
  /* Tracks stay equal and the card is capped and centred inside its track.
     `justify-items:center` was doing the centring before, but that also sizes
     each item to its own content -- the category pills differ in length, so
     every card came out a different width. */
  .tpl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}
  .tpl-grid .tpl-card{width:313px;max-width:100%;justify-self:center}
  .theme-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px}
  .theme-split{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tiers{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ==========================================================================
   Phone  <810   (Framer drops the hero to 42px/50.4 here)
   ========================================================================== */
@media (max-width:809px){
  :root{--sec-gap:96px;--pad-top:120px;--pad-bottom:96px;--pad-x:20px}
  .shell{padding:var(--pad-top) 16px var(--pad-bottom)}
  .shell.theme{padding:var(--pad-top) 16px var(--pad-bottom);gap:var(--sec-gap)}
  .shell.theme .wrap{max-width:none}

  /* Phone type scale. Body sizes (statement, FAQ, stat, label, copyright) are
     measured off the published site at 390px and match it. The HEADINGS are
     deliberately larger than Framer's: its phone hero is 33px, which left it
     smaller than every heading under it (.t-stmt 36, .t-section 36, .t-page
     40-42) — an inverted hierarchy. The hero now leads the scale again. */
  .t-hero{font-size:46px;line-height:53px}
  .t-page{font-size:48px;line-height:52px}   /* theme title, above the 42px section h2s */
  .t-section{font-size:40px;line-height:44px}
  .t-stmt{font-size:36px;line-height:43.2px;letter-spacing:-.8px}
  .t-card-h{font-size:32px;line-height:42px;font-weight:600}
  .t-stat{font-size:32px;line-height:38px}
  .t-faq-h{font-size:32px;line-height:40px}
  .t-label{font-size:20px;line-height:20px}
  .footer-bar{font-size:20px;line-height:30px}

  .hero{gap:36px}
  .stack{gap:24px}
  /* The cards pin and stack here as they do at desktop. `position:static` used
     to switch the effect off below 810px. The offset clears the 51px nav pill
     and its 13px of top padding. */
  .stack-item{position:sticky;top:76px}
  /* Phone sticky cards: the published site drops the screenshot entirely here
     (15 images in the DOM at 390px vs 18 at desktop) and runs a 315x514 card
     with 48px/24px padding and a 24px radius. Keeping the image was adding
     ~250px to every card, which also stops the card fitting the scrollport and
     breaks the pinning below. The stat pair is dropped too: at 390px the
     published cards render heading + body + button only. */
  .scard{flex-direction:column;padding:48px 24px;gap:48px;height:auto;
         min-height:0;border-radius:24px}
  .scard::after{width:360px;height:360px;right:-40px;top:-60px}
  .scard-right{display:none}
  .scard-left .btn{margin-top:24px}
  .scard-stats{gap:16px}

  .vision{grid-template-columns:1fr;gap:24px}
  .svc-grid{grid-template-columns:1fr;gap:16px;max-width:420px;margin-top:159px}
  .s-form{margin-top:195px}
  /* Phone gap from the service cards down to the FAQ. The desktop values are
     measured, but they were never overridden here: 259px on home and 354/456px
     on the services pages left a dead screen-and-a-half on a phone. The
     published site runs 113px on home and 201px on /services; its own phone
     layout for /services/setup and /services/tools overlaps (it reports a
     NEGATIVE gap), so those follow /services rather than a broken target. */
  /* .s-vision carried a flat 194px top margin at every width. The published
     site drops to 94px of clearance above the block on a phone (194 desktop,
     183 tablet), which also evens it up against the 113px below it. */
  .s-vision{margin-top:112px}
  .s-faq{margin-top:113px}
  .s-form+.s-faq{margin-top:105px}
  .svc-stack .s-faq,.svcx-page .s-faq{margin-top:201px}
  .svc.drop{margin-top:0}

  .faq-head{min-height:0;padding:18px 0;gap:16px}
  .faq-a,.faq-q{font-size:20px;line-height:28px}

  .tpl-grid{grid-template-columns:minmax(0,1fr);gap:32px;max-width:420px}
  .tpl-grid .tpl-card{width:auto;max-width:none;justify-self:stretch}
  .theme-split{grid-template-columns:1fr}
  .tiers{grid-template-columns:1fr}
  .theme-row{grid-template-columns:1fr;gap:20px}
  .theme-resp .row{grid-template-columns:1fr}
  .theme-mine{padding:24px}
  /* the 45px indent is a desktop measurement; on a phone it just pushes the
     sections out of line with the hero and the panels above them */
  .svcx-secs{padding-left:0}
  .svcx-sec{grid-template-columns:1fr;gap:0}
  .sec-cards,.sec-list{grid-template-columns:1fr}
  .sec-list li{padding-left:14px}
  .svcx-panel{grid-template-columns:1fr;padding:32px 22px}
  .svcx-panel .stats{margin-left:0}
  .svcx-panel .art-slot{margin-left:0}
  .rail>*{flex-basis:270px}
  .rail{margin-inline:-16px;padding-inline:16px}
  .theme-cta{padding:32px 22px;flex-wrap:wrap}
  .theme-cta h2{font-size:26px}
  .theme-buy{padding:20px}
  .theme-buy .price{font-size:28px}
  .theme-sub{font-size:18px}

  .form-card{padding:24px 18px}
  .form-grid{grid-template-columns:1fr}

  .footer{gap:44px}
  .footer-top{grid-template-columns:1fr 1fr;gap:32px}
  .footer-stmt{grid-column:1/-1}
}

@media (max-width:420px){
  .footer-top{grid-template-columns:1fr}
}

/* 320px-class phones only. The widest hero word, "conversions," on /templates/,
   is 291px of min-content at 46px -- wider than the 268px column -- so the hero
   takes one more step down below 360px. Above this the 46px hero is unchanged. */
@media (max-width:359px){
  .t-hero{font-size:38px;line-height:45px}
}

/* A sticky card taller than the scrollport pins its top and parks its bottom
   permanently below the fold -- you can never scroll to see the rest of it. So
   the pinning switches off on short viewports: the card runs ~512px at 360px
   and wider (needs 588 with the 76px offset) and ~654px below that (needs 730). */
@media (max-width:809px) and (max-height:619px){ .stack-item{position:static} }
@media (max-width:359px) and (max-height:744px){ .stack-item{position:static} }

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  .stack-item{position:static}
}

/* ---------- details/summary reset + reveal ---------- */
.faq-head{cursor:pointer;list-style:none}
.faq-head::-webkit-details-marker{display:none}
.faq-head::marker{content:""}

/* Scroll reveal.
   The hidden state is set in CSS off the `js` class, which an inline script in
   <head> adds before anything paints. It used to be applied by app.js, which
   is deferred and therefore runs AFTER first paint: every card rendered fully
   visible, then faded OUT over 600ms when the class landed, then faded back
   in. On a throttled phone that was plainly visible (measured: opacity 1.00 at
   49ms, class added at 275ms, down to 0.13 by 497ms).
   Keep this element list and the one in app.js in step. */
html.js :is(.scard,.svc,.tpl-card,.faq-group,.theme-note,.form-card):not(.rail *){
  opacity:0;transform:translateY(18px);
  transition:opacity .6s cubic-bezier(.22,1,.36,1),transform .6s cubic-bezier(.22,1,.36,1);
}
html.js :is(.scard,.svc,.tpl-card,.faq-group,.theme-note,.form-card).in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  html.js :is(.scard,.svc,.tpl-card,.faq-group,.theme-note,.form-card):not(.rail *){
    opacity:1;transform:none;transition:none;
  }
}
