/* Quinsys website. Colors match the app (mobile/src/shared/ui.py) and docs/brand:
   green #759E33 for fills and outlines (black text on it, 6.7:1), never as text on white;
   ink #141A0E; teal #0F4C5C for the screen owners' page (white text on it). */
:root {
  --green: #759E33;
  --green-soft: #E8F0DB;
  --green-dark: #4E6B1F;   /* a green dark enough for text on white (6.1:1) */
  --ink: #141A0E;
  --text: #000000;
  --muted: #3A3A3A;
  --line: #D4D4D4;
  --page: #FFFFFF;
  --tint: #F6F8F2;
  --teal: #0F4C5C;
  --teal-soft: #DCEBEF;
  --radius: 16px;
  --max: 1120px;
  --head: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block; font: 600 .8rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); background: var(--green-soft); padding: 8px 12px; border-radius: 999px; margin-bottom: 18px;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* --- header --- */
.site-head { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 6px; text-decoration-thickness: 3px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; }

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 12px;
  font: 600 1rem/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--green); color: #000; }
.btn-primary:hover { background: #6A8F2D; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--tint); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #0B3B47; }
.nav .btn { padding: 10px 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }

/* --- sections --- */
section { padding: 88px 0; }
.tint { background: var(--tint); }
.ink { background: var(--ink); color: #fff; }
.ink h2, .ink h3 { color: #fff; }
.ink .muted { color: #C9D1BE; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.hero { padding: 64px 0 80px; background: linear-gradient(180deg, #fff 0%, var(--green-soft) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero .lede { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-note { font-size: .92rem; color: var(--muted); }
.hero-note strong { color: var(--ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card p { margin: 0; color: var(--muted); }
.icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--green-soft);
  display: grid; place-items: center; margin-bottom: 16px;
}
.icon svg { width: 28px; height: 28px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.teal-page .icon { background: var(--teal-soft); }

.step-num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #000;
  font: 700 1rem/36px var(--head); text-align: center; margin-bottom: 14px;
}
.teal-page .step-num { background: var(--teal); color: #fff; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 34px; position: relative; margin-bottom: 12px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.teal-page .ticks li::before { background-color: var(--teal); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.figure { border-radius: 24px; overflow: hidden; }

/* --- pricing --- */
.price-box { background: #fff; border: 2px solid var(--green); border-radius: 20px; padding: 32px; }
.price-big { font: 700 3rem/1 var(--head); color: var(--ink); margin: 8px 0 6px; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.price-table td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-table td:last-child { text-align: right; font-weight: 600; }
.price-table tr:last-child td { border-bottom: 0; font-size: 1.1rem; }

/* --- venue chips --- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 500; }

/* --- FAQ --- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 600 1.08rem/1.4 var(--head); color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--green-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* --- bands --- */
.band { border-radius: 24px; padding: 48px; display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.band-green { background: var(--green); color: #000; }
.band-green h2 { color: #000; }
.band-teal { background: var(--teal); color: #fff; }
.band-teal h2 { color: #fff; }
.band p { margin: 0; max-width: 36em; }
.band .btn-ghost { border-color: currentColor; color: inherit; }

/* --- footer --- */
.site-foot { background: var(--ink); color: #C9D1BE; padding: 56px 0 40px; font-size: .95rem; }
.site-foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-foot h3 { color: #fff; font-size: 1rem; }
.site-foot a { color: #fff; text-decoration: none; display: block; margin-bottom: 8px; }
.site-foot a:hover { text-decoration: underline; }
.site-foot .logo img { height: 36px; margin-bottom: 14px; }
.legal-line { grid-column: 1 / -1; border-top: 1px solid #2E3826; padding-top: 22px; margin-top: 12px; font-size: .85rem; }

/* --- teal page (screen owners) --- */
.teal-page .hero { background: linear-gradient(180deg, #fff 0%, var(--teal-soft) 100%); }
.teal-page .eyebrow { background: var(--teal-soft); }
.teal-page main a:not(.btn) { color: var(--teal); }

/* --- small screens --- */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 36px; }
  .split.flip > :first-child { order: 0; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .site-foot .wrap { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 20px 24px; border-bottom: 1px solid var(--line); gap: 14px; }
  .nav.open { display: flex; }
  .band { padding: 32px; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .site-foot .wrap { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
