/* Agent Site Lab · redesign preview 2026-09-24
   Palette + type per CEO brief §8: paper / ink / one rust accent. */
:root{
  --paper:#F3F0E8; --paper-2:#E8E2D4; --ink:#1C1D1A; --muted:#6E6A60; --muted-2:#5E5A51;
  --rule:#D8D2C4; --rust:#A8482A; --rust-dark:#8A3B22;
  --ph:#1F4E99; --ph-bg:#EAF1FB; --ph-line:#2F6FD0;
  --serif:'Newsreader',Georgia,'Times New Roman',serif;
  --sans:'Public Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,Menlo,Consolas,monospace;
  --gutter:32px;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:18px;line-height:1.6;overflow-x:clip}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{font-family:var(--serif);font-weight:400;letter-spacing:-.01em;line-height:1.08;margin:0}
h2{font-size:clamp(32px,4.2vw,48px)}
h3{font-size:24px;font-weight:500;margin-bottom:14px}
p{margin:0 0 1em}
.mono{font-family:var(--mono);font-weight:400}
.muted{color:var(--muted)}
.wrap{max-width:1280px;margin:0 auto;padding:0 var(--gutter)}

/* buttons + links: one filled rust button, one text link */
.btn{display:inline-block;background:var(--rust);color:#fff;text-decoration:none;font-weight:600;font-size:17px;padding:14px 26px;border-radius:2px;line-height:1.2;transition:background .2s}
.btn:hover,.btn:focus-visible{background:var(--rust-dark)}
.text-link{color:var(--ink);text-decoration:underline;text-decoration-color:var(--rust);text-decoration-thickness:1px;text-underline-offset:4px;font-weight:600}
.text-link:hover{color:var(--rust-dark)}
a:focus-visible,.btn:focus-visible{outline:2px solid var(--ink);outline-offset:3px}

/* preview banner */
.ph-swatch{border:1.5px dashed #8FB4F0;padding:0 5px;color:#CFE0FB}

/* placeholders: dashed, labelled, obviously not final */
.ph{border:2px dashed var(--ph-line);background:var(--ph-bg);color:var(--ph);font-family:var(--sans);font-size:15px;line-height:1.5;border-radius:2px}
.ph p{margin:0 0 .6em;color:var(--ph)}
.ph p:last-child{margin-bottom:0}
.ph-label{display:block;font-family:var(--mono);font-size:12px;letter-spacing:.02em;text-transform:uppercase;font-weight:400;margin-bottom:6px;color:var(--ph)}
.ph-label::before{content:"[PLACEHOLDER] ";font-weight:700}
.ph-block{padding:16px 18px}
.ph-inline{padding:10px 14px;margin:14px 0 0}
.ph-chip{display:inline;padding:1px 6px;font-family:var(--mono);font-size:12px;white-space:normal;box-decoration-break:clone;-webkit-box-decoration-break:clone}
.ph-chip::before{content:"[PLACEHOLDER] ";font-weight:700}
.ph-compact{margin-top:14px}
.ph-dark{background:#22304A;color:#CFE0FB;border-color:#8FB4F0}

/* 1. header */
.site-header{border-bottom:1px solid var(--rule);background:var(--paper)}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:72px;gap:16px}
.wordmark{font-family:var(--sans);font-weight:600;font-size:18px;text-decoration:none;letter-spacing:-.005em;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.wordmark .loc{font-size:12px;color:var(--muted);font-weight:400}
.header-links{display:flex;gap:24px;align-items:center;font-size:16px}
.header-links .strong{color:var(--rust-dark)}
@media(min-width:900px){.site-header{position:sticky;top:0;z-index:20}}

/* 2. hero: 5/7 split, image bleeds right */
.hero{padding:72px 0 120px}
.hero-inner{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:start}
.hero h1{font-size:clamp(38px,4.4vw,60px);line-height:1.04;font-weight:400;max-width:13ch;margin-bottom:26px}
.hero .sub{max-width:34em;font-size:18px}
.price-line{font-size:17px;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:14px 0;margin:26px 0}
.price-line strong{font-weight:600}
.cta-row{display:flex;gap:28px;align-items:center;flex-wrap:wrap}
.hero-media{margin-right:min(calc(-1 * var(--gutter)), calc((1280px - 100vw) / 2 - var(--gutter)));padding-top:8px}
.hero-visual{position:relative;margin-bottom:72px;padding-left:48px}
.hero-media .caption{padding-left:48px;padding-right:var(--gutter)}
.hero-media .ph-block{margin:18px var(--gutter) 0 48px;max-width:560px}

/* frames */
.browser{margin:0;background:#fff;border:1px solid var(--rule);border-radius:6px;overflow:hidden}
.hero .browser{border-right:0;border-radius:6px 0 0 6px}
.browser-bar{display:flex;align-items:center;gap:14px;height:32px;padding:0 12px;background:#ECE8DF;border-bottom:1px solid var(--rule)}
.dots{display:flex;gap:6px}
.dots i{width:9px;height:9px;border-radius:50%;background:#CFC8B8;display:block}
.url{font-size:12px;color:var(--muted-2);background:#F8F6F1;border-radius:3px;padding:2px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.browser figcaption{display:none}
.phone{margin:0;background:#141414;border-radius:34px;padding:9px;box-shadow:0 0 0 1px #2c2c2c}
.phone img{border-radius:26px}
.phone-hero{position:absolute;left:0;bottom:-64px;width:200px}
.caption{font-size:12.5px;color:var(--muted-2);line-height:1.5;margin:10px 0 0}

/* 3. the work */
.work{padding:160px 0 120px;border-top:1px solid var(--rule)}
.work-head{max-width:760px;margin-bottom:64px}
.work-head h2{margin-bottom:12px}
.work-head .lead{font-size:20px;margin-top:18px}
.work-row{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,9fr);gap:40px;align-items:start;margin-bottom:64px}
.work-row.reverse{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:center;margin-top:24px}
.note{display:flex;gap:14px;align-items:flex-start;font-size:17px}
.note p{margin:0}
.note .ph{margin-top:14px}
.num{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid var(--ink);border-radius:50%;font-size:13px;line-height:1;margin-top:1px}
.work-row .note{position:sticky;top:96px;padding-top:40px}
.work-row .note a,.more-list a,.note a{text-decoration-color:var(--rust);text-underline-offset:3px}
.shot-wide .caption{display:block}
.pair{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:40px;align-items:start;margin:0 0 64px}
.pair-small{margin-top:120px}
.pair figcaption,.shot-wide figcaption{display:block;padding:10px 12px;background:#fff;border-top:1px solid var(--rule);margin:0}
.plain-shot{margin:0}
.plain-shot img{border:1px solid var(--rule)}
.fit-shot{max-width:460px}
.note-long{font-size:19px;max-width:32em}
.form-row{display:grid;grid-template-columns:minmax(0,8fr) minmax(0,4fr);gap:56px;align-items:start;margin:120px 0 96px}
.form-shot .note{margin-bottom:22px;max-width:38em}
.phone-col{display:flex;flex-direction:column;gap:22px;max-width:280px;margin-top:40px}
.more{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,6fr);gap:56px;align-items:start;border-top:1px solid var(--rule);padding-top:48px}
.more-list{list-style:none;margin:0;padding:0}
.more-list li{display:flex;gap:14px;align-items:flex-start;padding:0 0 18px;font-size:17px}
.more-list li p{margin:0}
.work-foot{margin-top:56px;max-width:720px}

/* 4. what you get */
.get{padding:120px 0 120px;border-top:1px solid var(--rule)}
.get h2{margin-bottom:48px}
.get-cols{display:grid;grid-template-columns:1fr 1fr;gap:0}
.get-cols>div{padding-right:48px}
.get-cols>div+div{padding:0 0 0 48px;border-left:1px solid var(--rule)}
ul.plain{margin:0;padding:0 0 0 1.1em}
ul.plain li{margin-bottom:12px;padding-left:4px}
ul.plain li::marker{color:var(--muted)}
.straight{margin-top:48px;padding-top:28px;border-top:1px solid var(--rule);max-width:44em}

/* 5. founder: the only background change */
.founder{background:var(--paper-2);padding:120px 0 128px}
.founder-inner{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:start}
.ph-photo{aspect-ratio:4/5;display:flex;flex-direction:column;justify-content:center;padding:28px;max-width:440px;width:100%}
.founder-note{max-width:66ch}
.founder-note h2{margin-bottom:24px}
.note-option{padding:14px 0 6px;border-top:1px dashed #9DBBEA}
.note-option:first-of-type{border-top:0;padding-top:4px}
.note-option p{color:#1B3F7A}
.opt{font-size:12px;text-transform:uppercase;letter-spacing:.04em;font-weight:700!important}
.signature{font-family:var(--serif);font-size:40px;line-height:1;margin:28px 0 8px}
.contact-line{font-size:16px;color:var(--muted-2)}
.founder a{color:var(--rust-dark)}

/* 6. price */
.price{padding:200px 0 120px}
.price-inner{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,6fr);gap:72px;align-items:start}
.amount{font-family:var(--serif);font-size:clamp(46px,6.4vw,88px);line-height:1.02;letter-spacing:-.02em;margin:0 0 24px}
.amount span{display:block;white-space:nowrap}
.price .small{font-size:17px;color:var(--muted);max-width:30em}
.steps h2{font-size:32px;margin-bottom:22px}
.step-list{margin:0 0 20px;padding-left:1.4em}
.step-list li{padding:0 0 14px 6px;border-bottom:1px solid var(--rule);margin-bottom:14px}
.step-list li::marker{font-family:var(--mono);font-size:14px;color:var(--muted)}
.steps .btn{margin-top:28px}

/* 7. faq + closing */
.faq{padding:120px 0 120px;border-top:1px solid var(--rule)}
.faq-list,.closing{max-width:880px}
.faq h2{margin-bottom:32px}
.faq-list details{border-top:1px solid var(--rule);padding:18px 0}
.faq-list details:last-child{border-bottom:1px solid var(--rule)}
.faq-list summary{cursor:pointer;font-family:var(--serif);font-size:23px;list-style:none;display:flex;justify-content:space-between;gap:16px}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"+";font-family:var(--sans);color:var(--muted)}
.faq-list details[open] summary::after{content:"\2013"}
.faq-list details>p{margin:12px 0 0;max-width:40em}
.closing{margin-top:96px}
.closing-line{font-family:var(--serif);font-size:clamp(26px,3vw,36px);line-height:1.2;max-width:22em;margin-bottom:26px}
.or{margin-top:18px;font-size:16px;color:var(--muted-2)}
.or a{color:var(--ink)}

/* footer */
.site-footer{background:var(--ink);color:#E9E5DA;padding:56px 0 64px;font-size:15px}
.site-footer a{color:#fff}
.site-footer p{margin:0 0 6px}
.site-footer .muted{color:#B9B3A5}
.wordmark-sm{font-weight:600;font-size:18px;margin-bottom:12px!important}

/* mobile bar */
.mobile-bar{display:none}

/* ---------- responsive ---------- */
@media(max-width:1100px){
  .hero-inner{gap:40px}
  .phone-hero{width:170px}
}
@media(max-width:899px){
  :root{--gutter:20px}
  body{font-size:17px;padding-bottom:76px}
  .hide-sm{display:none}
  .hero{padding:44px 0 72px}
  .hero-inner{grid-template-columns:1fr;gap:36px}
  .hero h1{max-width:13ch}
  .hero-media{margin-right:calc(-1 * var(--gutter))}
  .hero-visual{padding-left:0;margin-bottom:48px}
  .hero-media .caption{padding-left:0}
  .hero-media .ph-block{margin-left:0}
  .phone-hero{width:31%;min-width:104px;left:auto;right:calc(var(--gutter) + 6px);bottom:-40px;border-radius:22px;padding:6px}
  .phone-hero img{border-radius:17px}
  .work{padding:104px 0 80px}
  .work-head{margin-bottom:40px}
  .work-head .lead{font-size:18px}
  .work-row,.work-row.reverse{grid-template-columns:1fr;gap:20px;margin-bottom:48px}
  .work-row .note{position:static;padding-top:0}
  .pair{grid-template-columns:1fr;gap:32px}
  .pair-small{margin-top:0;width:82%;margin-left:auto}
  .form-row{grid-template-columns:1fr;margin:72px 0 56px;gap:40px}
  .phone-col{margin:0 auto;max-width:300px}
  .phone-col .phone{width:78%;margin:0 auto}
  .more{grid-template-columns:1fr;gap:32px}
  .get{padding:88px 0}
  .get h2{margin-bottom:32px}
  .get-cols{grid-template-columns:1fr}
  .get-cols>div{padding:0}
  .get-cols>div+div{padding:28px 0 0;border-left:0;border-top:1px solid var(--rule);margin-top:20px}
  .founder{padding:88px 0}
  .founder-inner{grid-template-columns:1fr;gap:36px}
  .ph-photo{max-width:340px}
  .price{padding:120px 0 88px}
  .price-inner{grid-template-columns:1fr;gap:48px}
  .faq{padding:88px 0}
  .faq-list summary{font-size:20px}
  .closing{margin-top:64px}
  .mobile-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:30;align-items:center;justify-content:space-between;gap:16px;padding:12px var(--gutter) calc(12px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--rule)}
  .mobile-bar .btn{flex:1;text-align:center}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* ---------- v2 (2026-09-27): why, sample, reorder ---------- */
.why{padding:140px 0 120px;border-top:1px solid var(--rule)}
.why-inner{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:start}
.why-head h2{margin-bottom:20px}
.why-head .lead{font-size:20px;max-width:26em}
.why-list{list-style:none;margin:0;padding:0;counter-reset:why}
.why-list li{counter-increment:why;border-top:1px solid var(--rule);padding:26px 0 22px 52px;position:relative}
.why-list li:last-child{border-bottom:1px solid var(--rule)}
.why-list li::before{content:counter(why);position:absolute;left:0;top:28px;font-family:var(--mono);font-size:13px;width:28px;height:28px;border:1px solid var(--ink);border-radius:50%;display:flex;align-items:center;justify-content:center}
.why-list h3{font-size:26px;margin-bottom:10px}
.why-list p{margin:0;max-width:36em}
.price{padding:160px 0 120px;border-top:1px solid var(--rule)}
.work.sample{padding:120px 0 120px}
.sample-inner{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:start}
.sample-text h2{margin-bottom:16px}
.sample-text .lead{font-size:19px;margin-bottom:28px}
.sample-media{padding-top:8px}
.sample-visual{position:relative;padding-right:56px;margin-bottom:56px}
.sample-phone{position:absolute;right:0;bottom:-48px;width:170px}
.sample-notes{list-style:none;margin:0;padding:0}
.sample-notes li{border-top:1px solid var(--rule);padding:14px 0;font-size:17px}
.sample-notes li:last-child{border-bottom:1px solid var(--rule)}
.ph-block-inline{display:block}
@media(max-width:899px){
  .why{padding:88px 0}
  .why-inner{grid-template-columns:1fr;gap:28px}
  .why-head .lead{font-size:18px}
  .why-list h3{font-size:22px}
  .why-list li{padding-left:44px}
  .price{padding:88px 0}
  .work.sample{padding:88px 0}
  .sample-inner{grid-template-columns:1fr;gap:32px}
  .sample-visual{padding-right:0;margin-bottom:40px}
  .sample-phone{width:30%;min-width:100px;right:6px;bottom:-36px;border-radius:22px;padding:6px}
  .sample-phone img{border-radius:17px}
}

/* v3 (2026-09-27): founder note final */
.founder-text p{font-size:18px;max-width:36em}
.founder-sign{font-weight:600;margin-top:24px}
.founder-cta{margin-top:12px}
.founder-sign{margin-bottom:4px}
.founder-text .founder-licence{font-size:14px;color:var(--muted-2);margin-top:0}
.founder .btn{color:#fff}
a[href^="tel:"]{white-space:nowrap}

/* v4 (2026-09-27): final copy for P5/P6/P8/P10/P11/P13/P14/P16; tidy P1/P4 */
.price .regular{margin-top:-6px}
.currency-note{font-size:13px;color:var(--muted-2);margin:4px 0 0}
.timeline{font-weight:600;margin:6px 0 0}
.featured-note{font-size:12.5px;color:var(--muted-2);margin:22px 0 0}
.ph-photo{align-items:center;text-align:center;background:repeating-linear-gradient(135deg,var(--ph-bg) 0 14px,#E2ECFA 14px 28px)}
.ph-photo p{max-width:22em}
.ph-device{max-width:460px}

/* v5 (2026-09-27): founder photo */
.founder-photo{margin:0;max-width:440px;width:100%}
.founder-photo img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:2px}
@media(max-width:899px){.founder-photo{max-width:340px}}

/* v6 (2026-09-27): sample-site video inside the browser frame */
.sample-video{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;background:#1b1a18}
