:root{
  --bg:#0d060b;
  --surface:#1b0e17;
  --surface-2:#2a1522;
  --ink:#ffffff;
  --muted:#b7aeb5;
  --accent:#ff488b;
  --accent-ink:#0d060b;
  --plum:#470c35;
  --plum-ink:#ffffff;
  --paper:#ffffff;
  --paper-ink:#101421;
  --line:#3a2330;
  --ok:#36d39a;
  --radius:10px;
  --gap:10px;

  --step-small:clamp(0.8125rem,0.79rem + 0.1vw,0.875rem);
  --step-body:clamp(1.0625rem,1rem + 0.25vw,1.1875rem);
  --step-lead:clamp(1.25rem,1.1rem + 0.7vw,1.625rem);
  --step-head:clamp(2rem,1.3rem + 3.2vw,4rem);
  --step-mega:clamp(2.6rem,1.2rem + 6vw,6rem);
  --ease:cubic-bezier(.2,.7,.2,1);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:"Schibsted Grotesk",system-ui,sans-serif;
  font-size:var(--step-body);line-height:1.4;letter-spacing:-.01em;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,p{margin:0}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
ul,ol{margin:0}

/* skip link */
.hld-skip{position:absolute;left:-999px;top:0;z-index:50;background:var(--accent);color:var(--accent-ink);padding:10px 16px;border-radius:0 0 var(--radius) 0;font-weight:600}
.hld-skip:focus{left:0}

/* board grid */
.hld-board{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:94px;gap:var(--gap);padding:var(--gap)}

/* data-attribute tile sizing (the methodology) */
[data-w="2"]{grid-column:span 2}[data-w="3"]{grid-column:span 3}[data-w="4"]{grid-column:span 4}
[data-w="5"]{grid-column:span 5}[data-w="6"]{grid-column:span 6}[data-w="7"]{grid-column:span 7}
[data-w="8"]{grid-column:span 8}[data-w="12"]{grid-column:span 12}
[data-h="1"]{grid-row:span 1}[data-h="2"]{grid-row:span 2}[data-h="3"]{grid-row:span 3}
[data-h="4"]{grid-row:span 4}[data-h="5"]{grid-row:span 5}[data-h="6"]{grid-row:span 6}

/* tile base */
.hld-tile{position:relative;border-radius:var(--radius);padding:22px;overflow:hidden;background:var(--surface);min-width:0}
.hld-tile[data-fill="plum"]{background:var(--plum);color:var(--plum-ink)}
.hld-tile[data-fill="paper"]{background:var(--paper);color:var(--paper-ink)}
.hld-tile[data-fill="accent"]{background:var(--accent);color:var(--accent-ink)}
.hld-tile[data-fill="ground"]{background:var(--bg)}
.hld-tile[data-fill="surface2"]{background:var(--surface-2)}
.hld-tile[data-pad="0"]{padding:0}
.hld-k{font-size:var(--step-small);color:var(--muted);font-weight:600;letter-spacing:0}
.hld-tile[data-fill="paper"] .hld-k{color:#5c6472}
.hld-tile[data-fill="accent"] .hld-k,.hld-tile[data-fill="plum"] .hld-k{color:inherit;opacity:.72}

/* nav tile */
.hld-nav{display:flex;align-items:center;gap:20px;height:100%;flex-wrap:wrap}
.hld-nav-mark{font-weight:800;letter-spacing:-.04em;font-size:1.35rem}
.hld-nav-mark b{color:var(--accent)}
.hld-nav-links{display:flex;gap:18px;flex-wrap:wrap;margin-right:auto;font-weight:600;font-size:var(--step-small)}
.hld-nav-links a{color:var(--muted)}
.hld-nav-links a:hover{color:var(--ink)}

/* name + statement */
.hld-namecard{display:flex;flex-direction:column;height:100%;justify-content:space-between}
.hld-mark{font-weight:800;letter-spacing:-.05em;line-height:.88;font-size:var(--step-mega)}
.hld-mark b{color:var(--accent);font-weight:800}
.hld-say{font-weight:600;letter-spacing:-.03em;line-height:1.02;font-size:clamp(1.6rem,1rem + 2.4vw,2.6rem)}
.hld-say em{font-style:normal;color:var(--accent)}
.hld-h1{font-size:clamp(1.9rem,1rem + 3vw,3.8rem);font-weight:800;line-height:.98}
.hld-introbody{display:flex;flex-direction:column;justify-content:center;gap:16px;height:100%}
.hld-link-cta{color:var(--accent)!important}
.hld-link-cta:hover{filter:brightness(1.12)}
.hld-sub{color:var(--muted);margin-top:14px;max-width:46ch;font-weight:400;line-height:1.4}
.hld-tile[data-fill="plum"] .hld-sub{color:#e6cfdd}
.hld-tile[data-fill="accent"] .hld-sub{color:#2b0a1b}

/* buttons */
.hld-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;font-family:inherit;font-weight:600;font-size:var(--step-small);
  min-height:44px;padding:0 20px;border-radius:var(--radius);border:0;cursor:pointer;text-align:center;transition:transform .14s var(--ease),filter .18s var(--ease),background .18s var(--ease)}
.hld-btn[data-kind="primary"]{background:var(--accent);color:var(--accent-ink)}
.hld-btn[data-kind="primary"]:hover{filter:brightness(1.08)}
.hld-btn[data-kind="ghost"]{background:var(--surface-2);color:var(--ink)}
.hld-btn[data-kind="ghost"]:hover{background:#342030}
.hld-btn[data-kind="ground"]{background:#140a11;color:var(--ink)}
.hld-btn[data-kind="ground"]:hover{background:#20121c}
.hld-btn:active{transform:translateY(1px)}
.hld-links{display:flex;gap:18px;margin-top:16px;font-weight:600;font-size:var(--step-small)}
.hld-links a{color:var(--muted)}.hld-links a:hover{color:var(--ink)}
.hld-action{display:flex;flex-direction:column;height:100%;justify-content:space-between;gap:14px}
.hld-action-btns{display:flex;gap:10px;flex-wrap:wrap}

/* stat tiles (animated counters) */
.hld-stat{display:flex;flex-direction:column;justify-content:space-between;height:100%;gap:14px}
.hld-stat .hld-num{font-weight:800;letter-spacing:-.04em;font-size:clamp(2rem,1.2rem + 2vw,3.1rem);line-height:1}
.hld-delta{font-size:var(--step-small);color:var(--ok);font-weight:600}
.hld-delta-pink{color:#ffb3d2}
.hld-delta-muted{color:var(--muted)}

/* data-ui fragments (the product surface) */
[data-ui]{font-size:13px;line-height:1.3}
.hld-seg{display:flex;flex-direction:column;gap:9px;height:100%}
.hld-seg-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px}
.hld-seg-bar{height:8px;border-radius:999px;background:#2a1522;overflow:hidden}
.hld-seg-bar i{display:block;height:100%;background:var(--accent);border-radius:999px;transform-origin:left;transform:scaleX(var(--v,.5));transition:transform 1s var(--ease)}
.hld-seg-row b{font-weight:600}.hld-seg-row span{color:var(--muted);font-variant-numeric:tabular-nums}
.hld-seg-name{display:flex;align-items:center;gap:8px}
.hld-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);flex:0 0 auto}

/* funnel */
.hld-funnel{display:flex;flex-direction:column;gap:8px;height:100%;justify-content:center}
.hld-funnel-row{display:grid;grid-template-columns:92px 1fr 44px;align-items:center;gap:10px}
.hld-funnel-row span:first-child{color:var(--muted)}
.hld-funnel-bar{height:22px;border-radius:6px;background:var(--accent);transform-origin:left;transform:scaleX(var(--v,1));transition:transform .9s var(--ease)}
.hld-funnel-row span:last-child{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}

/* VIP ladder + channel list */
.hld-vip{display:flex;flex-direction:column-reverse;gap:6px;height:100%;justify-content:center}
.hld-vip-step{display:flex;align-items:center;justify-content:space-between;background:#241321;border-radius:7px;padding:9px 12px}
.hld-vip-step[data-top="1"]{background:var(--plum)}
.hld-vip-step b{font-weight:600}.hld-vip-step span{color:var(--muted);font-variant-numeric:tabular-nums}

/* 3D galaxy tile */
.hld-galaxy{position:absolute;inset:0}
.hld-galaxy canvas{width:100%!important;height:100%!important;display:block}
.hld-galaxy-cap{position:absolute;left:22px;bottom:18px;right:22px;z-index:2}
.hld-galaxy-cap .hld-say{font-size:clamp(1.3rem,1rem + 1.4vw,1.9rem)}

/* live demo (the signature live thing) */
.hld-demo{display:grid;grid-template-columns:1.62fr 1fr;height:100%;gap:0;background:var(--surface)}
.hld-demo-stage{background:#140a11;padding:22px;display:flex;flex-direction:column;gap:14px;min-width:0}
.hld-demo-ctrl{background:#20121c;padding:20px;display:flex;flex-direction:column;gap:14px}
.hld-demo-ctrl label{display:block}
.hld-demo-ctrl .hld-k{display:flex;justify-content:space-between}
.hld-demo-ctrl .hld-k b{color:var(--accent);font-variant-numeric:tabular-nums}
input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:6px;border-radius:999px;background:#3a2330;margin:10px 0 0;cursor:pointer}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border-radius:50%;background:var(--accent);border:3px solid #140a11;cursor:pointer}
input[type=range]::-moz-range-thumb{width:20px;height:20px;border:3px solid #140a11;border-radius:50%;background:var(--accent);cursor:pointer}
.hld-demo-out{display:flex;flex-direction:column;gap:3px}
.hld-demo-out .hld-num{font-weight:800;letter-spacing:-.03em;font-size:clamp(1.8rem,1.2rem + 1.6vw,2.6rem);line-height:1;font-variant-numeric:tabular-nums}
.hld-demo-head{display:flex;flex-direction:column;gap:4px}
.hld-demolink{color:var(--accent);font-weight:600;font-size:var(--step-small);margin-top:4px}
.hld-demolink:hover{filter:brightness(1.12)}
@media(max-width:760px){.hld-demo{grid-template-columns:1fr}}

/* photo tile */
.hld-photo{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.05) brightness(.8)}

/* mini ordered list */
.hld-steps-mini{padding-left:1.1em;line-height:1.6;color:var(--ink)}

/* module tile */
.hld-mod{display:flex;flex-direction:column;justify-content:space-between;gap:16px;height:100%}
.hld-bullets{list-style:none;padding:0;display:flex;flex-direction:column;gap:8px;font-size:var(--step-small);color:var(--muted)}
.hld-bullets li{position:relative;padding-left:16px;line-height:1.35}
.hld-bullets li::before{content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;border-radius:50%;background:var(--accent)}
.hld-tile[data-fill="plum"] .hld-bullets{color:#e6cfdd}
.hld-tile[data-fill="plum"] .hld-bullets li::before{background:#ffb3d2}

/* steps page */
.hld-step{display:flex;flex-direction:column;height:100%;justify-content:center}
.hld-step-head{display:flex;align-items:baseline;gap:14px}
.hld-step-ord{font-weight:800;font-size:clamp(2rem,1.4rem + 2vw,3.4rem);letter-spacing:-.05em;color:var(--accent);line-height:.9}
.hld-tile[data-fill="plum"] .hld-step-ord{color:#ffb3d2}

/* integration tile */
.hld-intg{display:flex;flex-direction:column;height:100%}
.hld-intg-ex{margin-top:auto;padding-top:14px;font-size:var(--step-small);color:var(--muted);font-variant-numeric:tabular-nums}

/* plan tile */
.hld-plan{display:flex;flex-direction:column;justify-content:space-between;gap:18px;height:100%}
.hld-plan-tag{font-size:.7em;font-weight:600;color:#ffb3d2}
.hld-plan-price{font-weight:800;font-size:1.3rem;margin-top:14px;letter-spacing:-.02em}
.hld-plan-inc{margin-top:14px}

/* faq tile */
.hld-faq{display:flex;flex-direction:column;height:100%}
.hld-faq-q{font-weight:600;letter-spacing:-.02em;line-height:1.15;font-size:clamp(1rem,.95rem + .35vw,1.15rem)}

/* generic extra tile */
.hld-extra{display:flex;flex-direction:column;height:100%}
.hld-tilelink{color:inherit}
.hld-tilelink:hover{color:var(--accent)}

/* note strip */
.hld-note{font-size:var(--step-small);line-height:1.45;margin:0}
.hld-tile[data-fill="surface2"] .hld-note{color:var(--muted)}

/* footer tiles */
.hld-footmark{font-size:clamp(1.8rem,1rem + 2.2vw,2.6rem)}
.hld-footaddr{font-style:normal;margin-top:8px;color:var(--muted);font-size:var(--step-small);line-height:1.5}
.hld-footaddr a{color:var(--muted)}
.hld-footaddr a:hover{color:var(--ink)}
.hld-foot{display:flex;flex-direction:column;justify-content:space-between;height:100%;gap:10px}
.hld-foot a{display:block;color:var(--muted);padding:3px 0;font-weight:600;font-size:var(--step-small)}
.hld-foot a:hover{color:var(--ink)}
.hld-footline{display:flex;align-items:center;gap:18px;flex-wrap:wrap;height:100%;font-size:var(--step-small);font-weight:600}
.hld-footline-note{opacity:.78;font-weight:400}

/* contact form */
.hld-form{display:flex;flex-direction:column;gap:18px;height:100%}
.hld-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hld-field{display:flex;flex-direction:column;gap:6px}
.hld-field label{font-size:var(--step-small);font-weight:600;color:var(--muted)}
.hld-req{color:var(--accent)}
.hld-field input,.hld-field textarea,.hld-selectwrap select{
  font-family:inherit;font-size:var(--step-body);color:var(--ink);background:#140a11;
  border:1px solid var(--line);border-radius:8px;padding:11px 12px;width:100%} /* taste-skill-ignore: real form fields keep their border */
.hld-field textarea{resize:vertical;min-height:96px}
.hld-field input:focus,.hld-field textarea:focus,.hld-selectwrap select:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.hld-field-check{flex-direction:row;align-items:flex-start;gap:10px;grid-column:1 / -1}
.hld-field-check input{width:20px;height:20px;flex:0 0 auto;margin-top:2px;accent-color:var(--accent)}
.hld-field-check label{color:var(--ink);font-weight:400}
.hld-field-check a{color:var(--accent)}
.hld-field textarea{min-height:110px}
.hld-form .hld-field:has(textarea),.hld-form .hld-field:has(select){grid-column:1 / -1}
.hld-selectwrap{position:relative}
.hld-selectwrap select{-webkit-appearance:none;appearance:none;padding-right:38px;cursor:pointer}
.hld-selectwrap::after{content:"";position:absolute;right:14px;top:50%;width:8px;height:8px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:translateY(-70%) rotate(45deg);pointer-events:none}
.hld-form-foot{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.hld-status{margin:0;font-size:var(--step-small);font-weight:600}
.hld-status[data-state="ok"]{color:var(--ok)}
.hld-status[data-state="error"]{color:#ff7aa6}
.hld-status[data-state="sending"]{color:var(--muted)}
.hld-form-fallback{margin:0;font-size:var(--step-small);color:var(--muted)}
.hld-form-fallback a{color:var(--accent)}
.hld-field[data-invalid="1"] input,.hld-field[data-invalid="1"] textarea,.hld-field[data-invalid="1"] select{border-color:#ff7aa6}

/* prose + legal */
.hld-prose{display:flex;flex-direction:column;height:100%}
.hld-legal{display:flex;flex-direction:column;gap:10px;height:100%}
.hld-legal p{color:var(--muted);font-size:var(--step-body);line-height:1.5}
.hld-legal-h{font-weight:600;letter-spacing:-.02em;line-height:1.15;font-size:clamp(1rem,.95rem + .3vw,1.12rem)}
.hld-legal .hld-ph{color:#ffb3d2;font-weight:600}
.hld-legal ul{list-style:none;padding:0;display:flex;flex-direction:column;gap:7px}
.hld-legal li{font-size:var(--step-body);color:var(--muted);line-height:1.5}

/* motion */
@media(prefers-reduced-motion:no-preference){
  .hld-js .hld-tile{opacity:0;transform:translateY(16px);transition:opacity .6s var(--ease),transform .6s var(--ease)}
  .hld-js .hld-tile.hld-in{opacity:1;transform:none}
  .hld-js .hld-shutter{clip-path:inset(0 100% 0 0)}
  .hld-js .hld-shutter.hld-in{clip-path:inset(0 0 0 0);transition:clip-path 1.05s var(--ease)}
}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* phone board: content-height tiles, no clipping */
@media(max-width:820px){
  .hld-board{grid-auto-rows:auto}
  [data-w]{grid-column:span 6}
  [data-w="3"]{grid-column:span 3}
  [data-w="12"]{grid-column:span 12}
  [data-h]{grid-row:auto}
  .hld-tile{min-height:150px}
  .hld-tile[data-h="1"]{min-height:0}
  .hld-media{min-height:260px}
  .hld-form-grid{grid-template-columns:1fr}
  .hld-nav .hld-btn{margin-left:0}
  /* keep the wordmark inside its half-width tile at tablet */
  .hld-mark{font-size:clamp(1.9rem,1rem + 4vw,2.6rem)}
  /* page headings fit two lines on the narrower tablet tiles */
  .hld-h1{font-size:clamp(1.55rem,1rem + 1.7vw,2.2rem)}
}
@media(max-width:520px){
  .hld-board{grid-template-columns:repeat(6,1fr);padding:8px;gap:8px}
  /* on the 6-col phone track every tile is full width (draft never had w=12 tiles) */
  [data-w="2"],[data-w="3"],[data-w="12"]{grid-column:span 6}
  .hld-nav-links{gap:12px}
}
