/* Doglyad, public site. One reference: sublime.app.
   White ground, one near-black display line, everything else grey. Centred compositions
   around objects, no rules and no frames: surfaces are soft grey fills. Buttons are 5px
   boxes (grey, and one green for the action), captions are Times in parentheses, file-name
   tags are grey pills, the footer is a grey rounded panel.
   Sublime's small greys (#a29e9c) are too faint for body text; the same role is set a
   step darker here so it still reads. */
:root{
  --paper:#ffffff;
  --ink:#181816;
  --grey:#908f8e;
  --quiet:#75726f;
  --soft:#6a6967;
  --faint:#a29e9c;
  --fill:#efefef;
  --fill-2:#f5f5f4;
  --go:#cbffa6;
  --go-ink:#38744d;
  --blue:#00aaff;
  --blue-soft:#e5f6ff;
  --sans:'Onest',ui-sans-serif,system-ui,sans-serif;
  --serif:'Times New Roman',Times,'Noto Serif',serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:18px;line-height:1.5;letter-spacing:-.019em;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-weight:500}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:6px}
.skip{position:fixed;z-index:70;top:10px;left:10px;padding:8px 14px;border-radius:5px;background:var(--ink);color:#fff;font-size:14px;transform:translateY(-200%)}
.skip:focus{transform:none}
.wrap{width:min(100% - 40px,1180px);margin-inline:auto}

/* header: transparent, fixed, word on the left, two small boxes on the right */
.hd{position:fixed;inset:0 0 auto;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:17px 20px 16px;background:linear-gradient(to bottom,rgba(255,255,255,.97) 62%,rgba(255,255,255,0));pointer-events:none}
.hd>*{pointer-events:auto}
.hd-brand{display:flex;align-items:center;gap:10px;color:var(--faint);font-size:24px;font-weight:500;letter-spacing:-.04em;line-height:1}
.hd-mark{width:26px;height:26px;border:3px solid var(--faint);border-radius:5px}
.hd-act{display:flex;gap:10px}
.btn{display:inline-flex;min-height:35px;align-items:center;justify-content:center;padding:0 17.5px;border:0;border-radius:5px;background:var(--fill);color:var(--soft);font:400 14px/1.2 var(--sans);letter-spacing:-.01em;white-space:nowrap;cursor:pointer;transition:background .18s ease,color .18s ease}
.btn:hover{background:#e6e6e6;color:var(--ink)}
.btn.is-go{background:var(--go);color:var(--go-ink)}
.btn.is-go:hover{background:#bff893}
.btn.is-lg{min-height:44px;padding:0 22px;font-size:16px}

/* type */
.d1{font-size:clamp(46px,8.35vw,120px);font-weight:500;line-height:.9;letter-spacing:-.05em;color:var(--ink);text-align:center}
.say{font-size:clamp(40px,4.45vw,64px);font-weight:500;line-height:.92;letter-spacing:-.045em;color:var(--grey);text-align:center}
.h2{font-size:28px;font-weight:500;line-height:1;letter-spacing:-.035em;color:var(--grey);text-align:center}
.small{max-width:24ch;margin-inline:auto;color:var(--quiet);font-size:16px;line-height:1.15;letter-spacing:-.01em;text-align:center}
.small.is-wide{max-width:40ch}
.cap{font-family:var(--serif);font-size:16px;line-height:1.2;letter-spacing:0;color:var(--quiet)}
.tag{display:inline-flex;height:30px;align-items:center;padding:0 12.5px;border-radius:999px;background:var(--fill);color:var(--soft);font-size:14px;letter-spacing:-.01em;white-space:nowrap}
.chip{display:inline-flex;height:25px;align-items:center;padding:0 11px;border-radius:999px;background:var(--blue-soft);color:#0077b3;font-size:13px;letter-spacing:0;white-space:nowrap}
.chip.is-solid{background:var(--blue);color:#fff}

/* first screen: the line, then the object under it, a tag on the object, grey words below */
.hero{padding:170px 0 0;text-align:center}
.hero .d1{position:relative;z-index:2;max-width:13ch;margin-inline:auto}
.hero-obj{position:relative;width:min(520px,78vw);margin:-18px auto 0}
.hero-obj img{width:100%}
.hero-obj .tag{position:absolute;right:-4%;top:34%}
.hero-sub{max-width:22ch;margin:14px auto 0;font-size:28px;font-weight:500;line-height:1;letter-spacing:-.035em;color:var(--grey)}
.hero-acts{display:flex;justify-content:center;gap:10px;margin-top:28px}
.hero .small{margin-top:16px}

/* a statement alone on white */
.stage{display:grid;min-height:88svh;place-items:center;padding:120px 0}
.stage .say{max-width:17ch}

/* a centred block: grey title, small words, one grey button */
.block{padding:140px 0;text-align:center}
.block .h2{max-width:18ch;margin-inline:auto}
.block .small{margin-top:16px}
.block .btn{margin-top:22px}

/* objects in a row, each with a Times caption and one line */
.objects{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 28px;margin:64px 0 0;padding:0;list-style:none;text-align:center}
.object img{width:78%;margin:0 auto 14px;aspect-ratio:1;object-fit:contain}
.object .cap{display:block;margin-bottom:6px}
.object p{max-width:24ch;margin-inline:auto;color:var(--quiet);font-size:15px;line-height:1.3}

/* soft panels instead of cards */
.panels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:56px;text-align:left}
.panels.is-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.panel{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:26px 26px 28px;border-radius:24px;background:var(--fill-2)}
.panel h3{font-size:28px;line-height:1;letter-spacing:-.035em;color:var(--ink)}
.panel .price{font-size:22px;color:var(--ink);letter-spacing:-.025em}
.panel p{color:var(--quiet);font-size:16px;line-height:1.35}
.panel .btn{margin-top:auto}
.panel ul{margin:4px 0 0;padding:0 0 0 18px;color:var(--soft);font-size:16px;line-height:1.35}
.panel li+li{margin-top:6px}
.panel li::marker{color:var(--faint)}

.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:30px}

/* an example object: a grey sheet holding a photo and a few lines */
.sheet{width:min(560px,100%);margin:56px auto 0;padding:16px;border-radius:28px;background:var(--fill);text-align:left}
.sheet img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px}
.sheet .cap{display:block;margin:18px 10px 12px}
.sheet dl{display:grid;gap:0;margin:0;padding:2px 18px;border-radius:18px;background:var(--paper)}
.sheet dl div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:16px;padding:14px 0;border-bottom:1px solid rgba(24,24,22,.07)}
.sheet dl div:last-child{border-bottom:0}
.sheet dt{color:var(--quiet);font-size:14px;line-height:1.4}
.sheet dd{margin:0;color:var(--ink);font-size:17px;font-weight:500;letter-spacing:-.01em;line-height:1.35}
.sheet .quote{margin:12px 10px 0;padding:16px 18px;border-radius:18px;background:var(--paper);font-size:16px;line-height:1.35}
.sheet .quote b{display:block;margin-bottom:4px;font-weight:500}

/* short grey lines, then one bigger grey line */
.lines{display:grid;gap:4px;padding:120px 0 0;text-align:center}
.lines p{color:var(--quiet);font-size:16px;line-height:1.15}
.lines p+p.gap{margin-top:14px}
.lines .h2{margin-top:44px}

/* the big grey button */
.big-go{display:grid;justify-items:center;gap:16px;padding:200px 0 160px;text-align:center}
.big-go a{padding:30px 70px 35px;border-radius:20px;background:var(--fill);color:var(--soft);font-size:clamp(46px,5vw,72px);font-weight:500;line-height:1;letter-spacing:-.05em;transition:background .2s ease,color .2s ease}
.big-go a:hover{background:var(--go);color:var(--go-ink)}

/* footer: a grey rounded panel */
.ft{width:min(100% - 40px,975px);margin:0 auto 20px;padding:20px 20px 30px 25px;border-radius:40px;background:var(--fill)}
.ft-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ft-top .hd-brand{color:var(--grey)}
.ft-top .hd-mark{border-color:var(--grey)}
.ft .btn:not(.is-go){background:rgba(0,0,0,.05)}
.ft .btn:not(.is-go):hover{background:rgba(0,0,0,.09)}
.ft-cols{display:grid;grid-template-columns:repeat(3,max-content);gap:8px 64px;margin:34px 0 0 36%}
.ft-cols a{color:var(--quiet);font-size:16px;line-height:1.5}
.ft-cols a:hover{color:var(--ink)}
.ft small{display:block;margin-top:30px;color:var(--quiet);font-size:12px}
.ft-note{max-width:60ch;margin:0 auto 18px;color:var(--quiet);font-size:16px;line-height:1.15;text-align:center}

/* numbers, stated plainly */
.facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:56px;text-align:left}
.facts div{padding:22px 22px 24px;border-radius:24px;background:var(--fill-2)}
.facts b{display:block;font-size:clamp(34px,3.4vw,46px);font-weight:500;line-height:1;letter-spacing:-.05em}
.facts span{display:block;margin-top:10px;color:var(--quiet);font-size:15px;line-height:1.3}

/* calculator */
.calc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;margin-top:56px;text-align:left}
.calc>div{padding:28px;border-radius:24px;background:var(--fill-2)}
.calc-field{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:22px 0 10px;font-size:16px}
.calc-field:first-child{margin-top:0}
.calc-field output{font-size:22px;letter-spacing:-.03em}
.calc input[type=range]{width:100%;height:24px;margin:0;background:none;-webkit-appearance:none;appearance:none;cursor:pointer}
.calc input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:6px;background:#e2e2e0}
.calc input[type=range]::-moz-range-track{height:6px;border-radius:6px;background:#e2e2e0}
.calc input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;margin-top:-9px;border:0;border-radius:50%;background:var(--ink)}
.calc input[type=range]::-moz-range-thumb{width:24px;height:24px;border:0;border-radius:50%;background:var(--ink)}
.calc .note{margin-top:18px;color:var(--quiet);font-size:14px;line-height:1.35}
.calc-out .cap{display:block}
.calc-out strong{display:block;margin:8px 0 18px;font-size:clamp(46px,5vw,72px);font-weight:500;line-height:.9;letter-spacing:-.05em}
.calc-out dl{display:grid;gap:6px;margin:0 0 22px}
.calc-out dl div{display:flex;justify-content:space-between;gap:12px;font-size:16px}
.calc-out dt{color:var(--quiet)}
.calc-out dd{margin:0}

/* questions */
.faq{display:grid;gap:8px;width:min(760px,100%);margin:56px auto 0;text-align:left}
.faq details{border-radius:20px;background:var(--fill-2)}
.faq summary{display:flex;justify-content:space-between;gap:16px;padding:20px 24px;font-size:19px;line-height:1.3;letter-spacing:-.02em;cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--grey);font-size:24px;line-height:1;transition:transform .2s ease}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{padding:0 24px 22px;color:var(--soft);font-size:16px;line-height:1.5}

/* application form */
.form{width:min(760px,100%);margin:56px auto 0;padding:28px;border-radius:32px;background:var(--fill-2);text-align:left}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.form label,.form legend{display:grid;gap:7px;margin-bottom:14px;color:var(--quiet);font-size:14px;line-height:1.3}
.form input:not([type=checkbox]),.form select,.form textarea{width:100%;min-height:48px;padding:12px 14px;border:0;border-radius:12px;background:var(--paper);color:var(--ink);font:400 16px/1.4 var(--sans);letter-spacing:-.01em}
.form input:focus,.form select,.form textarea:focus{outline:none}
.form input:focus-visible,.form select:focus-visible,.form textarea:focus-visible{outline:2px solid var(--ink);outline-offset:0}
.form ::placeholder{color:var(--faint)}
.form textarea{resize:vertical}
.form select{-webkit-appearance:none;appearance:none;padding-right:40px;background:var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23908f8e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E") no-repeat right 16px center}
.form fieldset{margin:6px 0 16px;padding:0;border:0}
.form .picks{display:flex;flex-wrap:wrap;gap:8px}
.form .picks label{position:relative;display:inline-flex;margin:0;padding:9px 15px;border-radius:999px;background:var(--paper);color:var(--soft);font-size:15px;cursor:pointer}
.form .picks input{position:absolute;opacity:0;pointer-events:none}
.form .picks label:has(input:checked){background:var(--blue);color:#fff}
.form .picks label:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
.form .checks{display:grid;gap:10px;margin:8px 0 22px}
.form .checks label{display:flex;align-items:flex-start;gap:10px;margin:0;color:var(--soft);font-size:15px;line-height:1.4}
.form .checks input{width:18px;height:18px;margin:1px 0 0;flex:none;accent-color:var(--ink)}
.form .checks a,.prose a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--faint);text-underline-offset:3px}
.form .btn{width:100%}
.field-error{margin:8px 0 0;color:#b5452f;font-size:14px}
.field-error:empty,.form-status:empty{display:none}
.form-status{margin-top:12px;color:var(--quiet);font-size:15px}

/* documents */
.doc{width:min(100% - 40px,720px);margin:0 auto;padding:170px 0 140px}
.doc h1{font-size:clamp(40px,5.6vw,72px);line-height:.92;letter-spacing:-.05em}
.doc .when{margin-top:18px;color:var(--grey);font-size:22px;letter-spacing:-.03em}
.doc .note{margin-top:36px;padding:18px 20px;border-radius:20px;background:var(--fill-2);color:var(--soft);font-size:16px;line-height:1.45}
.doc .note strong{color:var(--ink);font-weight:500}
.doc .toc{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 0}
.doc .toc a{display:inline-flex;height:30px;align-items:center;padding:0 12.5px;border-radius:999px;background:var(--fill);color:var(--soft);font-size:14px}
.doc .toc a:hover{color:var(--ink)}
.prose{margin-top:64px}
.prose section{margin-bottom:56px;scroll-margin-top:90px}
.prose h2{margin-bottom:16px;font-size:28px;line-height:1.05;letter-spacing:-.035em;color:var(--grey)}
.prose p,.prose li{color:#3a3936;font-size:17px;line-height:1.6;letter-spacing:-.01em}
.prose p+p{margin-top:12px}
.prose ul{margin:10px 0 12px;padding-left:20px}
.prose li+li{margin-top:6px}
.prose li::marker{color:var(--faint)}
.prose .operator-placeholder{display:grid;gap:4px;margin:14px 0;padding:16px 18px;border-radius:16px;background:var(--fill-2);font-size:16px}
.prose .legal-sources{color:var(--quiet);font-size:15px}

@media(max-width:1000px){
  .objects{grid-template-columns:repeat(2,minmax(0,1fr))}
  .panels,.facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ft-cols{margin-left:0}
}
@media(max-width:700px){
  body{font-size:17px}
  .hd{padding:14px 16px 0}
  .hd-brand{font-size:20px}
  .hd-mark{width:22px;height:22px;border-width:2.5px}
  .hero{padding-top:120px}
  .hero-obj{width:min(340px,86vw);margin-top:-8px}
  .hero-obj .tag{right:0;top:30%}
  .hero-sub{max-width:16ch;font-size:24px}
  .stage{min-height:52svh;padding:72px 0}
  .say{font-size:40px}
  .block{padding:96px 0}
  .small{max-width:28ch;font-size:17px;line-height:1.18}
  .objects{grid-template-columns:minmax(0,1fr);gap:40px;margin-top:44px}
  .object img{width:60%}
  .panels,.panels.is-two,.facts,.calc{grid-template-columns:minmax(0,1fr)}
  .fields{grid-template-columns:minmax(0,1fr)}
  .sheet dl{padding:2px 14px}
  .sheet dl div{grid-template-columns:minmax(0,1fr);gap:2px;padding:12px 0}
  .sheet dt{font-size:13px}
  .sheet dd{font-size:16px}
  .form{padding:20px;border-radius:24px}
  .big-go{padding:120px 0 100px}
  .big-go a{padding:20px 35px 25px 40px;font-size:46px}
  .ft{border-radius:28px}
  .ft-top{flex-wrap:wrap}
  .ft-cols{grid-template-columns:repeat(2,max-content);gap:6px 36px;margin-top:24px}
  .doc{padding-top:120px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
