/* Shared styles for dayriot's inner pages (models, explore, pricing, help, legal). */
:root{
  --bg:#000;--ink:#f8f4ec;--ink-2:#bfbebd;--ink-3:#8d8b88;--ink-4:#8f8d88;
  --line:#1c1b1a;--line-2:#2e2d2c;--panel:#0d0d0e;--panel-2:#141413;--field:#1b1a1a;
  --cream:#f2eee3;--lime:#e7fb41;--green:#a9eb6a;--warn:#ffb86b;
  --head:'Hanken Grotesk',system-ui,sans-serif;--body:'Figtree',system-ui,sans-serif;
  --gutter:52px;--maxw:1331px;color-scheme:dark;
}
*{box-sizing:border-box;margin:0;padding:0}
/* For text a screen reader needs and the design does not show, and for controls that must stay focusable
   while the design draws something else in their place. `hidden` would take them out of the tab order. */
.vis-hidden{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
[hidden]{display:none!important}
html{background:var(--bg);scroll-behavior:smooth}
body{background:var(--bg);color:var(--ink);font-family:var(--body);-webkit-font-smoothing:antialiased;overflow-x:hidden;min-height:100vh;display:flex;flex-direction:column}
main{flex:1}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
img,video{display:block;max-width:100%}
svg{display:block}
.wrap{max-width:calc(var(--maxw) + var(--gutter)*2);margin:0 auto;padding:0 var(--gutter)}
.h{font-family:var(--head);font-weight:600;letter-spacing:-.035em;color:var(--ink)}
.eyebrow{font-size:11px;font-weight:600;letter-spacing:.42em;text-transform:uppercase;color:var(--ink-2)}
.ic{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
/* A link inside prose carries an underline: colour alone is not a signal everybody can see. Buttons and
   the arrow links are shapes of their own, so they keep theirs. */
main p a:not(.btn):not(.link-arrow):not(.btn-sm),.prose a:not(.btn),.legal a:not(.btn){text-decoration:underline;text-underline-offset:2px}
.link-arrow{display:inline-flex;align-items:center;gap:9px;border-bottom:1px solid currentColor;padding-bottom:3px}
.link-arrow svg{transition:transform .25s}.link-arrow:hover svg{transform:translateX(4px)}
:focus-visible{outline:2px solid var(--lime);outline-offset:2px}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;height:44px;padding:0 22px;border-radius:7px;font-size:15px;font-weight:500;transition:transform .2s,background .2s,box-shadow .25s,border-color .2s,filter .2s;white-space:nowrap}
.btn:active{transform:scale(.98)}
.btn-lime{background:var(--lime);color:#111}.btn-lime:hover{filter:brightness(1.06);box-shadow:0 0 28px rgba(231,251,65,.3)}
.btn-cream{background:var(--cream);color:#111}.btn-cream:hover{background:#fff;box-shadow:0 0 26px rgba(242,238,227,.3)}
.btn-ghost{border:1px solid #3a3938;background:#111}.btn-ghost:hover{border-color:#6b6a68;background:#1b1b1a}
.btn-sm{height:36px;padding:0 16px;font-size:14px}

/* nav */
.nav{position:sticky;top:0;z-index:20;height:67px;background:rgba(0,0,0,.78);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid #141312}
.nav .wrap{height:100%;display:flex;align-items:center;gap:40px}
.brand{display:flex;align-items:center;gap:14px;font-size:23px;font-weight:500;letter-spacing:-.02em}
.brand svg{width:32px;height:28px}
.nav-links{display:flex;gap:36px;font-size:15px;font-weight:500;margin-left:auto;margin-right:auto}
.nav-links a{color:var(--ink-2);transition:color .2s;position:relative}
.nav-links a:hover,.nav-links a[aria-current=page]{color:var(--ink)}
.nav-links a[aria-current=page]::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;background:var(--lime);border-radius:2px}
.nav-right{display:flex;align-items:center;gap:22px;font-size:15px;font-weight:500}
.nav-right .pill{display:none;align-items:center;gap:8px;height:32px;padding:0 12px;border:1px solid #2e2d2c;border-radius:999px;font-size:13px;color:#d8d5cf}
.nav-right .pill::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--lime)}
.authed .when-out{display:none}
.authed .nav-right .pill{display:inline-flex}
.when-in{display:none}.authed .when-in{display:inline-flex}

/* page header */
.page-head{padding:72px 0 44px;border-bottom:1px solid #151413;background:radial-gradient(1200px 380px at 15% -20%,rgba(231,251,65,.07),transparent 60%)}
.page-head h1{font-size:72px;line-height:.98;margin-top:16px;max-width:900px}
.page-head p.lede{margin-top:20px;font-size:20px;line-height:30px;color:var(--ink-2);max-width:640px}
.page-head .actions{margin-top:28px;display:flex;gap:12px;flex-wrap:wrap}
section.block{padding:64px 0}
section.block + section.block{border-top:1px solid #121211}
.block-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px;flex-wrap:wrap}
.block-head h2{font-size:42px;line-height:1.02;margin-top:10px}
.block-head p{color:var(--ink-3);font-size:16px;line-height:24px;max-width:520px;margin-top:10px}

/* chips */
/* An empty screen is a screen, not an apology. It says what goes here, in one line, and gives the one
   thing to press that starts it — so nobody has to work out where to go next. */
.empty-state{border:1px dashed #2b2a29;border-radius:14px;background:#0a0a0a;padding:34px 26px;text-align:center;display:grid;justify-items:center;gap:10px;max-width:560px;margin:4px auto 0}
/* When it stands in for a grid of cards it takes the whole row rather than pretending to be one card. */
.grid-cards .empty-state{grid-column:1/-1}
.empty-state b{font-size:17px;font-weight:500;color:var(--ink)}
.empty-state p{font-size:14px;line-height:21px;color:var(--ink-3);max-width:52ch;margin:0}
.empty-state .btn{margin-top:6px}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{height:34px;display:inline-flex;align-items:center;padding:0 16px;border:1px solid #333231;border-radius:999px;background:#0b0b0b;color:#d0cdc7;font-size:14px;transition:background .2s,color .2s,border-color .2s}
.chip:hover{border-color:#5a5957;color:var(--ink)}
.chip.on{background:var(--cream);color:#111;border-color:var(--cream)}

/* cards */
.card{border:1px solid #232322;border-radius:12px;background:linear-gradient(180deg,#101010,#0a0a0a);transition:border-color .25s,transform .25s}
.card:hover{border-color:#3a3938}
.tag{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:999px;border:1px solid #2e2d2c;font-size:12px;color:var(--ink-2);white-space:nowrap}
.tag.lime{border-color:#4f5716;color:var(--lime)}
.tag.mute{color:var(--ink-4)}
.tag.warn{border-color:#4a3519;color:var(--warn)}

/* forms */
.select,.input{height:44px;border:1px solid #333231;border-radius:7px;background:#151514;color:var(--ink);font:inherit;font-size:15px;padding:0 14px;width:100%}
.select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ddd' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:15px;padding-right:38px}
label.f{display:block}
label.f>span{display:block;font-size:13.5px;color:#d4d1cb;margin-bottom:6px}

/* footer */
.foot{margin-top:40px;border-top:1px solid #1a1918;padding:56px 0 36px}
.foot-grid{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:40px}
.foot-brand p{margin-top:14px;color:var(--ink-3);font-size:14.5px;line-height:22px;max-width:300px}
.foot h3.foot-h{font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-3);margin-bottom:14px}
.foot ul{list-style:none;display:grid;gap:10px;font-size:15px;color:#d6d3cd}
.foot ul a:hover{color:#fff}
.foot-base{margin-top:44px;padding-top:22px;border-top:1px solid #151413;display:flex;justify-content:space-between;gap:16px;color:var(--ink-4);font-size:13px;flex-wrap:wrap}

/* reveal */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1)}
.js .reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}.js .reveal{opacity:1;transform:none}}

@media (max-width:980px){
  .nav-links{gap:22px}
  .foot-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .foot-brand{grid-column:1/-1}
}
/* Six links, a credit pill and a button do not fit a tablet. They moved into the sheet at 760px, which
   was 140px too late: the header ran past the edge of the window on every marketing page in between. */
@media (max-width:900px){
  .nav-links{display:none}
  .nav .wrap{gap:14px}
  .nav-right{margin-left:auto;gap:14px}
}
@media (max-width:760px){
  :root{--gutter:16px}
  .nav{height:58px}
  .nav .wrap{gap:12px}
  .brand{font-size:20px;gap:10px}.brand svg{width:27px;height:24px}
  .nav-links{display:none}
  .nav-right{margin-left:auto;gap:12px;font-size:14px}
  .nav-right .pill{display:none!important}
  .nav-right .btn{height:34px;padding:0 14px;font-size:13.5px}
  .page-head{padding:44px 0 32px}
  .page-head h1{font-size:44px}
  .page-head p.lede{font-size:17px;line-height:26px}
  section.block{padding:44px 0}
  .block-head h2{font-size:32px}
  .foot{padding:40px 0 28px}
}

/* mobile menu */
.menu-toggle{display:none;width:38px;height:38px;border:1px solid #2e2d2c;border-radius:8px;place-items:center}
.menu-toggle svg{width:18px;height:18px}
.menu-sheet{position:absolute;top:100%;left:0;right:0;background:rgba(8,8,8,.97);border-bottom:1px solid #1d1c1b;padding:10px var(--gutter) 18px;display:grid;gap:2px}
.menu-sheet[hidden]{display:none}
.menu-sheet a{padding:12px 4px;font-size:17px;border-bottom:1px solid #161515;color:#e5e2dc}
.menu-sheet a:last-child{border-bottom:0}
/* The links fold into the sheet at 900px, so the button that opens the sheet has to appear at 900px too.
   This sits after the base rule on purpose: both set `display`, and the last one wins. */
@media (max-width:900px){ .menu-toggle{display:grid} }
@media (max-width:760px){ .nav-right .when-out.login{display:none} }

/* skip link */
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--lime);color:#111;padding:10px 14px;border-radius:6px;font-weight:600;font-size:14px;transition:top .15s}
.skip:focus{top:12px}

/* wide screens: let content breathe and keep the hero copy on the same left edge as the logo and sections */
@media (min-width:1600px){:root{--maxw:1480px}}
@media (min-width:1900px){:root{--maxw:1600px}}

/* ---------- shared workspace chrome (Create, Studio, Projects, Assets, Templates) ---------- */
/* The account menu, toasts and modals used to live in one page's styles. They are here so every
   workspace renders the same furniture from public/shell.js. */
.acct{position:relative}
.avatar{width:36px;height:36px;border-radius:50%;background:var(--cream);color:#111;font-weight:600;font-size:14px;display:grid;place-items:center}
.menu{position:absolute;right:0;top:46px;min-width:230px;background:#121212;border:1px solid #2e2d2c;border-radius:10px;padding:8px;box-shadow:0 20px 50px rgba(0,0,0,.6);z-index:30}
.menu[hidden]{display:none}
.menu a,.menu button{display:block;width:100%;text-align:left;padding:9px 10px;border-radius:6px;font-size:14px;color:#e5e2dc}
.menu a:hover,.menu button:hover{background:#1e1e1d}
.menu-email{padding:8px 10px 0;font-size:14px;color:var(--ink);overflow:hidden;text-overflow:ellipsis}
.menu-plan{padding:2px 10px 8px;margin-bottom:6px;border-bottom:1px solid #232322;font-size:12.5px;color:var(--ink-3)}
.nav-links a[aria-current=page]{color:var(--ink)}
.nav-links a[aria-current=page]::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:1px;background:var(--lime)}
.nav-links a{position:relative;color:var(--ink-2)}
.nav-links a:hover{color:var(--ink)}

.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,16px);background:#151515;border:1px solid #2e2d2c;color:var(--ink);padding:12px 18px;border-radius:8px;font-size:14px;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;z-index:80;max-width:min(560px,calc(100vw - 32px))}
.toast.show{opacity:1;transform:translate(-50%,0)}

.modal{position:fixed;inset:0;z-index:70;background:rgba(0,0,0,.72);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:grid;place-items:center;padding:16px}
.modal[hidden]{display:none}
.modal-card{width:100%;max-width:520px;background:#111;border:1px solid #2a2928;border-radius:14px;padding:26px;max-height:calc(100vh - 32px);overflow:auto}
.modal-card h2{font-size:24px;font-family:var(--head);letter-spacing:-.02em}
.modal-card .f + .f{margin-top:12px}
.modal-acts{margin-top:20px;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.form-err{color:#ff8a6a;font-size:13px;min-height:16px;margin-top:8px}
.consent{display:flex;gap:9px;align-items:flex-start;font-size:13px;line-height:18px;color:var(--ink-3);margin-top:14px}
.consent input{width:16px;height:16px;accent-color:var(--lime);flex:none;margin-top:1px}

.pane{border:1px solid #232322;border-radius:12px;background:linear-gradient(180deg,#101010,#0a0a0a);padding:16px}
.pane h2{font-size:15px;font-family:var(--head);font-weight:600;letter-spacing:-.01em;display:flex;align-items:center;gap:8px;margin-bottom:12px}
.pane h2 em{font-style:normal;color:var(--ink-4);font-size:12.5px;font-weight:400;margin-left:auto}
.pane p.hint{color:var(--ink-3);font-size:13px;line-height:19px}
.mini{font-size:12.5px;color:var(--ink-4)}
/* Prose is read line by line, and a line of more than about 75 characters is hard to come back to: the
   eye loses the start of the next one. Some of these notes were running to 213 characters on a wide
   screen. Panels, cells and rows set their own width; this is for standalone paragraphs of explanation.
   62ch, not 75: the `ch` unit is the width of a zero, which in this typeface is wider than its average
   letter, so 62ch measures out at roughly 75 real characters. */
p.mini,p.hint,p.note,p.lede,.prose p,.legal p{max-width:62ch}
.row{display:flex;align-items:center;gap:10px}
.spread{display:flex;align-items:center;justify-content:space-between;gap:10px}
.item{display:flex;align-items:center;gap:9px;border:1px solid #232322;border-radius:8px;background:#0c0c0c;padding:8px 10px;font-size:13.5px}
.item + .item{margin-top:8px}
.item .t{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.item input.edit{flex:1;min-width:0;border:0;background:none;color:var(--ink);font:inherit;padding:2px 4px;border-radius:5px}
.item input.edit:focus-visible{outline:2px solid var(--lime);outline-offset:1px;background:#17170f}
.kindtag{font-size:11px;color:var(--ink-4);text-transform:uppercase;letter-spacing:.08em;flex:none}
.icon-sm{width:28px;height:28px;border:1px solid #2e2d2c;border-radius:6px;display:grid;place-items:center;flex:none;color:var(--ink-2)}
.icon-sm:hover{border-color:#6b6a68;background:#17170f;color:var(--ink)}
.icon-sm.on{border-color:var(--lime);color:var(--lime)}
.grid-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.card-btn{border:1px solid #232322;border-radius:12px;background:linear-gradient(180deg,#101010,#0a0a0a);padding:16px;display:grid;gap:8px;text-align:left;align-content:start}
.card-btn:hover{border-color:#3a3938}
.card-btn b{font-size:16px;font-weight:500}
.card-btn.on{border-color:var(--lime)}

/* ==========================================================================================================
   The original reference.

   Dayriot's first design was a black page, one enormous tight headline, a tiny wide-tracked label above
   it, pictures that run to the edge, captions set small and spaced out underneath, and a single lime
   button. Very few boxes, very few words. Over many phases the inner pages drifted into something else:
   rounded cards with gradients, pill-shaped filters and tags, a green glow behind every heading, and
   everything outlined. This layer brings them back to the reference rather than inventing a third look.

   It sits last in the file on purpose, so it wins over what came before without editing every rule.
   ========================================================================================================== */

/* Headings: the reference's headline is set very large, very tight, and close-leaded. */
.page-head{background:none;border-bottom:0;padding:64px 0 56px}
/* The reference sets three words this large. Inner pages carry longer headlines, so they cap lower. */
.page-head h1{font-size:clamp(48px,6.4vw,96px);line-height:.92;letter-spacing:-.056em;max-width:1000px;margin-top:22px}
.page-head p.lede{margin-top:30px;font-size:20px;line-height:30px;color:var(--ink-2);max-width:560px}
.block-head h2,.pick h2{font-size:clamp(34px,3.7vw,50px);line-height:1;letter-spacing:-.048em}
.block-head p{color:var(--ink-3)}
section.block + section.block{border-top:0}
.h{letter-spacing:-.045em}

/* The tiny label above a headline, and the caption under a picture. */
.eyebrow{font-size:11px;letter-spacing:.42em;color:var(--ink)}
.caption{display:block;margin-top:14px;font-size:13px;letter-spacing:.09em;color:var(--ink-2)}

/* Surfaces: no gradients, no glow, no lift on hover, corners only just softened. A box is drawn only where
   it holds something together, and then as quietly as a hairline. */
.card{background:transparent;border:1px solid #1a1918;border-radius:4px}
.card:hover{border-color:#2c2b2a;transform:none}
.pane{background:#0a0a0a;border:1px solid #1a1918;border-radius:6px}
.empty-state{border:1px solid #1a1918;border-style:solid;border-radius:4px;background:transparent}
.modal-card{border-radius:8px;background:#0d0d0d;border-color:#232221}
.item{border-color:#1a1918;border-radius:4px;background:transparent}
.menu{border-radius:8px}
.select,.input{border-radius:6px;background:#111;border-color:#2a2928}

/* Filters were pills. In the reference a choice is a word, and the chosen one is underlined, exactly like
   the page you are on in the top bar. */
.chips{gap:6px 28px}
.chip{height:auto;padding:6px 0;border:0;border-radius:0;background:none;color:var(--ink-3);font-size:15px;border-bottom:1px solid transparent}
.chip:hover{color:var(--ink);border-color:transparent}
.chip.on{background:none;color:var(--ink);border-bottom-color:var(--ink)}

/* Tags were outlined pills. They are now what the captions are: small spaced words, separated by a dot. */
.tag{height:auto;padding:0;border:0;border-radius:0;font-size:12.5px;letter-spacing:.06em;color:var(--ink-3)}
.tags{column-gap:0!important}
.tags .tag + .tag::before,.tag + .tag::before{content:"·";margin:0 9px;color:#5c5a57}
.tag.lime{color:var(--lime)}
.tag.warn{color:var(--warn)}
.tag.mute{color:var(--ink-4)}

/* Buttons keep their shape: the reference has a cream one and a lime one, both nearly square. The ghost
   button loses its filled background so it reads as a quiet outline, not as another box. */
.btn{border-radius:6px}
.btn-ghost{background:transparent;border-color:#333231}
.btn-ghost:hover{background:#121211;border-color:#5a5957}
.btn-lime:hover,.btn-cream:hover{box-shadow:none}

/* The top bar: the page you are on is underlined in the ink colour, not lime. Lime is for the one action. */
.nav{border-bottom-color:#121110}
.nav-links a[aria-current=page]::after{background:var(--ink);height:1px;bottom:-8px}

/* The footer is quieter in the reference: less furniture, more air. */
.foot{border-top-color:#121110;margin-top:72px}
.foot h3.foot-h{font-size:11px;letter-spacing:.32em;color:var(--ink-3)}
.foot-base{border-top:0}

/* The buttons that are whole tiles (examples, templates) get the same quiet hairline as a card. */
.card-btn{background:transparent;border-color:#1a1918;border-radius:4px}
.card-btn:hover{border-color:#3a3938}
.card-btn.on{border-color:var(--ink)}

/* Pictures run square. The reference never rounds a photograph. */
.frame img,.frame video,.tile img,.tile video{border-radius:0}

@media (max-width:760px){
  .page-head{padding:56px 0 36px}
  .page-head h1{font-size:clamp(44px,12vw,64px)}
  .chips{gap:4px 20px}
}

/* The language switch in the footer (phase 27). */
.lang-switch a{color:var(--ink-3);text-decoration:none}
.lang-switch a:hover{color:var(--ink)}
.lang-switch a[aria-current]{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
