/* The website in the app's look (October 2026): the warm colors from the logo, Fraunces for headings, gold for the main button.
   Every website page links this file last in <head>, so it overrides the page's own colors in one place (and can be undone by
   removing the link). It sets both sets of color names the pages use: the home page's (--paper, --ink, --us…) and the guide
   pages' (--bg, --text, --accent…). The font is the app's own copy (app/fonts/fraunces.woff2, SIL Open Font License). */
@font-face{font-family:"Fraunces";src:url("/app/fonts/fraunces.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
:root{
  --paper:#15171B;--paper2:#1A1C21;--panel:#1E2126;--panel2:#272B31;--line:#2F3339;--ink:#EEE9E0;--tan:#A0A5AC;--muted:#8E939A;--onink:#15171B;
  --bg:#15171B;--surface:#1E2126;--surface-2:#272B31;--text:#EEE9E0;--faint:#8E939A;
  --btn:#C8A46A;--onbtn:#17140E;--soft:0 1px 2px rgba(0,0,0,.35),0 6px 18px rgba(0,0,0,.18);
  --serif:"Fraunces",Georgia,"Times New Roman",serif}
@media (prefers-color-scheme: light){:root:not([data-theme="dark"]){
  --paper:#FAF7F2;--paper2:#F5F0E8;--panel:#F2EDE4;--panel2:#EAE3D7;--line:#E2DACC;--ink:#1C1A16;--tan:#5F594F;--muted:#6B655A;--onink:#FFFFFF;
  --bg:#FAF7F2;--surface:#F2EDE4;--surface-2:#EAE3D7;--text:#1C1A16;--faint:#6B655A;
  --us:#7D5F27;--accent:#7D5F27;--btn:#8A6A2E;--onbtn:#FFFFFF;--soft:0 1px 2px rgba(60,45,20,.06),0 6px 18px rgba(60,45,20,.06)}}
:root[data-theme="light"]{
  --paper:#FAF7F2;--paper2:#F5F0E8;--panel:#F2EDE4;--panel2:#EAE3D7;--line:#E2DACC;--ink:#1C1A16;--tan:#5F594F;--muted:#6B655A;--onink:#FFFFFF;
  --bg:#FAF7F2;--surface:#F2EDE4;--surface-2:#EAE3D7;--text:#1C1A16;--faint:#6B655A;
  --us:#7D5F27;--accent:#7D5F27;--btn:#8A6A2E;--onbtn:#FFFFFF;--soft:0 1px 2px rgba(60,45,20,.06),0 6px 18px rgba(60,45,20,.06)}

/* Headings in the serif, as in the app. Body text stays in the phone's own font. */
/* (!important because some pages set a heavier weight with a more specific rule, like ".hero h1".) */
h1{font-family:var(--serif)!important;font-weight:650!important;letter-spacing:-.015em;font-variation-settings:"opsz" 72}
h2{font-family:var(--serif)!important;font-weight:600!important;letter-spacing:-.01em}
.tryq{font-family:var(--serif);font-weight:600}
h3{letter-spacing:-.005em}

/* The main button in R.O.S. gold: .btn.solid on the home page, a plain .btn on the guide pages. Outline buttons stay outlines. */
.btn.solid,.btn:not(.ghost):not(.solid){background:var(--btn);color:var(--onbtn);border-color:var(--btn)}
.btn.solid:hover,.btn:not(.ghost):not(.solid):hover{filter:brightness(1.06)}
.btn.ghost{border-color:color-mix(in srgb,var(--ink) 28%,var(--line))}

/* One header, like the app: no colored stripe above it. */
.band{display:none}

/* Calmer and easier to read (Royce, November 4, 2026): one gold button per spot, with the second choice a quiet link; no glow behind
   anything; fine print and footer links big enough to read on a phone. */
.ctas .btn:not(.ghost)+.btn.ghost{background:none;border:0;color:var(--text);font-weight:600;text-decoration:underline;text-underline-offset:3px;padding:10px 6px;width:auto}
@media (max-width:560px){.ctas{justify-content:center}.ctas .btn:not(.ghost)+.btn.ghost{width:auto;margin:0 auto}}
.hero::before,.glow::before{background:none!important}
p.fine,.fine,.fine a,footer,footer p,footer a,p.where,p.who,.promise li,.swipehint{font-size:14px}

/* One top bar on every page (Royce, November 24, 2026): the home page's menu (How it works, A week, Store, Stories, FAQ) and Log in
   on iPads in landscape and laptops; phones keep the logo, the theme switch and Start free. */
.topnav{display:none}
/* Log in shows on every size, as on the home page (Royce, November 24, 2026: "fix 1 and 2") */
.toplogin{display:inline;font-size:15px;font-weight:600;color:var(--text);text-decoration:none;margin:0 4px 0 2px;white-space:nowrap}
@media (max-width:400px){.toplogin{font-size:14px;margin:0 2px}.top .themebtn{width:34px;height:34px}}
@media (min-width:861px){
  .top .wrap{max-width:1120px;gap:16px}
  .topnav{display:flex;gap:26px;font-size:15px;font-weight:600;margin:0 auto 0 32px}
  .topnav a{text-decoration:none;color:var(--muted)}.topnav a:hover,.topnav a[aria-current]{color:var(--text)}
}

/* Laptops (Royce, November 24, 2026): card grids use the wider screen, while long reading text keeps its comfortable width.
   The free guides list, the four styles, the five common pairings, the nine patterns and the ten pair pages step out of the
   reading column and line up across. */
@media (min-width:1100px){
  .grow,#styles .styles,.pairs,.lps,.grid10{width:min(1080px,calc(100vw - 64px));margin-left:calc(50% - min(540px,50vw - 32px))!important;margin-right:0!important}
  .grow{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  #styles .styles{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .pairs{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .lps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.lps .lp{margin:0!important}
  .grid10{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}

/* Store one tap away on phones and iPads held upright (Royce, November 28, 2026: "I would like the store to be more noticeable /
   accessible when viewing from a phone"). Up to 860 px wide, where the menu bar is hidden, the top bar reads R.O.S. · Store ·
   Log in · Start free · Menu. The Menu button (three lines) opens the same five links with Store first, plus the light/dark
   switch, which moves into the menu to make room. ros.js builds and runs the menu. */
.topstore,.menubtn{display:none}
.topstore{font-size:15px;font-weight:600;color:var(--text);text-decoration:none;white-space:nowrap;padding:10px 4px}
.topstore[aria-current]{color:var(--accent)}
.menubtn{align-items:center;justify-content:center;flex:none;width:38px;height:38px;padding:0;margin-left:6px;border-radius:999px;border:1px solid var(--line);background:transparent;color:var(--text);cursor:pointer}
.menubtn svg{width:20px;height:20px}
.menubtn[aria-expanded="true"]{background:var(--surface)}
.topmenu{position:absolute;left:0;right:0;top:100%;z-index:40;background:var(--bg);border-bottom:1px solid var(--line);box-shadow:var(--soft);padding:4px 20px 12px}
.topmenu[hidden]{display:none}
.topmenu a,.topmenu button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;padding:0;margin:0;border:0;border-bottom:1px solid var(--line);background:none;color:var(--text);font:inherit;font-size:17px;font-weight:600;text-decoration:none;text-align:left;cursor:pointer}
.topmenu>:last-child{border-bottom:0}
.topmenu a[aria-current]{color:var(--accent)}
.topmenu .tm-go{color:var(--accent);font-weight:600}
.topmenu .tm-theme{color:var(--muted);font-size:15px}
@media (max-width:860px){
  .topstore{display:inline}
  .menubtn{display:inline-flex}
  header .themebtn{display:none!important}
}
@media (min-width:600px) and (max-width:860px){.topmenu{left:auto;right:16px;top:calc(100% + 8px);width:300px;border:1px solid var(--line);border-radius:14px;padding:4px 18px 8px}}
@media (max-width:400px){.topstore{font-size:14px;padding:10px 2px}.menubtn{width:34px;height:34px;margin-left:4px}}
@media (prefers-reduced-motion:no-preference){.topmenu:not([hidden]){animation:tmIn .16s ease-out}@keyframes tmIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}}
.navright .topstore{margin-right:8px}
@media (max-width:860px){.top .wrap{gap:10px}}
/* Phones up to 400 px: a little less side room and padding so the whole bar fits on one line. */
@media (max-width:400px){
  .nav .wrap,.top .wrap{padding-left:14px;padding-right:14px;gap:8px}
  .nav .logo{font-size:16px;gap:7px}.nav .logo svg{width:22px;height:22px}
  .top .logo{font-size:18px;gap:6px}.top .logo svg{width:22px;height:22px}
  .nav .btn,.top .btn{padding:8px 12px}
  .navlogin{padding:8px 4px;margin-right:2px}
  .navright .topstore{margin-right:4px}
}
