/* Ottavi website styles (adopted 2026-10-02). Website only: the dashboards and LP materials keep
   ottavi/brand/tokens.css (Lora, blue and grey). Colors and fonts are defined here, not in tokens.css. */
:root {
  --bg:       #ffffff;
  --panel:    #f6f7f9;
  --panel-2:  #eef0f3;
  --edge:     #e3e6eb;
  --edge-2:   #c4cad3;
  --ink:      #0b0d10;
  --ink-2:    #4a515c;
  --ink-3:    #6e7581;
  --accent:   #3574c0;  /* Ottavi brand blue */
  --navy:     #f3f5f8;
  --sans: "Geist", "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --max: 1240px;
  --gut: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.frame { max-width: var(--max); margin: 0 auto; border-left: 1px solid var(--edge); border-right: 1px solid var(--edge); }
.lab { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* Header */
header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--edge); }
header .frame { display: grid; grid-template-columns: auto 1fr auto; align-items: stretch; height: 60px; }
.brand { display: flex; align-items: center; gap: 14px; padding: 0 var(--gut); font-weight: 500; font-size: 15px; letter-spacing: .32em; border-right: 1px solid var(--edge); }
/* Lens mark, option A (logo-lens-A/). */
.brand svg { width: 26px; height: 26px; flex-shrink: 0; overflow: visible; }
.brand span { margin-right: -.32em; }
nav { display: flex; }
nav a { display: flex; align-items: center; gap: 8px; padding: 0 20px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); border-right: 1px solid var(--edge); transition: background .15s, color .15s, box-shadow .2s; }
nav a:hover { background: var(--panel); color: var(--ink); }
nav a.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.sub { display: flex; align-items: center; padding: 0 var(--gut); border-left: 1px solid var(--edge); }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--edge-2); color: var(--ink); background: var(--panel); transition: background .15s, border-color .15s; }
.btn:hover { border-color: var(--ink-2); }
.btn.solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.solid:hover { background: #2a2f36; border-color: #2a2f36; }

/* Hero */
.hero { border-bottom: 1px solid var(--edge); background:
  linear-gradient(var(--edge) 1px, transparent 1px) 0 0 / 100% 80px,
  linear-gradient(90deg, var(--edge) 1px, transparent 1px) 0 0 / 80px 100%; }
.hero .frame { display: grid; grid-template-columns: 1.6fr 1fr; background: linear-gradient(180deg, rgba(255,255,255,.6), var(--bg) 92%); }
.hero .main { padding: 120px var(--gut) 72px; border-right: 1px solid var(--edge); }
.hero h1 { font-size: clamp(32px, 4.5vw, 58px); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; margin: 20px 0 24px; max-width: 14em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 18px; color: var(--ink-2); max-width: 32em; margin: 0 0 36px; font-weight: 300; }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.cover { display: flex; flex-direction: column; justify-content: flex-end; background: rgba(246,247,249,.8); }
.cover .lab { padding: 18px 24px; border-bottom: 1px solid var(--edge); border-top: 1px solid var(--edge); }
.cover ul { list-style: none; margin: 0; padding: 0; }
.cover li { display: flex; justify-content: space-between; padding: 16px 24px; border-bottom: 1px solid var(--edge); font-size: 15px; }
.cover li:last-child { border-bottom: 0; }

/* Sections */
section, .contact { scroll-margin-top: 60px; }
section.blk { border-bottom: 1px solid var(--edge); }
.blk-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 56px var(--gut) 20px; border-bottom: 1px solid var(--edge); }
.blk-head h2 { margin: 8px 0 0; font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.blk-head a { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.blk-head a:hover { color: var(--ink); }

.row { display: grid; grid-template-columns: 180px 1fr 90px; align-items: center; border-bottom: 1px solid var(--edge); transition: background .15s; }
.row:last-child { border-bottom: 0; }
.row > * { padding: 22px var(--gut); }
.row .dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; border-right: 1px solid var(--edge); align-self: stretch; display: flex; align-items: center; }
.row h3 { margin: 0 0 4px; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.row p { margin: 0; font-size: 14px; color: var(--ink-2); font-weight: 300; }
.row .tag { justify-self: end; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--edge-2); padding: 4px 8px; margin-right: var(--gut); }
.row .tag.paid { color: var(--accent); border-color: var(--accent); }
.row:hover { background: var(--panel); }
.row:hover h3 { color: #000; }
.row:hover .tag { border-color: var(--accent); color: var(--accent); }
.row:hover .dt { color: var(--accent); }

/* Dashboard panel */
.dash { display: grid; grid-template-columns: repeat(2, 1fr); }
.dash > div { padding: 28px var(--gut) 32px; border-right: 1px solid var(--edge); background: var(--panel); min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; }
.dash > div:last-child { border-right: 0; }
.dash h3 { font-size: 17px; font-weight: 500; margin: 12px 0 6px; }
.dash p { margin: 0; font-size: 14px; color: var(--ink-2); font-weight: 300; }
.spark { height: 48px; border-top: 1px dashed var(--edge-2); border-bottom: 1px dashed var(--edge-2); margin-top: 24px; display: flex; align-items: center; justify-content: center; }
.spark span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; }

/* About and contact */
/* Compliance: text from ottavi/compliance/research-disclaimers.md */
.disc-intro { padding: 28px var(--gut); border-bottom: 1px solid var(--edge); background: var(--panel); }
.disc-intro p { margin: 0 0 10px; max-width: 52em; color: var(--ink); font-size: 17px; }
.disc-intro p:last-child { margin-bottom: 0; color: var(--ink-2); font-size: 15px; font-weight: 300; }
.fund-mail { color: var(--accent); }
.fund-mail:hover { color: var(--ink); }
.disc-row { display: grid; grid-template-columns: 300px 1fr; border-bottom: 1px solid var(--edge); }
.disc-row:last-child { border-bottom: 0; }
.disc-row h3 { margin: 0; padding: 22px var(--gut); font-size: 15px; font-weight: 500; border-right: 1px solid var(--edge); }
.disc-row > div { padding: 22px var(--gut); }
.disc-row p { margin: 0 0 10px; max-width: 46em; font-size: 14px; color: var(--ink-2); font-weight: 300; }
.disc-row p:last-child { margin-bottom: 0; }
.disc-row a { text-decoration: underline; color: var(--accent); }
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split > div { padding: 56px var(--gut); }
.split > div:first-child { border-right: 1px solid var(--edge); }
.split h2 { margin: 8px 0 20px; font-size: 24px; font-weight: 500; letter-spacing: -.02em; }
.split p { color: var(--ink-2); font-weight: 300; margin: 0 0 14px; max-width: 34em; }
.mail { display: block; margin-top: 8px; font-size: 20px; font-weight: 400; letter-spacing: -.02em; border-bottom: 1px solid var(--edge-2); padding-bottom: 12px; transition: border-color .15s, color .15s; }
.mail { color: var(--accent); }
.mail:hover { color: var(--ink); border-color: var(--accent); }
.contact { background: var(--navy); }

footer .frame { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px var(--gut); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-3); }
footer a:hover { color: var(--ink); }

/* Six tabs: tighten spacing on mid-size screens. */
@media (max-width: 1240px) { nav a { padding: 0 14px; } }
@media (max-width: 900px) {
  /* Phones: the menu becomes a second, scrollable row under the logo and Subscribe. */
  header .frame { grid-template-columns: 1fr auto; grid-template-rows: 60px 44px; height: auto; }
  .brand { border-right: 0; grid-row: 1; }
  .sub { grid-row: 1; grid-column: 2; }
  nav { grid-row: 2; grid-column: 1 / -1; overflow-x: auto; border-top: 1px solid var(--edge); scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
  nav a { padding: 0 14px; white-space: nowrap; flex-shrink: 0; }
  section, .contact { scroll-margin-top: 104px; }
  .hero .frame, .split, .dash { grid-template-columns: 1fr; }
  .hero .main, .split > div:first-child, .dash > div { border-right: 0; }
  .dash > div { border-bottom: 1px solid var(--edge); }
  .hero .main { padding-top: 72px; }
  .row { grid-template-columns: 1fr; }
  .disc-row { grid-template-columns: 1fr; }
  .disc-row h3 { border-right: 0; padding-bottom: 0; }
  .row .dt { border-right: 0; padding-bottom: 0; }
  .row > * { padding-top: 14px; padding-bottom: 14px; }
  .row .tag { justify-self: start; margin: 0 var(--gut) 18px; }
}
