/* deepsight research brand styles. Colors/type per brand-basics.md (Oct 2026). */
@font-face{
  font-family:"Outfit";
  src:url("/assets/fonts/Outfit-Variable.woff2") format("woff2");
  font-weight:100 900; font-style:normal; font-display:swap;
}
:root{
  --navy:#1B2A4A; --teal:#3E6E73; --offwhite:#F7F6F2; --gray:#646A73; --white:#FFFFFF;
  --teal-dark:#2F5559;            /* hover shade of teal (7.6:1 on off-white) */
  --bg:var(--offwhite); --bg-alt:#EFEDE6; --surface:var(--white);
  --text:var(--navy); --muted:var(--gray); --line:#D9D6CC;
  --accent:var(--navy); --accent-ink:var(--white); --link:var(--teal);
  --focus:var(--teal); --danger:#B42318; --ok:var(--teal);
  --radius:12px; --wrap:1120px;
  --font:"Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;font-family:var(--font);color:var(--text);background:var(--bg);line-height:1.6;font-size:1rem}
img{max-width:100%}
a{color:var(--link);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{color:var(--teal-dark);text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:4px}
h1,h2,h3{line-height:1.15;margin:0 0 .6rem;color:var(--navy);font-weight:700}
h3{font-weight:600}
h1{font-size:clamp(2rem,4.6vw,3.1rem);letter-spacing:-.02em}
h2{font-size:clamp(1.45rem,2.6vw,2rem);letter-spacing:-.01em}
h3{font-size:1.1rem}
p{margin:0 0 1rem}
.wrap{width:min(var(--wrap),100% - 2.5rem);margin-inline:auto}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:0;background:#000;color:#fff;padding:.5rem 1rem;z-index:100}
.skip:focus{left:1rem}
.small{font-size:.875rem;color:var(--muted)}


/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);backdrop-filter:saturate(1.2) blur(6px)}
.header-inner{display:flex;align-items:center;gap:1.5rem;min-height:84px}
/* Logo: >=200px wide (brand min); padding keeps clear space >= x-height of "deepsight" around the artwork */
.logo{display:block;flex:none;padding:6px 0;line-height:0}
.logo img{display:block;width:210px;height:auto}
.menu{display:flex;flex:1;align-items:center;gap:1.25rem;flex-direction:row-reverse;justify-content:space-between}
.nav ul{list-style:none;margin:0;padding:0;display:flex;gap:1.2rem;align-items:center}
.nav a{text-decoration:none;color:var(--navy);font-weight:500;font-size:1rem;padding:.4rem 0;display:inline-block}
.nav a:hover,.nav a[aria-current]{color:var(--teal);text-decoration:underline}
.has-sub{position:relative}
.sub-toggle{background:none;border:0;padding:.2rem;cursor:pointer;color:var(--muted);font-size:.8rem}
.has-sub .sub{display:none;position:absolute;top:100%;left:-1rem;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 10px 30px rgba(0,0,0,.08);padding:.5rem;min-width:230px;flex-direction:column;align-items:stretch;gap:0}
.has-sub .sub a{display:block;padding:.5rem .75rem;border-radius:6px}
.has-sub .sub a:hover{background:var(--bg-alt);text-decoration:none}
.has-sub:hover .sub,.has-sub:focus-within .sub,.has-sub.open .sub{display:flex}
.actions{display:flex;align-items:center;gap:.6rem}
.lookup-link{font-size:.95rem;font-weight:500;white-space:nowrap}
.menu-btn{display:none}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;border-radius:999px;padding:.7rem 1.35rem;font:500 1rem/1.2 var(--font);letter-spacing:.01em;text-decoration:none;cursor:pointer;border:2px solid var(--accent);white-space:nowrap}
.btn-primary{background:var(--accent);color:var(--accent-ink)}
.btn-primary:hover{background:var(--teal);border-color:var(--teal);color:#fff}
.btn-secondary{background:transparent;color:var(--navy)}
.btn-secondary:hover{background:var(--navy);color:#fff}
.btn[disabled]{opacity:.6;cursor:progress}
.cta-row{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;margin-top:1.5rem}
.text-link{font-weight:600}

/* sections */
.hero{padding:clamp(3rem,8vw,6rem) 0 clamp(2.5rem,6vw,4rem);background:var(--offwhite);border-bottom:1px solid var(--line)}
.hero h1{max-width:20ch}
.hero .lede{font-size:clamp(1.05rem,1.6vw,1.25rem);color:var(--muted);max-width:62ch}
.hero-home h1{max-width:18ch}
/* photos: split layouts so text never sits on an image */
.photo{display:block}
.photo img{display:block;width:100%;height:auto;border-radius:var(--radius);background:#E6E3DA}
.split-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(1.5rem,4vw,3.5rem);align-items:center}
.hero-split .hero-media .photo img{aspect-ratio:3/2;object-fit:cover;box-shadow:0 18px 40px rgba(27,42,74,.14)}
.hero-home .hero-media .photo img{aspect-ratio:16/9}
.about-split{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:start}
.photo.portrait img{aspect-ratio:2/3;object-fit:cover;max-width:420px;margin-left:auto}
.eyebrow{letter-spacing:.06em;font-size:.95rem;font-weight:500;color:var(--teal);margin-bottom:.75rem}
.section{padding:clamp(2.5rem,6vw,4.5rem) 0}
.section.tight{padding:clamp(1.75rem,4vw,2.75rem) 0}
.section.alt{background:var(--white)}
.section.alt .card,.section.alt .steps li,.section.alt .form{background:var(--offwhite)}
.intro{color:var(--muted);max-width:60ch}
.big{font-size:1.2rem;max-width:60ch}
.mt{margin-top:1.25rem}

.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.cards-2{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem;display:block}
.card p:last-child{margin-bottom:0}
.link-card{text-decoration:none;color:var(--text);transition:border-color .15s, box-shadow .15s}
.link-card:hover{border-color:var(--teal);box-shadow:0 6px 20px rgba(27,42,74,.08);color:var(--text)}
.link-card .more{display:inline-block;margin-top:.75rem;font-weight:500;color:var(--teal)}
.logos{border-bottom:1px solid var(--line)}
.logo-label{text-align:center;font-size:.8rem;text-transform:uppercase;letter-spacing:.1em;color:var(--muted)}
.logo-strip{list-style:none;margin:0 auto;padding:0;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:1.25rem clamp(1.5rem,5vw,4rem);max-width:900px}
.logo-strip li{flex:0 0 auto;display:flex;align-items:center;justify-content:center}
.logo-strip img{display:block;width:80px;height:80px}

.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;counter-reset:s}
.steps-4{grid-template-columns:repeat(4,1fr);margin-bottom:1rem}
.steps-home,.steps-4up{grid-template-columns:repeat(4,1fr)}
@media (max-width:1060px) and (min-width:861px){.steps-home,.steps-4up{grid-template-columns:repeat(2,1fr)}}
/* 5 steps: 3 + 2 centered on desktop, 2 columns (last centered) on tablet, 1 column on mobile */
.steps-5{grid-template-columns:repeat(6,1fr)}
.steps-5 li{grid-column:span 2}
.steps-5 li:nth-child(4){grid-column:2 / span 2}
@media (max-width:1060px) and (min-width:861px){
  .steps-5{grid-template-columns:repeat(4,1fr)}
  .steps-5 li,.steps-5 li:nth-child(4){grid-column:span 2}
  .steps-5 li:nth-child(5){grid-column:2 / span 2}
}
.steps li{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem}
.steps .num{display:inline-grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:var(--teal);color:#fff;font-weight:700;margin-bottom:.75rem}
.split{display:grid;grid-template-columns:1.2fr 1fr;gap:2rem;align-items:center}
.invite,.cta-band{display:flex;justify-content:space-between;align-items:center;gap:2rem;flex-wrap:wrap;border:1px solid var(--line);border-radius:var(--radius);padding:2rem;background:#fff}
.invite .cta-row,.cta-band .cta-row{margin-top:0}
.cta-band .small{margin:.5rem 0 0}
.included{list-style:none;padding:0;margin:0 0 1.5rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.25rem}
.included li{border-left:3px solid var(--teal);padding:.25rem 0 .25rem 1rem}
.callout{border:1px solid var(--line);background:var(--white);border-radius:var(--radius);padding:1.25rem 1.5rem;margin:1rem 0}
.callout.warn{background:#fff6f5;border-color:#f3c5c0}
.note{color:var(--muted);font-style:italic}
.prose{max-width:72ch}
.prose h2{font-size:1.3rem;margin-top:2rem}
.prose ul{padding-left:1.25rem}
.prose li{margin:.3rem 0}
.faq{max-width:72ch}
.faq details{border-bottom:1px solid var(--line);padding:.25rem 0}
.faq summary{cursor:pointer;font-weight:600;padding:.85rem 0;list-style-position:outside}
.faq details div{padding:0 0 .75rem}
.pay-types li{margin:.5rem 0}

/* forms */
.form-section .wrap > h2{margin-bottom:1.25rem}
.form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(1.25rem,3vw,2rem);max-width:820px}
.narrow-form{max-width:460px}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:0 1.25rem}
.field{margin-bottom:1rem}
.field label,fieldset legend{display:block;font-weight:600;margin-bottom:.35rem;font-size:.95rem}
.req{color:var(--danger)}
.field label,fieldset legend{color:var(--navy)}
.opt{font-weight:400;color:var(--muted);font-size:.85rem}
input[type=text],input:not([type]),input[type=email],input[type=tel],select,textarea{width:100%;font:inherit;color:inherit;background:#fff;border:1px solid #8C9199;border-radius:8px;padding:.6rem .75rem;min-height:44px}
textarea{resize:vertical;min-height:90px}
input:focus,select:focus,textarea:focus{border-color:var(--teal);outline:3px solid rgba(62,110,115,.35);outline-offset:0}
[aria-invalid=true]{border-color:var(--danger)!important;background:#fffafa}
fieldset{border:0;border-top:1px solid var(--line);margin:0;padding:1.1rem 0 .4rem}
fieldset:first-of-type{border-top:0;padding-top:0}
.checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:.35rem 1rem}
.radios{display:flex;flex-wrap:wrap;gap:.35rem 1.5rem}
.check{display:flex;align-items:flex-start;gap:.55rem;font-weight:400!important;padding:.3rem 0;cursor:pointer}
.check input{width:1.15rem;height:1.15rem;margin:.2rem 0 0;flex:none;accent-color:var(--teal)}
.check.invalid span{color:var(--danger)}
.form-note{background:var(--offwhite);border-radius:8px;padding:.6rem .9rem;font-size:.9rem;color:var(--muted);margin:.5rem 0 1rem}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.captcha{min-height:0;margin:.5rem 0}
.captcha:not(:empty){min-height:65px}
.status{min-height:1.4em;color:var(--danger);font-weight:600;margin:.5rem 0}
.submit-row{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.submit-row .small{margin:0}
.consent-line{margin-top:1rem}
.success,.lookup-result{border:1px solid var(--line);border-left:4px solid var(--ok);background:#fff;border-radius:var(--radius);padding:1.5rem;max-width:820px}
.lookup-result{max-width:460px;margin-top:1.25rem}
.lookup-result.not-found{border-left-color:var(--danger)}
.lookup-result p{margin:0}
.help{margin-top:1rem}

/* footer */
.site-footer{background:var(--navy);color:#DCE1EA;padding:3rem 0 1.5rem;font-size:.95rem}
.site-footer a{color:#fff}
.site-footer a:hover{color:#fff;text-decoration-thickness:2px}
.site-footer :focus-visible{outline-color:#fff}
.footer-cols{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2rem}
.f-logo{display:inline-block;line-height:0;padding:4px 0;margin-bottom:.6rem}
.f-logo img{width:220px;height:auto;display:block}
.f-tagline{color:#fff;font-weight:500;font-size:1.05rem;margin-bottom:.5rem}
.f-head{font-weight:600;color:#fff;margin-bottom:.6rem}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin:.3rem 0}
.legal-row{border-top:1px solid #34446A;margin-top:2rem;padding-top:1.25rem;display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;font-size:.85rem}
.legal-row ul{display:flex;flex-wrap:wrap;gap:.4rem 1.25rem}
.legal-row p{margin:0;color:#C3CADA}

/* responsive */
@media (max-width:1060px){
  .menu-btn{display:inline-flex;align-items:center;gap:.5rem;margin-left:auto;background:#fff;border:1px solid var(--navy);border-radius:999px;padding:.5rem .9rem;font:500 .95rem var(--font);cursor:pointer;color:var(--navy)}
  .menu-icon,.menu-icon::before,.menu-icon::after{display:block;width:18px;height:2px;background:currentColor;position:relative}
  .menu-icon::before,.menu-icon::after{content:"";position:absolute;left:0}
  .menu-icon::before{top:-6px}.menu-icon::after{top:6px}
  .menu{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 12px 30px rgba(0,0,0,.08);flex-direction:column;align-items:stretch;padding:1rem 1.25rem 1.5rem;gap:1rem;max-height:calc(100vh - 84px);overflow:auto}
  .site-header.menu-open .menu{display:flex}
  .actions{flex-direction:column;align-items:stretch;gap:.6rem;order:-1}
  .actions .btn{width:100%}
  .actions .lookup-link{order:3;text-align:center;padding:.4rem}
  .actions .btn-primary{order:1}.actions .btn-secondary{order:2}
  .nav ul{flex-direction:column;align-items:stretch;gap:0}
  .nav > ul > li{border-top:1px solid var(--line)}
  .nav a{padding:.75rem 0;display:block}
  .has-sub{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}
  .has-sub .sub-parent{flex:1}
  .sub-toggle{padding:.6rem .8rem;font-size:1rem}
  .has-sub:hover .sub,.has-sub:focus-within .sub{display:none}
  .has-sub.open .sub{display:flex;position:static;box-shadow:none;border:0;padding:0 0 .5rem 1rem;width:100%;min-width:0}
}
@media (max-width:860px){
  .steps-5 li,.steps-5 li:nth-child(4),.steps-5 li:nth-child(5){grid-column:auto}
  .cards-3,.steps,.steps-4,.steps-home,.steps-4up,.steps-5,.split,.footer-cols,.cards-2{grid-template-columns:1fr}
  .split-grid,.about-split{grid-template-columns:1fr}
  .photo.portrait img{max-width:100%;margin:0;aspect-ratio:4/5}
  .grid-2{grid-template-columns:1fr}
  .invite,.cta-band{padding:1.5rem}
}
@media (max-width:520px){
  .logo-strip{gap:1rem 2rem}
  .logo-strip img{width:72px;height:72px}
  .cta-row .btn{flex:1 1 100%}
  .header-inner{gap:.75rem}
}
/* very narrow phones (<=360px): icon-only menu button so the 210px logo (brand minimum) still fits */
@media (max-width:360px){
  .menu-btn{padding:.6rem .75rem}
  .menu-btn span:not(.menu-icon){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
}
