/* HarmonoSphere — Swiss / International Typographic Style
   Grid-first, flush-left, hairline rules, flat colour fields.
   Fonts: Space Grotesk (display) + Manrope (text). Palette: ink + violet + blue + lavender. */

:root {
  --ink: #0d0618;
  --ink-2: #170b2f;
  --violet: #7c3aed;
  --indigo: #4f46e5;
  --blue: #2563eb;
  --lavender: #c4b5fd;
  --lilac: #ddd6fe;
  --text: #ffffff;
  --soft: #d8ccf7;
  --mute: #a99bd1;
  --rule: rgba(196, 181, 253, .22);
  --rule-strong: rgba(221, 214, 254, .6);
  --gutter: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, .brand, .display { font-family: "Space Grotesk", sans-serif; letter-spacing: -.025em; }
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; }

.noise { display: none; }

/* ---------- Grid ---------- */
.shell { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); min-width: 0; }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.g12 > * { grid-column: 1 / -1; min-width: 0; }

@media (min-width: 768px) {
  :root { --gutter: 2rem; }
  .c-1-4 { grid-column: 1 / 4; }
  .c-4-13 { grid-column: 4 / 13; }
  .c-4-9 { grid-column: 4 / 9; }
  .c-9-13 { grid-column: 9 / 13; }
  .c-1-7 { grid-column: 1 / 7; }
  .c-7-13 { grid-column: 7 / 13; }
  .c-4-10 { grid-column: 4 / 10; }
  .c-10-13 { grid-column: 10 / 13; }
}

/* ---------- Rules & sections ---------- */
.rule { border-top: 1px solid var(--rule); }
.rule-strong { border-top: 2px solid var(--text); }
.section { padding-top: 1.25rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .section { padding-bottom: 7.5rem; } }

.label {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--lavender);
}
.label .num { color: var(--text); margin-right: .6rem; }
.section-head { margin-bottom: 3rem; }
@media (max-width: 767px) { .section-head .label { margin-bottom: 1.25rem; } }

/* ---------- Type ---------- */
.mega {
  font-size: clamp(3.2rem, 10.5vw, 9.5rem);
  line-height: .86;
  letter-spacing: -.055em;
  font-weight: 700;
}
.h2 { font-size: clamp(2rem, 4.6vw, 3.9rem); line-height: .98; letter-spacing: -.04em; font-weight: 700; }
.h3 { font-size: 1.3rem; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--soft); }
.body { color: var(--soft); }
.small { font-size: .875rem; }
.xsmall { font-size: .78rem; }
.mute { color: var(--mute); }
.accent { color: var(--lavender); }
.numeral {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: .8;
  letter-spacing: -.06em;
  color: var(--violet);
}

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -.03em; }
.brand-mark { width: 2.5rem; height: 2.5rem; margin: -.25rem -.2rem -.25rem -.35rem; object-fit: contain; }
.nav { display: none; gap: 2rem; font-size: .875rem; font-weight: 600; }
.nav a, .footer a { text-decoration: none; color: var(--soft); }
.nav a:hover, .footer a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: .25rem; }
@media (min-width: 900px) { .nav { display: flex; } }

.lang-btn {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font: 600 .8rem "Space Grotesk", sans-serif; letter-spacing: .04em;
  color: var(--mute); padding: .5rem .45rem;
}
.lang-btn:hover { color: #fff; }
.lang-btn.active { color: #fff; text-decoration: underline; text-underline-offset: .35rem; text-decoration-thickness: 2px; text-decoration-color: var(--violet); }

/* ---------- Buttons ---------- */
.btn, .primary-btn, .secondary-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem;
  min-height: 3.25rem; padding: 0 1.25rem;
  font: 600 .95rem "Space Grotesk", sans-serif; letter-spacing: -.01em;
  text-decoration: none; border-radius: 0; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.primary-btn { background: var(--violet); color: #fff; border: 1px solid var(--violet); }
.primary-btn:hover { background: var(--indigo); border-color: var(--indigo); }
.secondary-btn { background: transparent; color: #fff; border: 1px solid var(--rule-strong); }
.secondary-btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { min-height: 2.4rem; padding: 0 .9rem; font-size: .82rem; gap: .75rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 639px) { .btn-row > * { width: 100%; } .header-actions .primary-btn { display: none; } }

/* ---------- Home: hero ---------- */
.hero { padding-top: 3rem; padding-bottom: 4.5rem; }
@media (min-width: 768px) { .hero { padding-top: 5.5rem; padding-bottom: 7rem; } }
.hero-meta { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 2rem; }
.status-dot { display: inline-block; width: .55rem; height: .55rem; background: var(--violet); margin-right: .5rem; vertical-align: .05rem; }
.hero-lower { margin-top: 3rem; row-gap: 2.5rem; }
@media (min-width: 768px) { .hero-lower { margin-top: 4.5rem; } }
.fact-list { list-style: none; margin: 0; padding: 0; }
.fact-list li { border-top: 1px solid var(--rule); padding: .85rem 0; display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.fact-list li:last-child { border-bottom: 1px solid var(--rule); }
.fact-list .k { color: var(--mute); }
.fact-list .v { text-align: right; font-weight: 600; }

/* ---------- Columns with rules ---------- */
.cols { display: grid; grid-template-columns: 1fr; }
.cols > * { border-top: 1px solid var(--rule); padding: 1.5rem 0 2rem; }
@media (min-width: 768px) {
  .cols-3 { grid-template-columns: repeat(3, 1fr); }
  .cols-2 { grid-template-columns: repeat(2, 1fr); }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols > * { padding-right: 2rem; }
  .cols > * + * { border-left: 1px solid var(--rule); padding-left: 1.25rem; }
  .cols-4 > *:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (min-width: 1024px) {
  .cols-4 { grid-template-columns: repeat(4, 1fr); }
  .cols-4 > *:nth-child(3) { border-left: 1px solid var(--rule); padding-left: 1.25rem; }
}
.cols .numeral { margin-bottom: 2.5rem; }
.idx { font: 600 .8rem "Space Grotesk", sans-serif; color: var(--lavender); display: block; margin-bottom: 2rem; }

/* ---------- Example figure ---------- */
.example-figure { border: 1px solid var(--rule); background: var(--ink-2); padding: 1rem; }
.example-figure img { width: 100%; max-width: 380px; height: auto; margin: 0 auto; }
.caption { margin-top: .75rem; font-size: .78rem; color: var(--mute); }

/* ---------- Flat colour field (pricing) ---------- */
.field { background: var(--violet); color: #fff; }
.field .label, .field .label .num { color: #fff; }
.field .body { color: rgba(255,255,255,.88); }
.field .rule, .field .price-table td, .field .price-table th { border-color: rgba(255,255,255,.35); }
.field-inner { padding-top: 1.25rem; padding-bottom: 4rem; }
@media (min-width: 768px) { .field-inner { padding-bottom: 6rem; } }
.price-table { width: 100%; border-collapse: collapse; font-family: "Space Grotesk", sans-serif; }
.price-table th { text-align: left; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; padding: 0 0 .6rem; border-bottom: 2px solid #fff; }
.price-table td { padding: 1rem 0; border-bottom: 1px solid; font-size: 1.05rem; }
.price-table td.big { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price-table .r { text-align: right; }
.field a { color: #fff; text-underline-offset: .2rem; }
.field .secondary-btn { border-color: #fff; }
.field .secondary-btn:hover { color: var(--violet); }

/* ---------- CTA ---------- */
.cta-line { display: flex; flex-direction: column; gap: 2rem; align-items: flex-start; }
@media (min-width: 900px) { .cta-line { flex-direction: row; justify-content: space-between; align-items: flex-end; } }

/* ---------- Footer ---------- */
.footer { border-top: 2px solid var(--text); padding: 1.5rem 0 3rem; font-size: .85rem; }
.footer .g12 { row-gap: 1.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
@media (min-width: 768px) { .footer-links { justify-content: flex-end; } }

/* ========== Compatibility layer for guide & terms pages ========== */
.rounded-xl, .rounded-2xl, .rounded-3xl { border-radius: 0 !important; }
.soft { color: var(--soft); }
.text-purple-100 { color: var(--lilac); }
.text-purple-200 { color: var(--soft); }
.text-purple-300 { color: var(--mute); }
.divider { border-color: var(--rule); }
.gradient-text { color: #fff; background: none; }
.hero-title { font-size: clamp(3rem, 8.5vw, 7.5rem); line-height: .88; letter-spacing: -.055em; font-weight: 700; }
.section-kicker, .eyebrow {
  display: block; padding: 0; border: 0; background: none; border-radius: 0;
  font: 600 .78rem "Space Grotesk", sans-serif; text-transform: uppercase; letter-spacing: .02em; color: var(--lavender);
}
.eyebrow { border-top: 2px solid #fff; padding-top: .9rem; }

.glass { background: transparent; border: 0; border-top: 2px solid #fff; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding-left: 0 !important; padding-right: 0 !important; }
.card { background: transparent; border: 0; border-top: 1px solid var(--rule); padding-left: 0 !important; padding-right: 0 !important; }
.card.text-center { text-align: left; }
.step { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; border-top: 1px solid var(--rule); padding: 1.1rem 0; }
.step-number { font: 700 2rem/1 "Space Grotesk", sans-serif; letter-spacing: -.05em; color: var(--violet); background: none; width: auto; height: auto; box-shadow: none; display: block; }
.command { display: inline-block; font: 600 .95rem "Space Grotesk", ui-monospace, monospace; color: #fff; background: var(--violet); padding: .2rem .5rem; }
.flow-arrow { color: var(--violet); font: 700 1.25rem "Space Grotesk", sans-serif; padding-left: 0; }

.faq { gap: 0 !important; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative; font: 600 1.1rem/1.3 "Space Grotesk", sans-serif; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: .95rem; font-size: 1.5rem; color: var(--violet); }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 0 1.25rem; color: var(--soft); line-height: 1.7; max-width: 46rem; }

.terms-card { border-top: 1px solid var(--rule); padding: 1.5rem 0 .5rem; display: grid; gap: .5rem 2rem; }
@media (min-width: 900px) { .terms-card { grid-template-columns: 16rem 1fr; } .terms-card > :not(h2) { grid-column: 2; } }
.terms-card h2 { font-size: 1.1rem; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
.terms-card p, .terms-card li { color: var(--soft); line-height: 1.75; font-size: .95rem; }
.terms-card ul { margin: .5rem 0 0; padding-left: 1.1rem; }
.terms-card li + li { margin-top: .4rem; }
.terms-card a { color: #fff; text-decoration: underline; text-decoration-color: var(--violet); text-underline-offset: .2rem; }
.notice { background: var(--violet); color: #fff; padding: 1.1rem 1.25rem; font-size: .92rem; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
.pt-5{padding-top:1.25rem}
