:root {
  --forest: #10241d;
  --deep: #09150f;
  --pine: #1d4236;
  --paper: #f4f0e7;
  --muted: #d5d2c8;
  --ink: #17221e;
  --ink-soft: #35443e;
  --gold: #d7b96d;
  --gold-bright: #f0cf84;
  --line: rgba(218, 208, 184, .2);
  --max: 1160px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.58; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; }
button { font: inherit; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .7rem 1rem; border-radius: 0 0 10px 10px; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: 0; }
.shell { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }

.site-header { position: relative; z-index: 10; background: var(--deep); color: var(--paper); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--paper); font-size: 1.08rem; font-weight: 800; letter-spacing: .13em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-bright); font-size: .85rem; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 1.2rem; font-size: .88rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold-bright); }
.nav-cta { padding: .55rem .85rem; border: 1px solid rgba(240,207,132,.7); border-radius: 999px; color: var(--gold-bright) !important; }
.nav-toggle { display: none; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--paper); cursor: pointer; }

.hero { position: relative; overflow: hidden; background: var(--deep); color: var(--paper); }
.hero-art { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,19,13,.97) 0%, rgba(7,19,13,.8) 42%, rgba(7,19,13,.08) 86%), url("roohvi-companion-hero.png") center/cover; }
.hero .shell { position: relative; min-height: 645px; display: flex; align-items: center; padding-block: 84px; }
.hero-copy { max-width: 630px; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; color: var(--gold-bright); font-size: .76rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 25px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 730px; margin-bottom: 1.2rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.1rem, 7vw, 6rem); font-weight: 400; line-height: .98; letter-spacing: -.055em; }
.lede { max-width: 535px; margin-bottom: 2rem; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .72rem 1.1rem; border: 1px solid transparent; border-radius: 999px; font-weight: 750; text-decoration: none; transition: transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold-bright); color: #1d2b23; }
.button-quiet { border-color: rgba(244,240,231,.38); color: var(--paper); }
.hero-note { margin: 1.3rem 0 0; color: rgba(244,240,231,.72); font-size: .8rem; }

.principles { background: var(--pine); color: var(--paper); }
.principles .shell { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.09); }
.principle { padding: 1.2rem 1.5rem; background: var(--pine); color: var(--muted); font-size: .9rem; }
.principle strong { display: block; color: var(--gold-bright); font-size: 1rem; }

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.tint { background: #e9e4d8; }
.dark { background: var(--forest); color: var(--paper); }
.section-head { max-width: 680px; margin-bottom: 2.7rem; }
.section-head h2, .split h2, .cta h2 { margin-bottom: 1rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.15rem, 4vw, 3.8rem); font-weight: 400; line-height: 1.04; letter-spacing: -.04em; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 1.06rem; }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.15rem; }
.card { min-height: 260px; padding: 1.5rem; border: 1px solid #d8d1c3; border-radius: var(--radius); background: rgba(255,255,255,.36); }
.card small { display: block; margin-bottom: 3.5rem; color: #886e35; font-weight: 800; letter-spacing: .12em; }
.card h3 { margin-bottom: .6rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; font-weight: 400; }
.card p { margin: 0; color: var(--ink-soft); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split-copy { color: var(--muted); }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 1.2rem; }
.tab { padding: .55rem .8rem; border: 1px solid rgba(244,240,231,.28); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.tab[aria-selected="true"] { border-color: var(--gold-bright); background: var(--gold-bright); color: var(--deep); }
.demo { padding: clamp(1.25rem,4vw,2rem); border: 1px solid rgba(244,240,231,.16); border-radius: 30px; background: rgba(3,12,8,.34); box-shadow: 0 18px 60px rgba(0,0,0,.2); }
.demo-label { color: var(--gold-bright); font-size: .73rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.bubble { width: fit-content; max-width: 90%; margin: .8rem 0; padding: .9rem 1rem; border-radius: 18px; font-size: .98rem; }
.user { margin-left: auto; border-bottom-right-radius: 5px; background: #31594b; color: #fff; }
.companion { border-bottom-left-radius: 5px; background: rgba(244,240,231,.1); color: var(--paper); }
.demo-note { margin: 1.1rem 0 0; color: #aabbb1; font-size: .8rem; }

.privacy { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.2rem; }
.privacy-main { padding: clamp(1.5rem,4vw,2.25rem); border-radius: 30px; background: #d9e1da; color: var(--deep); }
.privacy-main h2 { margin-bottom: .8rem; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 400; line-height: 1.1; }
.privacy-main p { max-width: 660px; color: #344b40; }
.privacy-side { display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem; border: 1px solid #d6cfbf; border-radius: 30px; background: #f9f6ef; }
.privacy-side ul { display: grid; gap: .9rem; padding: 0; margin: 0; list-style: none; }
.privacy-side li { color: var(--ink-soft); }
.privacy-side strong { color: #163329; }
.text-link { color: #654e1e; font-weight: 750; }
.cta { background: linear-gradient(125deg,#284f42,#123026); color: var(--paper); }
.cta .shell { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.cta h2 { max-width: 600px; margin: 0; font-size: clamp(2.3rem,5vw,4.5rem); }
.cta p { max-width: 380px; margin: 1rem 0 0; color: var(--muted); }

.site-footer { background: var(--deep); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3,1fr); gap: 2rem; padding: 3.2rem 0 2.4rem; }
.footer-brand { color: var(--paper); font-weight: 800; letter-spacing: .12em; }
.footer-note { max-width: 260px; margin: .8rem 0 0; font-size: .88rem; }
.footer h2 { margin-bottom: .8rem; color: var(--gold-bright); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.footer a { display: block; margin: .4rem 0; color: var(--muted); font-size: .9rem; text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0 1.5rem; border-top: 1px solid var(--line); color: #8fa097; font-size: .76rem; }

.legal-hero { padding-block: clamp(3.3rem,7vw,6rem); background: linear-gradient(120deg,var(--deep),#1d4236); color: var(--paper); }
.legal-hero h1 { margin-bottom: .9rem; font-size: clamp(3rem,6vw,5.3rem); }
.legal-hero p { max-width: 690px; margin: 0; color: var(--muted); font-size: 1.06rem; }
.legal-layout { display: grid; grid-template-columns: minmax(0,1fr) 265px; gap: 4rem; align-items: start; }
.legal { max-width: 760px; }
.legal h2 { margin: 3rem 0 .75rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.95rem; font-weight: 400; line-height: 1.15; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { margin: 1.5rem 0 .55rem; font-size: 1.08rem; }
.legal p, .legal li { color: #36453f; }
.legal li + li { margin-top: .45rem; }
.callout, .notice { margin: 1.6rem 0; padding: 1.1rem 1.25rem; border-left: 3px solid var(--gold); border-radius: 0 12px 12px 0; background: #ede8da; color: #454030; }
.notice { border: 1px solid #e4cf91; border-left-width: 3px; background: #fffae9; }
.legal-side { position: sticky; top: 1.2rem; padding: 1.2rem; border: 1px solid #ddd5c4; border-radius: var(--radius); background: #fbf9f3; }
.legal-side h2 { margin-bottom: .7rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 400; }
.legal-side a { display: block; margin: .42rem 0; color: #55451e; font-size: .9rem; }
.steps { display: grid; gap: 1rem; padding: 0; list-style: none; counter-reset: steps; }
.steps li { display: grid; grid-template-columns: 38px 1fr; gap: 1rem; padding: 1rem; border: 1px solid #dcd4c4; border-radius: 15px; background: #faf8f1; }
.steps li::before { counter-increment: steps; content: counter(steps); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--forest); color: var(--gold-bright); font-weight: 800; }
.steps strong { display: block; color: var(--forest); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-card { padding: 1.55rem; border: 1px solid #d8d0c0; border-radius: var(--radius); background: #faf8f1; }
.contact-card h2 { margin-bottom: .55rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; font-weight: 400; }
.email { color: #493918; font-size: 1.08rem; font-weight: 800; overflow-wrap: anywhere; }

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .65rem 1.25rem 1.1rem; border-top: 1px solid var(--line); background: var(--deep); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: .75rem .2rem; }
  .nav-cta { margin-top: .35rem; text-align: center; }
  .cards, .split, .privacy, .legal-layout { grid-template-columns: 1fr; }
  .card { min-height: auto; }.card small { margin-bottom: 1.6rem; }.legal-side { position: static; order: -1; }.cta .shell { display: block; }.cta .button { margin-top: 1.5rem; }.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .shell { width: min(calc(100% - 2rem), var(--max)); }.hero .shell { min-height: 610px; align-items: end; padding-block: 70px; }.hero-art { background-image: linear-gradient(0deg,rgba(7,19,13,.96),rgba(7,19,13,.12)), url("roohvi-companion-hero.png"); background-position: 61% center; }.principles .shell, .footer-grid, .contact-grid { grid-template-columns: 1fr; }.footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } [data-reveal] { opacity: 1; transform: none; } }
