/* Shared by every page; the pages themselves are built by scripts/build-pages.mjs. */
@font-face{font-family:"Season Sans";font-weight:600;font-display:swap;src:url(/fonts/SeasonSans-SemiBold.woff2) format("woff2")}
@font-face{font-family:"Season Serif";font-weight:600;font-display:swap;src:url(/fonts/SeasonSerif-Medium.woff2) format("woff2")}

:root{
  --bg:#F0EEEC;
  --ink:#000C1B;
  --ink-soft:#3A4352;
  --placeholder:#9C978F;
  --line:#9A938A;
  --gutter:clamp(20px,3.4vw,36px);
  --side:clamp(20px,5.5vw,104px);
}
*{box-sizing:border-box}
html{background:var(--bg)}
body{
  margin:0;
  padding:var(--gutter) var(--side);
  background:var(--bg);color:var(--ink);
  font-family:"Season Sans",system-ui,sans-serif;font-weight:600;
  -webkit-font-smoothing:antialiased;
}
body{padding-top:0;padding-bottom:0}
/* First screen, measured from EUOWN_Concept_landingspage (1728 wide): bars and
   heading share one size (about 2.9% of the width), bars are as tall as the type
   and cut it just above the baseline, the asterisk hangs in the margin. */
/* Screen colours as in EUOWN_Concept_landingspage; the hex codes on the guidelines'
   colour page are CMYK conversions and look duller on screen. */
:root{--big:clamp(22px,min(2.9vw,5.4vh),62px);--bar:clamp(18px,min(2.1vw,3.8vh),42px);--edge:3.5vw}
.top{position:relative;margin:0 calc(-1*var(--side))}
.lines{list-style:none;margin:0;padding:0}
/* Each bar is a link to a page. On hover (and on the page it stands for) it slides
   out and pushes the bars below it down, like a page pulled from a stack. */
.lines li{line-height:1}
.lines a{display:block;height:calc(var(--bar)*1.04);overflow:hidden;white-space:nowrap;padding:calc(var(--bar)*.36) var(--side) 0;font-size:var(--bar);letter-spacing:-.02em;color:var(--ink);background:none;transition:height .24s cubic-bezier(.2,.8,.2,1)}
.lines a:hover,.lines a:focus-visible,.lines a[aria-current]{height:calc(var(--bar)*1.56);background:none}
.lines a:focus-visible{outline:2px solid var(--ink);outline-offset:-4px}
/* Hover intent: a bar slides out only when the pointer rests on it, so moving
   across the bars on the way to the page does not set them off. Keyboard focus
   and sliding back in stay immediate. */
.lines a:hover:not(:focus-visible){transition-delay:.07s}
/* Right after a click the pointer is still on the bars: they stay calm until it
   leaves them or rests on one (site.js). The bar of the current page stays out. */
.top.rest .lines a:hover:not([aria-current]){height:calc(var(--bar)*1.04)}
.lines li:nth-child(1){background:#A63737}
.lines li:nth-child(2){background:#FC5D20}
.lines li:nth-child(3){background:#F5FF71}
.lines li:nth-child(4){background:#F0EEEC}
/* The sky fills the first screen under the closed bars and keeps that height, so a
   bar sliding out moves the page down instead of shrinking the wordmark. */
.sky{min-height:calc(100svh - 4*var(--bar)*1.04);display:flex;flex-direction:column;margin:0 calc(-1*var(--side));padding:min(5.6vw,7vh) var(--side) min(5vw,5.5vh);background:#65B7E7;color:var(--ink)}
.pill{display:inline-block;font-size:clamp(14px,min(1.35vw,2.5vh),24px);line-height:1;border:1.5px solid var(--ink);border-radius:999px;padding:.24em .6em .3em;background:none;transition:background-color .15s,color .15s}
.pill:hover{background:var(--ink);color:#F0EEEC}
.say{display:grid;grid-template-columns:50.7% 1fr;align-items:start}
.say>*{min-width:0}
.say h1{position:relative;font-size:var(--big);line-height:1.03;letter-spacing:-.02em;margin:0}
.say h1 .ast{position:absolute;left:calc(var(--edge) - var(--side));top:.02em;width:.52em;height:.55em}
.nw{white-space:nowrap}
.say p{font-family:"Season Serif",Georgia,serif;font-weight:500;font-size:clamp(14px,min(1.3vw,2.4vh),24px);line-height:1.36;margin:0 0 1.36em;max-width:36em}
.say .cta{margin-top:.5em}
.say{margin-bottom:min(5vw,5vh)}
.mark{position:relative;flex:1;min-height:clamp(56px,9vw,150px);max-height:calc((100vw - 2*var(--side))*391/2080);margin:auto 0 0;line-height:0}
.mark .logo-svg{position:absolute;inset:0;width:100%;height:100%}
.bar2{position:sticky;top:0;z-index:5;margin:0 calc(-1*var(--side));padding:clamp(10px,1.1vw,18px) var(--side);display:flex;justify-content:space-between;align-items:center;gap:24px;background:#F0EEEC}
.bar2 .home{display:block;background:none;line-height:0}
.bar2 .home svg{height:clamp(20px,1.6vw,28px);width:auto}
.bar2 nav a[aria-current]:not(.pill){background-size:100% 1.5px}
.bar2 nav{display:flex;align-items:center;gap:clamp(14px,1.6vw,26px);font-size:clamp(14px,1vw,17px)}
.bar2 .pill{font-size:inherit}
main>.band:first-child{border-top:0}
h1{font-weight:600;letter-spacing:-.02em}
h2{font-weight:600;font-size:clamp(28px,3.2vw,40px);letter-spacing:-.02em;margin:0 0 6px;line-height:1.15}
.sub{margin:0 0 28px;font-weight:600;font-size:17px}

form{max-width:480px}
.field{display:block}
.field input{
  width:100%;border:0;border-bottom:1px solid var(--line);background:transparent;border-radius:0;
  font:inherit;font-size:clamp(24px,2.6vw,32px);font-weight:600;letter-spacing:-.02em;
  color:var(--ink);padding:8px 0 6px;margin:0;outline:0;
}
.field input::placeholder{color:var(--placeholder);opacity:1}
.field input:focus{border-bottom-color:var(--ink);box-shadow:0 1px 0 var(--ink)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.check{display:flex;align-items:center;gap:12px;margin:26px 0 20px;font-size:17px;font-weight:600;cursor:pointer}
.check input{appearance:none;margin:0;flex:none;width:20px;height:20px;border:1px solid var(--ink);border-radius:3px;background:transparent;display:grid;place-content:center;cursor:pointer}
.check input::after{content:"";width:10px;height:10px;background:var(--ink);transform:scale(0);transition:transform .12s}
.check input:checked::after{transform:scale(1)}

button{
  font:inherit;font-weight:600;font-size:16px;line-height:1;
  background:none;color:var(--ink);border:1px solid var(--ink);border-radius:999px;padding:8px 16px 9px;cursor:pointer;
  transition:background-color .15s,color .15s;
}
button:hover{background:var(--ink);color:var(--bg)}
button:disabled{opacity:.5;cursor:default}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.field input:focus-visible{outline:0}

.status{min-height:1.5em;margin:16px 0 0;font-size:17px;font-weight:600}
.status.err{color:#9b1c2e}
.thanks{display:none}
.done form{display:none}
.done .thanks{display:block}
.thanks p{margin:0;font-size:17px;font-weight:600}

/* Below the first screen: what we do, how we run it, what it costs. */
.band{border-top:1px solid var(--line);padding:clamp(48px,8vh,88px) 0;display:grid;grid-template-columns:1fr 2fr;gap:clamp(24px,6vw,96px);scroll-margin-top:calc(2*clamp(10px,1.1vw,18px) + clamp(20px,1.6vw,28px) + 12px)}
.band>h2,.band>h1{font-size:clamp(24px,2.4vw,32px);margin:0}
.two{line-height:1.12}
.two{display:flex;gap:.32em;align-items:flex-start}
.two .ast{flex:none;width:.55em;height:.55em;margin-top:.16em}
.two span{display:block}
.two>span>span:first-child,.two .ast{color:#65B7E7}
.items{display:grid;grid-template-columns:1fr 1fr;gap:36px clamp(24px,4vw,56px)}
.items h3{font-size:20px;line-height:1.2;letter-spacing:-.01em;margin:0 0 8px}
.items p{font-family:"Season Serif",Georgia,serif;font-weight:500;font-size:17px;line-height:1.45;margin:0;max-width:30em}
.items code{font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:14px;font-weight:500;background:#E4DFD9;border-radius:4px;padding:1px 5px;white-space:nowrap}
/* Prices: one framed table, grouped by kind of model. */
#pricing .head h2,#pricing .head h1{font-size:clamp(24px,2.4vw,32px);letter-spacing:-.02em;line-height:1.15;margin:0 0 14px}
#pricing .head p{font-family:"Season Serif",Georgia,serif;font-weight:500;font-size:17px;line-height:1.45;margin:0;max-width:34em;color:var(--ink-soft)}
.frame{border:1px solid #D6CFC7;border-radius:16px;overflow:hidden;background:#F8F7F5}
.prices{width:100%;border-collapse:collapse;font-size:16px;line-height:1.3;font-variant-numeric:tabular-nums}
.prices th,.prices td{padding:13px 12px;text-align:left;white-space:nowrap}
.prices th:first-child,.prices td:first-child{padding-left:20px}
.prices th:last-child,.prices td:last-child{padding-right:20px}
.prices .r{text-align:right}
.prices thead th{background:#D6CFC7;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft);padding-top:17px;padding-bottom:17px}
.prices tbody td{border-top:1px solid #E3DED8;vertical-align:middle}
.prices .grp th{background:#F0EEEC;border-top:1px solid #D6CFC7;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft);padding:9px 20px}
.prices tbody tr:first-child.grp th{border-top:0}
.prices .nm{white-space:normal}
.prices .nm b{display:block;font-weight:600;font-size:17px;letter-spacing:-.01em}
.prices .nm span{display:block;margin-top:3px;font-size:13.5px;color:var(--ink-soft);white-space:nowrap}
.prices code{font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:12.5px;font-weight:500}
.prices .p{font-size:17px}
.prices .min{font-size:13px;color:var(--ink-soft);margin-left:3px}
.prices .dot{font-style:normal}
.prices .na{color:#8A8279}
.pricenote{font-family:"Season Serif",Georgia,serif;font-weight:500;font-size:15px;line-height:1.45;margin:16px 0 0;color:var(--ink-soft);max-width:56em}

/* Home: the short way into the other pages. */
.more{margin:14px 0 0!important;font-family:"Season Sans",system-ui,sans-serif!important;font-size:17px!important}
/* Sub pages start right under the bars. */
/* Sub pages: no hero; the logo bar sits right under the menu bars, on sky, and
   the first heading of the page is its title. */
body.subpage .bar2{background:#65B7E7}
body.subpage .bar2 .pill:hover{color:#65B7E7}

/* Updates sign-up, near the end. */
body.home main:empty{display:none}
body.home .night{margin-top:0}
.night{margin:clamp(24px,4vh,48px) calc(-1*var(--side)) 0;padding:0 var(--side) var(--gutter);background:var(--ink);color:#F0EEEC}
.night ::selection{background:#65B7E7;color:var(--ink)}
.night :focus-visible{outline-color:#F0EEEC}
.updates{border-top:0;padding-top:clamp(56px,9vh,104px)}
.updates form{max-width:none;display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:8px 28px;align-items:end}
.updates .field input{font-size:clamp(20px,2vw,26px);color:#F0EEEC;border-bottom-color:rgba(240,238,236,.4);caret-color:#F0EEEC}
.updates .field input::placeholder{color:#8E97A6}
.updates .field input:focus{border-bottom-color:#F0EEEC;box-shadow:0 1px 0 #F0EEEC}
.updates form>.field:first-child{position:absolute}
.updates .row{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px 28px;flex-wrap:wrap;margin-top:18px}
.updates .check{margin:0}
.updates .check input{border-color:#F0EEEC}
.updates .check input::after{background:#F0EEEC}
.updates button{color:#F0EEEC;border-color:#F0EEEC}
.updates button:hover{background:#F0EEEC;color:var(--ink)}
.updates .status{grid-column:1/-1;margin:4px 0 0}
.updates .status.err{color:#FF9C7A}
.updates .sub{font-family:"Season Serif",Georgia,serif;font-weight:500;margin:0 0 18px;max-width:36em;color:#C9CED6}

footer{border-top:1px solid rgba(240,238,236,.18);padding:clamp(32px,5vh,48px) 0 8px;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px clamp(24px,4vw,56px);font-size:16px;line-height:1.5;color:#C9CED6}
footer p{margin:0}
footer h2{font-size:13px;letter-spacing:.06em;text-transform:uppercase;line-height:1.5;margin:0 0 8px;color:#65B7E7}
footer ul{list-style:none;margin:0;padding:0}
footer address{font-style:normal}
a{color:inherit;text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 100%/0 1.5px no-repeat;transition:background-size .3s ease}
/* The underline is always there on the privacy link; on hover it redraws left to right. */
a.u{background-size:100% 1.5px}
a.u:hover{animation:redraw .35s ease}
a:hover{background-size:100% 1.5px}
@keyframes redraw{from{background-size:0 1.5px}to{background-size:100% 1.5px}}

@media (max-width:1360px){
  .prices .lic{display:none}
}
/* Touch screens and phones have no hover to reveal a word: the bars are taller,
   the words fully readable, and each bar is a proper tap target. */
@media (hover:none),(max-width:760px){
  :root{--bar:clamp(22px,3vw,34px)}
  .lines a{height:calc(var(--bar)*1.45);padding-top:calc(var(--bar)*.3)}
  .lines a:hover,.lines a:focus-visible,.lines a[aria-current]{height:calc(var(--bar)*1.45)}
  .lines a[aria-current]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.12em}
  .sky{min-height:calc(100svh - 4*var(--bar)*1.45)}
}
/* Upright screens (phones, tablets held upright): the sky is as tall as its text,
   with the wordmark full width right under it, instead of a screen of blue. */
@media (orientation:portrait){
  .sky{min-height:0}
  .say{margin-bottom:0}
  .mark{flex:none;min-height:0;height:calc((100vw - 2*var(--side))*391/2080);margin-top:min(6vw,48px)}
}
@media (max-width:760px){
  h1{font-size:24px}
  .field input{font-size:22px}
  .check{font-size:15px}
  .say{grid-template-columns:1fr;gap:20px}
  .bar2 nav a:not(.pill){display:none}
  .say h1 .ast{position:static;display:inline-block;vertical-align:top;margin:.08em .25em 0 0}
  .sky{min-height:0;padding:32px var(--side) 28px}
  .say{margin-bottom:0}
  .mark{margin-top:32px;flex:none;min-height:0;height:calc((100vw - 2*var(--side))*391/2080)}
  .band{grid-template-columns:1fr;gap:24px;padding:44px 0}
  .prices th,.prices td{padding:12px 10px}
  .prices th:first-child,.prices td:first-child{padding-left:14px}
  .prices th:last-child,.prices td:last-child{padding-right:14px}
  .prices .grp th{padding:9px 14px}
  .prices .nm code,.prices .nm .dot{display:none}
  .prices .opt{display:none}
  .prices .nm b,.prices .p{font-size:16px}
  .updates form{grid-template-columns:1fr}
  .items{grid-template-columns:1fr;gap:28px}
  footer{grid-template-columns:1fr 1fr;font-size:15px}
  footer .co{grid-column:1/-1}
}
@media (prefers-reduced-motion:reduce){.lines a{transition:none}}
@media (prefers-reduced-motion:reduce){a,a.u:hover{transition:none;animation:none}}
