/* Syllora landing — deep teal + cream "planner page" motif with coral/blue/purple
   schedule-block accents drawn from the app icon. System fonts only. */
:root {
  --bg: #f6f8f5;
  --surface: #fffdf8;
  --ink: #1c2a26;
  --muted: #58685f;
  --line: #dfe6df;
  --brand: #1d6f5f;
  --brand-deep: #14544a;
  --brand-tint: #e5f0eb;
  --coral: #e0553f;
  --coral-tint: #fcebe7;
  --blue: #3e63dd;
  --blue-tint: #e9edfb;
  --purple: #7c4dcc;
  --purple-tint: #f0eafa;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121816;
    --surface: #1b2320;
    --ink: #eef4f0;
    --muted: #9db0a7;
    --line: #2c3833;
    --brand: #4fae97;
    --brand-deep: #6cc4ae;
    --brand-tint: #1a2f29;
    --coral: #f0785f;
    --coral-tint: #3a221c;
    --blue: #7d97ec;
    --blue-tint: #1e2540;
    --purple: #a583e3;
    --purple-tint: #2b2140;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-deep); }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: .6rem 1rem; z-index: 100;
  border-radius: 0 0 8px 0; text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 3.6rem; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.1rem; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.site-nav ul { display: flex; gap: 1.3rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500; }
.site-nav a:hover { color: var(--ink); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: .45rem .6rem; cursor: pointer; color: var(--ink); font: inherit;
}
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: .2rem; }
  .site-nav a { display: block; padding: .55rem 0; font-size: 1.05rem; }
}

/* Hero */
.hero { padding: 3.5rem 0 3rem; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 2.2rem; } }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.12; margin: 0 0 1rem; letter-spacing: -0.02em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lede { font-size: 1.13rem; color: var(--muted); margin: 0 0 1.4rem; max-width: 34rem; }
.launch-note {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .82rem; letter-spacing: .02em;
  color: var(--brand-deep); background: var(--brand-tint);
  border: 1px dashed var(--brand); border-radius: 999px;
  padding: .35rem .9rem; margin-bottom: 1.1rem;
}
.launch-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.play-badge { display: inline-block; margin: .3rem 0 .9rem; }
.play-badge svg { display: block; height: 56px; width: auto; }
.disclaimer-box {
  font-size: .82rem; color: var(--muted); max-width: 34rem;
  border-left: 3px solid var(--line); padding-left: .8rem; margin-top: .6rem;
}

/* Today-screen mock card (pure CSS) */
.today-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.2rem 1.3rem; box-shadow: 0 12px 30px rgba(20, 60, 50, .10);
  max-width: 24rem; margin: 0 auto;
}
.today-card .t-top {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: .74rem; color: var(--muted); margin-bottom: .9rem;
}
.gpa-chip {
  background: var(--brand-tint); color: var(--brand-deep);
  border: 1px solid var(--brand); border-radius: 999px;
  padding: .12rem .6rem; font-weight: 700;
}
.t-block {
  display: flex; gap: .8rem; align-items: center;
  border-radius: 11px; padding: .55rem .8rem; margin-bottom: .55rem;
  border: 1.5px solid var(--line); border-left-width: 5px;
}
.t-block.blue { border-left-color: var(--blue); background: var(--blue-tint); }
.t-block.purple { border-left-color: var(--purple); background: var(--purple-tint); }
.t-block .t-time { font-family: var(--mono); font-size: .78rem; color: var(--muted); flex: none; }
.t-block strong { display: block; font-size: .92rem; }
.t-block .t-sub { font-size: .78rem; color: var(--muted); }
.t-due, .t-study {
  font-size: .84rem; border: 1.5px dashed var(--line); border-radius: 11px;
  padding: .55rem .8rem; margin-top: .55rem; color: var(--ink);
}
.t-flag {
  font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  color: var(--coral); background: var(--coral-tint);
  border-radius: 5px; padding: .1rem .4rem; margin-right: .35rem;
}
.t-flag.study { color: var(--brand-deep); background: var(--brand-tint); }
.t-progress { float: right; font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.t-why { float: right; font-family: var(--mono); font-size: .72rem; color: var(--brand-deep); }

/* Sections */
section { padding: 3.2rem 0; }
section + section { border-top: 1px solid var(--line); }
.kicker { font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--brand-deep); margin: 0 0 .5rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; margin: 0 0 1rem; letter-spacing: -0.015em; }
.section-intro { color: var(--muted); max-width: 44rem; margin: 0 0 2rem; }
.section-intro em { color: var(--ink); font-style: italic; }

/* Plan rows (what you can plan) */
.plan-rows { border-top: 2px solid var(--ink); }
.plan-row { display: grid; grid-template-columns: 15rem 1fr; gap: 1.5rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .plan-row { grid-template-columns: 1fr; gap: .4rem; } }
.plan-row h3 { margin: 0 0 .25rem; font-size: 1.15rem; }
.plan-row .format { font-family: var(--mono); font-size: .74rem; color: var(--muted); display: block; }
.plan-row .topics { margin: 0; color: var(--muted); font-size: .95rem; }
.plan-row .topics strong { color: var(--ink); font-weight: 600; }

/* Study modes list styled as planner blocks */
.modes { list-style: none; margin: 0; padding: 0; max-width: 44rem; }
.modes li { display: flex; gap: .9rem; align-items: flex-start; border: 1.5px solid var(--line); border-left: 5px solid var(--brand); border-radius: 12px; padding: .85rem 1rem; margin-bottom: .65rem; background: var(--surface); }
.modes li:nth-child(2) { border-left-color: var(--blue); }
.modes li:nth-child(3) { border-left-color: var(--purple); }
.modes li:nth-child(4) { border-left-color: var(--coral); }
.modes .marker { flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--brand); margin-top: .5rem; }
.modes li:nth-child(2) .marker { background: var(--blue); }
.modes li:nth-child(3) .marker { background: var(--purple); }
.modes li:nth-child(4) .marker { background: var(--coral); }
.modes h3 { margin: 0; font-size: 1rem; display: inline; }
.modes p { margin: .15rem 0 0; color: var(--muted); font-size: .92rem; }

/* Privacy grid */
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem 2rem; }
@media (max-width: 820px) { .privacy-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .privacy-grid { grid-template-columns: 1fr; } }
.privacy-grid h3 { font-size: 1.02rem; margin: 0 0 .3rem; }
.privacy-grid h3::before { content: "✓ "; color: var(--brand); }
.privacy-grid p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Stat line */
.stat-line { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 1.6rem; }
.stat-line .stat { min-width: 9rem; }
.stat .num { font-family: var(--mono); font-size: 1.5rem; font-weight: 700; color: var(--brand-deep); display: block; }
.stat .lbl { font-size: .85rem; color: var(--muted); }

/* Guides list */
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 720px) { .guide-list { grid-template-columns: 1fr; } }
.guide-list a { display: block; text-decoration: none; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 0 12px 12px 0; padding: 1.1rem 1.2rem; background: var(--surface); color: var(--ink); }
.guide-list a:hover { border-left-color: var(--coral); }
.guide-list h3 { margin: 0 0 .3rem; font-size: 1.05rem; color: var(--brand-deep); }
.guide-list p { margin: 0; color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--brand); font-size: 1.2rem; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 0 1.1rem; color: var(--muted); max-width: 46rem; }
.faq .faq-a p { margin: 0 0 .6rem; }

/* CTA band */
.cta-band { background: var(--brand-tint); border-top: 1px solid var(--line); text-align: center; }
.cta-band h2 { margin-bottom: .6rem; }
.cta-band p { color: var(--muted); max-width: 36rem; margin: 0 auto 1.2rem; }

/* Footer */
.site-footer { border-top: 2px solid var(--ink); padding: 2.2rem 0 2.8rem; font-size: .85rem; color: var(--muted); }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; margin-bottom: 1.4rem; }
.site-footer nav ul { list-style: none; margin: .4rem 0 0; padding: 0; }
.site-footer nav li { margin-bottom: .3rem; }
.site-footer a { color: var(--muted); }
.site-footer .legal { border-top: 1px solid var(--line); padding-top: 1.2rem; max-width: 52rem; }
.site-footer .legal p { margin: 0 0 .55rem; }

/* Article / guide pages */
.breadcrumb { font-size: .82rem; color: var(--muted); margin: 1.6rem 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "→"; margin-right: .35rem; color: var(--line); }
article.guide { max-width: 46rem; margin: 0 auto; padding: 1.6rem 1.25rem 3.5rem; }
article.guide h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.02em; margin: .6rem 0 .8rem; }
article.guide .byline { font-family: var(--mono); font-size: .78rem; color: var(--muted); margin-bottom: 1.8rem; }
article.guide h2 { font-size: 1.45rem; margin: 2.2rem 0 .7rem; }
article.guide h3 { font-size: 1.12rem; margin: 1.6rem 0 .5rem; }
article.guide p, article.guide li { color: var(--ink); }
article.guide ul, article.guide ol { padding-left: 1.3rem; }
article.guide li { margin-bottom: .35rem; }
article.guide table { border-collapse: collapse; width: 100%; font-size: .92rem; margin: 1rem 0; }
article.guide th, article.guide td { text-align: left; border-bottom: 1px solid var(--line); padding: .5rem .6rem .5rem 0; vertical-align: top; }
article.guide th { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.table-scroll { overflow-x: auto; }
.callout { border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; background: var(--surface); padding: 1rem 1.2rem; margin: 1.6rem 0; }
.callout h2, .callout h3 { margin-top: 0; }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.guide-footer-nav { border-top: 1px dashed var(--line); margin-top: 2.4rem; padding-top: 1.2rem; font-size: .92rem; }
.guide-footer-nav ul { list-style: none; padding: 0; margin: .4rem 0 0; }
.guide-footer-nav li { margin-bottom: .35rem; }
.article-disclaimer { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1rem; }
