

:root{
  --black:#0b0b0a;--ink:#0d0d0c;--white:#fff;
  /* Design system: text is black/white only; the single accent is dark green.
     --olive / --olive-dk are kept as names but now resolve to the dark green so
     every accent across landing, auth and dashboard stays consistent. */
  --green:#0d0d0c;--green-dk:#000;--green-soft:rgba(0,0,0,.05);
  --cream:#f6f6f4;--feature:#0d0d0c;--olive:#0d0d0c;--olive-dk:#000;--slate:#fff;
  --maxw:1240px;
  --pad:max(clamp(22px,4vw,60px),calc((100% - var(--maxw)) / 2));
  --bg:#faf9f6;--app:#f5f4f0;--panel:#ffffff;--sidebar:#0d0d0c;
  --line:rgba(0,0,0,.09);--line2:rgba(0,0,0,.14);
  --hover:rgba(0,0,0,.05);--active:rgba(0,0,0,.085);
  --r1:4px;--r2:6px;--r3:10px;--r4:14px;
  --side-w:264px;--side-collapsed:56px;--ease:.22s cubic-bezier(.4,0,.2,1);
  /* Inter is the whole voice of the site. The old stack named Helvetica Neue,
     which does not exist on Windows/Android — everything silently fell back to
     Arial, which is why the type read as cheap. */
  --sans:"Inter","Helvetica Neue",Helvetica,Arial,sans-serif;
  --mono:"IBM Plex Mono",monospace;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-padding-top:72px}
body{font-family:var(--sans);background:var(--black);color:var(--white);font-size:17px;line-height:1.5;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
  font-feature-settings:"kern" 1,"liga" 1,"calt" 1;text-rendering:optimizeLegibility}
@supports (font-variation-settings:normal){body{font-optical-sizing:auto}}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
/* display type: heavier optical grade + tight tracking that loosens at small sizes */
h1,h2,h3,h4{font-weight:600;letter-spacing:-.022em;line-height:1.08}
h1{letter-spacing:-.035em}
.arrow{display:inline-block;transform:translateY(1px)}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid currentColor;outline-offset:3px}

/* view switching */
.view{display:none}
.view.active{display:block}

/* image holders — solid neutral surfaces only. The assigned image (.ph-img)
   covers them when present. No placeholder hatch, no overlay labels. */
.ph{position:relative;background:#141414;overflow:hidden;border:1px solid rgba(255,255,255,.06)}
.page-section.light .ph{border-color:rgba(0,0,0,.08);background:#ececea}

/* ============================================================
   MARKETING SYSTEM — mobile first.
   Base rules target a phone; min-width queries scale up.
   Palette is black / white only. Sections alternate light and
   dark so the page reads as distinct chapters.
   ============================================================ */

/* ---------- shared: image holders ---------- */
.ph{position:relative;background:#141414;overflow:hidden}
.ph-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}

/* ---------- shared: CTA button ----------
   Compact and quiet: a hairline capsule that fills on hover, with an arrow that
   steps forward. Auto-width at every size — never a full-width slab. */
.btn{
  position:relative;display:inline-flex;align-items:center;justify-content:center;gap:9px;
  height:46px;padding:0 24px;
  border:1px solid currentColor;border-radius:100px;background:transparent;
  font-family:var(--sans);font-size:14px;font-weight:500;letter-spacing:-.005em;
  cursor:pointer;white-space:nowrap;
  transition:background .22s ease,color .22s ease,border-color .22s ease;
}
.btn::after{content:"";width:5px;height:5px;flex:none;
  border-right:1.5px solid currentColor;border-top:1.5px solid currentColor;
  transform:rotate(45deg);transition:transform .22s ease}
.btn:hover::after{transform:rotate(45deg) translate(2px,-2px)}
.btn:active{transform:scale(.99)}

/* on dark: hairline white -> fills white */
.btn.ghost{color:#fff;border-color:rgba(255,255,255,.45)}
.btn.ghost:hover{background:#fff;color:#0d0d0c;border-color:#fff}
/* on dark: the primary — solid white -> hollows out */
.btn.solid{background:#fff;color:#0d0d0c;border-color:#fff}
.btn.solid:hover{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
/* on light: solid black -> hollows out */
.btn.dark-line{background:#0d0d0c;color:#fff;border-color:#0d0d0c}
.btn.dark-line:hover{background:transparent;color:#0d0d0c;border-color:rgba(13,13,12,.4)}

/* ---------- shared: link button ----------
   The section CTA. Text on a hairline rule that sweeps in on hover. */
.btn-link{
  position:relative;display:inline-flex;align-items:center;gap:9px;
  padding:0 0 7px;background:none;border:0;cursor:pointer;
  font-family:var(--sans);font-size:15px;font-weight:500;letter-spacing:-.012em;
  color:inherit;white-space:nowrap}
.btn-link::before{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;
  background:currentColor;opacity:.28;transition:opacity .22s ease}
.btn-link::after{content:"";width:5px;height:5px;flex:none;
  border-right:1.5px solid currentColor;border-top:1.5px solid currentColor;
  transform:rotate(45deg);transition:transform .22s ease}
.btn-link:hover::before{opacity:1}
.btn-link:hover::after{transform:rotate(45deg) translate(3px,-3px)}

/* ---------- shared: underlined text link ---------- */
.link-u{display:inline-block;font-size:15px;font-weight:600;letter-spacing:-.01em;
  border-bottom:1px solid currentColor;padding-bottom:2px;transition:opacity .2s}
.link-u:hover{opacity:.6}
.arrow{display:inline-block;transform:translateY(1px)}

/* scroll reveal is off — content is always visible. .io stays in the markup
   harmlessly so the observer has nothing to hide. */
.io{opacity:1;transform:none}

/* ============ HEADER ============ */
/* Transparent over the hero; solid black once scrolled. Hides on scroll-down,
   returns on scroll-up (.nav-hidden, toggled in JS). */
.site-header{position:fixed;top:0;left:0;right:0;z-index:90;color:#fff;
  background:transparent;border-bottom:1px solid transparent;
  transition:transform .4s cubic-bezier(.2,.7,.2,1),background .3s,border-color .3s}
.site-header.scrolled{background:#0d0d0c;border-bottom-color:rgba(255,255,255,.1)}
.site-header.nav-hidden{transform:translateY(-100%)}

.header-inner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;
  height:60px;padding:0 var(--pad)}
.header-logo{justify-self:start;line-height:0}
.header-logo img{display:block;height:24px;width:auto}
.header-nav{display:none}
.header-right{justify-self:end;display:flex;align-items:center;gap:2px}

.h-search,.burger{display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;color:#fff;opacity:.9;transition:opacity .2s}
.h-search:hover,.burger:hover{opacity:1}
.h-search svg{display:block}
.burger{flex-direction:column;gap:6px}
.burger span{display:block;width:22px;height:1.5px;background:#fff;border-radius:2px}

@media(min-width:1000px){
  .header-inner{grid-template-columns:1fr auto 1fr;height:68px}
  .header-logo img{height:26px}
  /* nav centred in its own column */
  .header-nav{justify-self:center;display:flex;align-items:center;gap:clamp(20px,2.4vw,38px)}
  .header-nav a{position:relative;padding:6px 0;font-size:14px;font-weight:500;letter-spacing:-.005em;
    white-space:nowrap;color:#fff;opacity:.75;transition:opacity .2s}
  .header-nav a:hover,.header-nav a[aria-current="page"]{opacity:1}
  .header-nav a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;
    background:currentColor;transform:scaleX(0);transform-origin:left;
    transition:transform .28s cubic-bezier(.2,.7,.2,1)}
  .header-nav a:hover::after,.header-nav a[aria-current="page"]::after{transform:scaleX(1)}
  .burger{display:none}}

/* ============ HERO ============ */
/* Copy sits in the lower third — below the optical centre, clear of the header,
   with the dots pinned to the bottom centre underneath it. */
.hero{position:relative;min-height:100svh;overflow:hidden;
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:120px var(--pad) 104px}
@media(min-width:768px){.hero{padding:140px var(--pad) 124px}}

.hero-slides{position:absolute;inset:0;z-index:0;touch-action:pan-y}
.hero-slide{position:absolute;inset:0;opacity:0;pointer-events:none;
  transition:opacity 1s cubic-bezier(.4,0,.2,1)}
.hero-slide.active{opacity:1}
.hero-slide .ph{position:absolute;inset:0}
/* Phone only: slide 2 sits 30% further left inside its frame. A 16:9 photo in a
   portrait viewport is cropped hard on the width, so object-position picks which
   slice survives — 50% is the middle, 80% shifts the picture left and keeps the
   right-hand third. Done this way rather than a transform, which could drag a
   blank edge into view once the overflow runs out. */
@media(max-width:767px){
  .hero-slide[data-slide="1"] .ph-img{object-position:80% center}}
/* scrim: heavier on a phone, where type sits over the busiest part of the frame */
.hero-slides::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.5) 0%,rgba(0,0,0,.25) 35%,rgba(0,0,0,.75) 100%)}
@media(min-width:768px){
  .hero-slides::after{background:linear-gradient(95deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.45) 45%,rgba(0,0,0,.12) 100%)}}

.hero-stack{position:relative;z-index:2;margin:0;max-width:16ch;
  font-size:clamp(31px,8vw,62px);font-weight:600;line-height:1.06;letter-spacing:-.035em;
  text-transform:uppercase;text-shadow:0 2px 24px rgba(0,0,0,.45)}
.hero-stack .reveal-line{display:block}

.hero-sub{position:relative;z-index:2;margin:16px 0 0;max-width:46ch;
  font-size:15.5px;font-weight:400;line-height:1.55;letter-spacing:-.01em;opacity:.82;
  text-shadow:0 1px 16px rgba(0,0,0,.5);
  transition:opacity .3s ease,transform .3s ease}
.hero-sub.swapping{opacity:0;transform:translateY(6px)}
@media(min-width:768px){.hero-sub{margin-top:18px;font-size:17px}}

.hero-ctas{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
@media(min-width:768px){.hero-ctas{gap:12px;margin-top:32px}}

/* Three small dots, pinned bottom-centre of the hero at every size. Each button
   is a generous, non-overlapping tap target; the visible dot is drawn by
   ::before, so the dot stays small while the hit area stays thumb-sized.
   (Overlapping hit areas would let one dot steal its neighbour's taps.) */
.hero-dots{position:absolute;left:0;right:0;bottom:40px;z-index:3;
  display:flex;justify-content:center;gap:2px;margin:0}
.hero-dot{position:relative;width:22px;height:40px;padding:0;background:none;cursor:pointer}
.hero-dot::before{content:"";position:absolute;left:50%;top:50%;
  width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.38);
  transform:translate(-50%,-50%);transition:background .3s,transform .3s}
.hero-dot:hover::before{background:rgba(255,255,255,.65)}
.hero-dot.active::before{background:#fff;transform:translate(-50%,-50%) scale(1.25)}

/* ============ TOPIC SECTIONS (Tesla-style) ============
   Copy on one side, the image matted inside a rounded container on the other.
   Alternating .light / .dark backgrounds break the page into chapters. */
.sec-split{padding:72px var(--pad)}
@media(min-width:768px){.sec-split{padding:104px var(--pad)}}
@media(min-width:1000px){
  .sec-split{display:flex;align-items:center;min-height:92vh;padding:120px var(--pad)}}
.sec-split.dark{background:#0d0d0c;color:#fff}
.sec-split.light{background:#f4f4f2;color:#0d0d0c}

.sec-inner{display:grid;gap:36px;width:100%;max-width:var(--maxw);margin:0 auto}
@media(min-width:1000px){
  .sec-inner{grid-template-columns:4fr 6fr;gap:clamp(48px,6vw,96px);align-items:center}
  /* .rev puts the 60% image on the left */
  .sec-split.rev .sec-inner{grid-template-columns:6fr 4fr}
  .sec-split.rev .ss-text{order:2}
  .sec-split.rev .ss-media{order:1}}

/* The container is just the image — no frame, no border, no padding. The 4:3 is
   fixed and object-fit:cover crops to it, so any source ratio lands identically. */
.ss-media{order:-1;border-radius:12px;overflow:hidden}
@media(min-width:1000px){.ss-media{order:0;border-radius:14px}}
.ss-media .ph{aspect-ratio:4/3;border-radius:inherit}
.sec-split.light .ph{background:#e2e2de}

.ss-text h2{margin:0;font-size:clamp(27px,6.6vw,34px);line-height:1.08;letter-spacing:-.032em}
@media(min-width:768px){.ss-text h2{font-size:clamp(34px,3.7vw,48px)}}
.ss-text p{margin:16px 0 0;max-width:46ch;
  font-size:15.5px;font-weight:400;line-height:1.6;letter-spacing:-.01em;opacity:.68}
@media(min-width:768px){.ss-text p{margin-top:20px;font-size:16.5px}}
.ss-text .btn-link{margin-top:26px}
@media(min-width:768px){.ss-text .btn-link{margin-top:32px}}

/* ============ SPLIT CTA ============
   No images — two half-panels, one light one dark, that read as a decision. */
.split-cta{display:grid;grid-template-columns:1fr}
@media(min-width:900px){.split-cta{grid-template-columns:1fr 1fr}}
.cta-panel{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  gap:16px;padding:72px var(--pad);min-height:52vh}
@media(min-width:900px){.cta-panel{padding:120px clamp(40px,5vw,80px);min-height:66vh}}
.cta-panel.light{background:#f4f4f2;color:#0d0d0c}
.cta-panel.dark{background:#0d0d0c;color:#fff;border-top:1px solid rgba(255,255,255,.1)}
@media(min-width:900px){.cta-panel.dark{border-top:0;border-left:1px solid rgba(255,255,255,.1)}}
.cta-panel h2{margin:0;font-size:clamp(27px,6.6vw,34px);line-height:1.08;letter-spacing:-.032em}
@media(min-width:768px){.cta-panel h2{font-size:clamp(32px,3vw,44px)}}
.cta-panel .cta-body{margin:0;max-width:42ch;
  font-size:15.5px;font-weight:400;line-height:1.6;letter-spacing:-.01em;opacity:.68}
@media(min-width:768px){.cta-panel .cta-body{font-size:16.5px}}
.cta-panel .btn{margin-top:12px}

/* ============ FOOTER ============ */
footer{background:#0d0d0c;color:#fff;padding:64px var(--pad) 32px;
  border-top:1px solid rgba(255,255,255,.1)}
@media(min-width:768px){footer{padding:88px var(--pad) 36px}}

.foot-top{display:grid;gap:48px;max-width:var(--maxw);margin:0 auto 56px}
@media(min-width:900px){
  .foot-top{grid-template-columns:minmax(240px,1fr) 1.5fr;gap:clamp(48px,7vw,110px);margin-bottom:72px}}
.foot-brand{display:flex;flex-direction:column;align-items:flex-start}
.foot-logo{line-height:0}
.foot-logo img{display:block;height:30px;width:auto}
.foot-tag{margin-top:20px;max-width:30ch;
  font-size:17px;font-weight:500;line-height:1.45;letter-spacing:-.02em;opacity:.75}
@media(min-width:768px){.foot-tag{font-size:19px}}

.foot-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px 24px}
@media(min-width:640px){.foot-grid{grid-template-columns:repeat(4,1fr);gap:clamp(20px,3vw,36px)}}
.foot-col{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.foot-col h5{margin-bottom:6px;font-family:var(--sans);
  font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;opacity:.45}
.foot-col a{position:relative;font-size:15px;font-weight:400;opacity:.8;transition:opacity .2s}
.foot-col a:hover{opacity:1}
.foot-col a::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:1px;
  background:currentColor;transform:scaleX(0);transform-origin:left;
  transition:transform .28s cubic-bezier(.2,.7,.2,1)}
.foot-col a:hover::after{transform:scaleX(1)}

.foot-bottom{display:flex;max-width:var(--maxw);margin:0 auto;
  padding-top:28px;border-top:1px solid rgba(255,255,255,.1)}
.foot-copy{font-size:13px;font-weight:400;letter-spacing:0;text-transform:none;opacity:.45}

/* Big wordmark lockup, centred at the very bottom. The artwork is white with a
   transparent ground, so it sits straight on the footer. Capped at its native
   1643px so it never upscales into softness. */
.foot-wordmark{margin:clamp(48px,8vw,84px) auto clamp(24px,4vw,44px);
  max-width:min(var(--maxw),1643px);line-height:0}
.foot-wordmark img{display:block;width:100%;height:auto}

/* ============ SEARCH OVERLAY ============ */
.site-search-overlay{position:fixed;inset:0;z-index:220;display:none;flex-direction:column;
  padding:20px var(--pad) 40px;overflow-y:auto;
  background:rgba(6,6,6,.72);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}
.site-search-overlay.open{display:flex;animation:menuIn .25s ease both}
.search-box{display:flex;align-items:center;gap:14px;margin-bottom:24px;padding-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,.2)}
.search-box input{flex:1;min-width:0;background:none;border:0;outline:none;color:#fff;
  font-family:var(--sans);font-size:24px;font-weight:600;letter-spacing:-.03em}
@media(min-width:768px){.search-box input{font-size:38px}}
.search-box input::placeholder{color:rgba(255,255,255,.35)}
.site-search-close{width:44px;height:44px;flex:none;font-size:30px;font-weight:300;line-height:1;color:#fff;opacity:.7}
.site-search-close:hover{opacity:1}
.site-search-results a{display:block;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.1);transition:opacity .15s}
.site-search-results a:hover{opacity:.65}
.site-search-results .sr-title{font-size:17px;font-weight:600;letter-spacing:-.02em;color:#fff}
@media(min-width:768px){.site-search-results .sr-title{font-size:21px}}
.site-search-results .sr-sub{margin-top:5px;font-size:11px;font-weight:600;letter-spacing:.1em;
  text-transform:uppercase;opacity:.45}

/* ============ CONTACT OVERLAY ============ */
.contact-overlay{position:fixed;inset:0;z-index:230;display:none;align-items:center;justify-content:center;
  padding:20px;overflow-y:auto;
  background:rgba(6,6,6,.72);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}
.contact-overlay.open{display:flex;animation:menuIn .25s ease both}
.contact-card{position:relative;width:100%;max-width:620px;padding:36px 24px 32px;
  background:#0d0d0c;border:1px solid rgba(255,255,255,.14);border-radius:22px;color:#fff}
@media(min-width:768px){.contact-card{padding:52px 48px 44px}}
.contact-close{position:absolute;top:10px;right:12px;width:44px;height:44px;
  font-size:28px;font-weight:300;line-height:1;color:#fff;opacity:.6}
.contact-close:hover{opacity:1}
.contact-card h2{margin:0;font-size:clamp(28px,7vw,40px);line-height:1.05;letter-spacing:-.035em}
.contact-card p{margin:14px 0 0;max-width:44ch;
  font-size:15.5px;font-weight:400;line-height:1.55;letter-spacing:-.01em;opacity:.7}
.contact-rows{display:grid;gap:1px;margin-top:32px;background:rgba(255,255,255,.12);
  border-radius:14px;overflow:hidden}
.contact-row{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:5px;
  width:100%;min-height:70px;padding:16px 18px;text-align:left;background:#0d0d0c;transition:background .18s}
.contact-row:hover,.contact-row.copied{background:#191918}
.cr-label{font-size:10.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;opacity:.45}
.cr-value{font-size:18px;font-weight:600;letter-spacing:-.02em;word-break:break-word}
@media(min-width:768px){.cr-value{font-size:21px}}
.cr-copy{position:absolute;top:50%;right:18px;transform:translateY(-50%);
  font-size:10.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;opacity:0;transition:opacity .18s}
.contact-row:hover .cr-copy,.contact-row.copied .cr-copy{opacity:.6}
.contact-row.copied .cr-copy{opacity:1}
@media(max-width:600px){.cr-copy{display:none}}
.contact-map{display:inline-block;margin-top:24px;padding-bottom:3px;
  font-size:13.5px;line-height:1.55;opacity:.5;
  border-bottom:1px solid rgba(255,255,255,.25);transition:opacity .2s}
.contact-map:hover{opacity:1}

/* ============ MOBILE MENU ============ */
.menu{position:fixed;inset:0;z-index:200;display:none;flex-direction:column;overflow-y:auto;
  padding:20px var(--pad) 48px;background:#0d0d0c}
.menu.open{display:flex;animation:menuIn .3s ease both}
@keyframes menuIn{from{opacity:0}to{opacity:1}}
.menu-top{display:flex;align-items:center;justify-content:space-between;height:40px;margin-bottom:40px}
.menu-top .label{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;opacity:.45}
.menu-close{width:44px;height:44px;margin-right:-10px;font-size:28px;font-weight:300;line-height:1;opacity:.7}
.menu-close:hover{opacity:1}
.menu-links{display:flex;flex-direction:column}
.menu-links a{padding:14px 0;font-size:32px;font-weight:600;letter-spacing:-.035em;line-height:1.1;
  color:#fff;transition:opacity .2s}
.menu-links a:hover{opacity:.6}
.menu-block{margin-top:44px}
.menu-block h5{margin-bottom:14px;font-size:11px;font-weight:600;letter-spacing:.12em;
  text-transform:uppercase;opacity:.45}
.menu-block a{display:block;padding:5px 0;font-size:17px;font-weight:500;letter-spacing:-.02em;
  opacity:.85;transition:opacity .2s}
.menu-block a:hover{opacity:1}


/* =================================================================
   AUTH + VERIFY (form LEFT, image RIGHT)
   ================================================================= */


@media(max-width:480px){.back-corner{top:20px;left:20px}}

/* auth fade-in */
@keyframes fadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
body.app-active{overflow:hidden}

/* sidebar (dark{width:var(--side-w);height:100%;background:var(--sidebar);border-right:.5px solid rgba(255,255,255,.08);display:flex;flex-direction:column;flex-shrink:0;transition:width var(--ease),transform var(--ease);z-index:20;overflow:hidden;color:rgba(255,255,255,.7)}
.workspace:not(.has-chat) .chatbar-zone{position:absolute;top:50%;transform:translateY(42px);padding:0 22px}
.send-btn:hover:not(:disabled){background:var(--olive-dk);transform:scale(1.04)}

/* overlays */
.overlay{display:none;position:absolute;inset:0;z-index:50}.overlay.open{display:flex}
.search-overlay{align-items:center;justify-content:center;background:rgba(0,0,0,.5);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);padding:18px}
.esc{font-family:var(--mono);font-size:10px;color:rgba(255,255,255,.6);background:rgba(255,255,255,.08);border:.5px solid rgba(255,255,255,.16);border-radius:var(--r1);padding:3px 8px}
.search-results{max-height:280px;overflow-y:auto;padding:8px}
.toggle{width:38px;height:22px;border:0;border-radius:999px;background:rgba(255,255,255,.16);position:relative;transition:background var(--ease)}
.toggle:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#111;transition:left var(--ease)}
.toggle.on{background:var(--olive)}
.toggle.on:after{left:19px;background:#fff}
.meeting{display:block;margin-top:5px;color:rgba(255,255,255,.72);font-size:10.5px;line-height:1.25}
.hours{display:none;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:14px}.hours.show{display:grid}
@media(max-width:760px){
  .workspace:not(.has-chat) .chatbar-zone{transform:translateY(50px)}.hours{grid-template-columns:repeat(2,1fr)}}
/* Mobile keyboard: keep chatbar visible */
@media(max-width:760px) and (max-height:600px){
  .chatbar-zone{padding-top:8px;padding-bottom:max(8px,env(safe-area-inset-bottom))}
  .chat-scroll{padding-top:12px;padding-bottom:8px}
  .chatbar{min-height:48px;padding:8px 10px 8px 14px}
  .chat-input{font-size:14px;max-height:72px}
  .workspace:not(.has-chat) .chatbar-zone{transform:translateY(20px)}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation-duration:.001s!important;transition-duration:.001s!important}
  .io{opacity:1;transform:none}}
/* restored: the @keyframes blink head was lost in an earlier edit, leaving an
   orphaned fragment. Both the caret and the typing dots animate on it. */
@keyframes blink{0%,100%{opacity:1}50%{opacity:.2}}
.ca-btn:hover:not(:disabled){background:var(--hover)}
.ca-btn.primary:hover:not(:disabled){opacity:.9;background:var(--ink)}
#previewModel{width:100%;height:100%}

/* toast */
#amtToast{position:fixed;left:50%;bottom:26px;transform:translateX(-50%) translateY(20px);background:#101010;color:#fff;font-size:13.5px;padding:12px 18px;border-radius:var(--r3);border:1px solid #2a2a2a;box-shadow:0 12px 40px rgba(0,0,0,.4);opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;z-index:300;max-width:min(560px,90vw);text-align:center}
#amtToast.show{opacity:1;transform:translateX(-50%) translateY(0)}

/* ===== PWA install button (shown only when the browser supports install) ===== */
.install-btn{display:inline-flex;align-items:center;gap:7px;font-size:13px;font-weight:500;padding:8px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.04);color:#fff;cursor:pointer;white-space:nowrap;transition:background .2s,border-color .2s}
.install-btn:hover{background:rgba(255,255,255,.12)}
.install-btn svg{width:15px;height:15px;flex:0 0 auto}
.header-right .install-btn{margin-right:4px;padding:7px 13px}

/* ===== landing imagery (real images over the placeholder hatch) ===== */
/* image sits at the BOTTOM of its holder so scrims + overlaid text stay on top */
.ph-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;z-index:0}

/* ===== login/signup render mosaic (real renders over the tiles) ===== */

/* ============================================================
   CONTENT PAGES — Blog, articles, Design House, Mold Making,
   policies. Mobile first, same system as the home page.
   ============================================================ */
.view-page{background:#0d0d0c;color:#fff;min-height:100vh;padding-top:0}

.page-doc{display:none}
.page-doc.active{display:block;animation:pageIn .4s cubic-bezier(.2,.7,.2,1) both}
@keyframes pageIn{from{opacity:0}to{opacity:1}}

/* ---------- page hero ---------- */
/* No background image: the heading carries the page. Big type, quiet sub. */
.page-hero{position:relative;padding:112px var(--pad) 48px}
@media(min-width:768px){.page-hero{padding:168px var(--pad) 72px}}
.page-hero h1{margin:0;max-width:16ch;
  font-size:clamp(38px,10vw,52px);line-height:1.02;letter-spacing:-.04em}
@media(min-width:768px){.page-hero h1{font-size:clamp(56px,7vw,92px)}}
.page-hero .lede{margin-top:20px;max-width:56ch;
  font-size:16px;font-weight:400;line-height:1.6;letter-spacing:-.01em;opacity:.65}
@media(min-width:768px){.page-hero .eyebrow{margin:0 0 14px;font-size:12.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;opacity:.55}
.page-hero .lede{margin-top:26px;font-size:18px}}

/* Design House / Mold Making: taller, vertically centred, section rule below */
.page-hero.half{display:flex;flex-direction:column;justify-content:center;
  min-height:58svh;border-bottom:1px solid rgba(255,255,255,.1)}
@media(min-width:768px){.page-hero.half{min-height:52svh}}

/* Article headlines are sentences, not labels — they need a smaller size and a
   wider measure than a one-word page title like "Blog". */
article .page-hero{padding-bottom:36px}
article .page-hero h1{max-width:22ch;font-size:clamp(31px,7.5vw,40px);letter-spacing:-.03em}
@media(min-width:768px){article .page-hero h1{font-size:clamp(40px,4.4vw,58px)}}
article .page-hero .lede{max-width:60ch}

/* ---------- generic page section ---------- */
.page-section{padding:64px var(--pad)}
@media(min-width:768px){.page-section{padding:96px var(--pad)}}
.page-section.light{background:#fff;color:#0d0d0c}
.page-wrap{max-width:var(--maxw);margin:0 auto}
.page-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:44px;
  padding-top:40px;border-top:1px solid rgba(0,0,0,.1)}
.page-section:not(.light) .page-cta{border-top-color:rgba(255,255,255,.12)}
/* On a light section the white .solid would be invisible — flip both variants. */
.page-section.light .btn.solid{background:#0d0d0c;color:#fff;border-color:#0d0d0c}
.page-section.light .btn.solid:hover{background:transparent;color:#0d0d0c;border-color:rgba(13,13,12,.4)}
.page-section.light .btn:not(.solid){border-color:rgba(13,13,12,.35)}
.page-section.light .btn:not(.solid):hover{background:#0d0d0c;color:#fff;border-color:#0d0d0c}
/* dark sections: bare .btn is a white hairline that fills */
.page-section:not(.light) .btn:not(.solid){border-color:rgba(255,255,255,.4)}
.page-section:not(.light) .btn:not(.solid):hover{background:#fff;color:#0d0d0c;border-color:#fff}

/* ---------- article ---------- */
/* Simple news layout: heading, then image, then paragraphs.
   Image inset left/right, with breathing room below it before the body. */
.page-band{position:relative;padding:0 var(--pad) clamp(32px,5vw,60px)}
.page-band .ph{aspect-ratio:16/10;overflow:hidden;border-radius:12px}
@media(min-width:768px){.page-band .ph{aspect-ratio:21/9;border-radius:14px}}

.prose{max-width:720px;margin:0 auto}
.prose .lead{font-size:19px;font-weight:400;line-height:1.5;letter-spacing:-.018em;opacity:1}
@media(min-width:768px){.prose .lead{font-size:23px}}
.prose h2{margin:44px 0 0;font-size:24px;font-weight:600;line-height:1.15;letter-spacing:-.03em}
@media(min-width:768px){.prose h2{margin-top:56px;font-size:31px}}
.prose h3{margin:32px 0 0;font-size:19px;font-weight:600;letter-spacing:-.02em}
.prose p{margin-top:18px;font-size:17px;line-height:1.72;letter-spacing:-.005em;opacity:.82}
.prose ul{margin:18px 0 0;padding-left:20px;display:grid;gap:11px}
.prose li{font-size:17px;line-height:1.65;letter-spacing:-.005em;opacity:.82}
.prose li::marker{opacity:.4}
.prose strong,.prose b{font-weight:600;opacity:1}
.prose .muted{margin-top:36px;font-size:14px;opacity:.5}
.policy-meta{margin:0 0 6px;font-size:13px;font-weight:600;letter-spacing:.04em;opacity:.55;text-transform:uppercase}
.page-section.light .prose p,.page-section.light .prose li{opacity:.78}
.page-section.light .prose .lead{opacity:1}

/* ---------- blog listing controls ---------- */
/* Phone: search full width, chips scroll horizontally, sort beneath. */
.blog-controls{display:flex;flex-direction:column;gap:14px;
  padding-bottom:22px;border-bottom:1px solid rgba(255,255,255,.12)}
@media(min-width:900px){
  .blog-controls{flex-direction:row;align-items:center;gap:clamp(14px,2vw,24px)}}
.blog-search{display:flex;align-items:center;gap:10px;min-width:0;height:50px;padding:0 16px;
  border:1px solid rgba(255,255,255,.18);border-radius:100px;transition:border-color .2s}
@media(min-width:900px){.blog-search{flex:1 1 auto;max-width:340px}}
.blog-search:focus-within{border-color:rgba(255,255,255,.55)}
.blog-search svg{flex:none;opacity:.45}
.blog-search input{flex:1;min-width:0;background:none;border:0;outline:none;color:#fff;
  font-family:var(--sans);font-size:15px;letter-spacing:-.01em}
.blog-search input::placeholder{color:rgba(255,255,255,.38)}
.blog-search input::-webkit-search-cancel-button{filter:invert(1);opacity:.45}

.blog-filters{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;
  margin:0 calc(var(--pad) * -1);padding:2px var(--pad)}
.blog-filters::-webkit-scrollbar{display:none}
@media(min-width:900px){.blog-filters{margin:0;padding:0;flex-wrap:wrap;overflow:visible}}
.chip{flex:none;height:38px;padding:0 16px;border-radius:100px;white-space:nowrap;
  border:1px solid rgba(255,255,255,.2);color:#fff;opacity:.65;
  font-family:var(--sans);font-size:13px;font-weight:500;letter-spacing:-.01em;
  transition:background .18s,border-color .18s,opacity .18s}
.chip:hover{opacity:1;border-color:rgba(255,255,255,.45)}
.chip.active{background:#fff;border-color:#fff;color:#0d0d0c;opacity:1}

.blog-sort{display:flex;align-items:center;gap:10px;white-space:nowrap}
@media(min-width:900px){.blog-sort{margin-left:auto}}
.blog-sort span{font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;opacity:.4}
.blog-sort select{height:50px;padding:0 12px;border-radius:100px;cursor:pointer;
  background:#0d0d0c;color:#fff;border:1px solid rgba(255,255,255,.2);
  font-family:var(--sans);font-size:14px;letter-spacing:-.01em;transition:border-color .2s}
.blog-sort select:hover{border-color:rgba(255,255,255,.45)}
.blog-count{margin-top:22px;font-size:11px;font-weight:600;letter-spacing:.1em;
  text-transform:uppercase;opacity:.38}
.blog-empty{margin-top:8px;padding:48px 0;font-size:17px;opacity:.5;
  border-top:1px solid rgba(255,255,255,.12)}

/* ---------- blog rows: image left, copy beside it ---------- */
.news-list{display:grid;margin-top:6px}
.news-row{display:grid;gap:20px;padding:28px 0;border-top:1px solid rgba(255,255,255,.12)}
.news-row[hidden]{display:none}
.news-row:first-child{border-top:0}
@media(min-width:760px){
  .news-row{grid-template-columns:5fr 7fr;gap:clamp(24px,4vw,44px);align-items:center;padding:36px 0}}
.news-row .ph{width:100%;aspect-ratio:16/10;border-radius:14px}
.news-row time,.news-row .news-cat{display:block;margin-bottom:12px;
  font-size:11px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;opacity:.45}
.news-row h3{font-size:21px;font-weight:600;line-height:1.18;letter-spacing:-.03em}
@media(min-width:760px){.news-row h3{font-size:clamp(23px,2.4vw,30px)}}
.news-row p{margin-top:12px;max-width:54ch;
  font-size:15.5px;line-height:1.6;letter-spacing:-.005em;opacity:.62}
.news-row .link-u{margin-top:18px;font-size:14px}
.news-row:hover h3{opacity:.75;transition:opacity .2s}

/* ============================================================
   DASHBOARD REDESIGN (last cascade — overrides the legacy dark theme)
   - Sidebar,chat,preview and content areas: WHITE bg,BLACK text.
   - Settings / Search / Profile / Booking: BLACK glass,WHITE text.
   - All primary buttons: dark green. Softer{background:#eef0ee;color:var(--ink)}

/* ----- sidebar: light{background:#fff;border-right:1px solid var(--line);color:var(--ink);box-shadow:1px 0 0 rgba(0,0,0,.02)}
.install-btn{border:1px solid var(--line2);background:#fff;color:var(--ink)}
.install-btn:hover{background:var(--hover)}

/* ----- workspace / chat / preview: white{background:#fff}
.send-btn:hover:not(:disabled){background:var(--green-dk)}
.ca-btn.primary:hover:not(:disabled){background:var(--green-dk);opacity:1}
.ca-btn:not(.primary):hover:not(:disabled){background:var(--hover)}
.toggle.on{background:var(--green)}

.search-overlay{background:rgba(10,12,10,.5);backdrop-filter:blur(16px) saturate(1.1);-webkit-backdrop-filter:blur(16px) saturate(1.1)}
.esc{color:rgba(255,255,255,.55);background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16)}

/* questions popup stays a light content surface{border-color:var(--green)}

/* ============================================================
   GLOBAL HEADER — the island site-header + menu are shared by the
   landing AND every content page. Hidden on auth / verify / dashboard.
   ============================================================ */
body[data-view="auth"] .site-header,
body[data-view="verify"] .site-header,
body[data-view="app"] .site-header,
body[data-view="auth"] .menu,
body[data-view="verify"] .menu,
body[data-view="app"] .menu{display:none}
/* content-page heroes clear the fixed island header */
body[data-view="page"] .page-hero{padding-top:clamp(98px,9vw,128px)}

/* ============================================================
   CHAT RESPONSES — borderless{border:0;border-radius:0;background:transparent;padding:0}
.ca-link:hover:not(:disabled){color:var(--green);border-bottom-color:var(--green)}
#pvImage{max-width:92%;max-height:92%;object-fit:contain;transform-origin:center center;transition:transform .08s linear;will-change:transform;cursor:grab;user-select:none;-webkit-user-drag:none}
@media(max-width:760px){
  .search-overlay{padding-top:max(40px,env(safe-area-inset-top))}}

/* ============================================================
   BOOT SPLASH — shown only while a logged-in session is being
   restored, so the dashboard loads without a landing-page flash.
   ============================================================ */
.boot-splash{display:none}
html.boot-app #view-home.active{display:none}
html.boot-app .boot-splash{display:flex;position:fixed;inset:0;z-index:500;background:#0d0d0c;align-items:center;justify-content:center}
.boot-splash img{height:30px;width:auto;animation:splashPulse 1.6s ease-in-out infinite}

/* ============================================================
   DASHBOARD POLISH — production refinement. Builds on the same
   black / white / dark-green system; raises spacing,hierarchy,composer,sidebar,empty state{padding:0 24px}

/* suggestion chips (only on the empty state{display:none}
.workspace:not(.has-chat) .empty-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:18px;pointer-events:auto}

/* ----- composer ----- */
.workspace:not(.has-chat) .chatbar-zone{transform:translateY(38px)}
.send-btn:hover:not(:disabled){transform:scale(1.05);box-shadow:0 5px 14px rgba(88,89,68,.32)}
.install-btn{border-radius:11px;height:40px}
.search-results{padding:8px 10px 12px}
@media(max-width:760px){
  .workspace:not(.has-chat) .chatbar-zone{transform:translateY(30px)}}

/* ----- clarifying questions popup (Claude-style{left:0;right:0;width:auto;transform:none;bottom:100%;margin:0;background:#fff;border:1px solid var(--line2);border-bottom:0;border-radius:16px 16px 0 0;box-shadow:0 -10px 34px rgba(11,12,11,.1);padding:16px 16px 14px;max-height:60vh;overflow-y:auto}
.auth-card .oauth-btn:hover:not(:disabled){background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.3)}
.toggle.on{background:#fff}
.toggle.on::after{background:#0d0d0c}
@keyframes splashPulse{0%,100%{opacity:.3}50%{opacity:1}}

/* keyboard-aware chatbar (mobile): lift the bar in every state */
@media(max-width:760px){
  .chatbar-wrap{transform:translateY(calc(var(--kb,0px) * -1));transition:transform .12s ease-out;will-change:transform}
  .workspace.has-chat .chat-scroll{padding-bottom:calc(20px + var(--kb,0px))}
}

/* ============ production polish: fine details ============ */
::selection{background:#fff;color:#0d0d0c}
.sec-split.light ::selection,.cta-panel.light ::selection,.page-section.light ::selection{background:#0d0d0c;color:#fff}
/* nav + footer underline sweeps and .btn/.foot-tag sizing now live in the
   marketing block above; the duplicates that used to sit here fought it. */
/* bigger composer on desktop */
@media(min-width:761px){
  .chatbar-wrap{width:min(800px,100%)}
  .chatbar{min-height:68px;padding:14px 14px 14px 20px}
  .chat-input{font-size:16px}
  .send-btn{width:42px;height:42px}
}
