/* LingAmor shared base: tokens, type, layout, buttons, tables, FAQ, forms.
   Copied from the home page block so every page reads as one system.
   Page-specific styles live in each page's <!--head--> section. Wrap page content in <div class="lc">. */
:root {
  --paper: #F5F6F8;
  --sheet: #FFFFFF;
  --ink: #16203A;
  --muted: #5A6377;
  --line: #DCE1EA;
  --red: #E06A55;
  --red-deep: #C5513D;
  --red-soft: #FCEEEA;
  --red-on-ink: #F49A86;
  --tile: #2C58A8;
  --tile-soft: #E9EFFA;
  --ok: #1E7A4C;
  --ok-soft: #E6F4EC;
  --f: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --s-1: 0.875rem; --s0: 1rem; --s1: 1.125rem; --s2: 1.375rem; --s5: clamp(2.2rem, 5.2vw, 3.8rem);
  --radius: 14px;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f); font-size: var(--s0); line-height: 1.6; }
.lc h1, .lc h2, .lc h3 { font-family: var(--f); line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -0.01em; color: inherit; }
.lc h1 { font-size: var(--s5); font-weight: 800; }
.lc h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }
.lc h3 { font-size: var(--s1); font-weight: 700; }
:where(.lc) p { margin: 0; }
.lc a { color: var(--tile); }
.lc img { max-width: 100%; height: auto; display: block; }
.lc :focus-visible { outline: 3px solid var(--tile); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(56px, 8vw, 100px); }
.band--sheet { background: var(--sheet); border-block: 1px solid var(--line); }
.band--ink { background: var(--ink); color: #fff; }
.eyebrow { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: 14px; }
.band--ink .eyebrow { color: var(--red-on-ink); }
.lead { font-size: var(--s1); color: var(--muted); max-width: 62ch; }
.band--ink .lead { color: #C9D0DE; }
.sec-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--f); font-weight: 700; font-size: var(--s0); padding: 15px 24px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease; line-height: 1.2; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.lc .btn--red { background: var(--red); color: #fff; }
.lc .btn--red:hover { background: var(--red-deep); }
.lc .btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.lc .btn--line:hover { background: var(--ink); color: #fff; }
.lc .btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.lc .btn--ghost:hover { background: #fff; color: var(--ink); }

/* Tables (levels, comparison) */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sheet); }
.lc table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 620px; }
.lc th, .lc td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.lc tr:last-child td { border-bottom: 0; }
.lc thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--paper); }
.lc tbody th { font-weight: 700; }
.lc .us { background: var(--red-soft); }

/* FAQ */
.faq { display: grid; max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { display: inline; font-size: var(--s1); }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.8rem; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; color: var(--muted); max-width: 70ch; display: grid; gap: 10px; }

/* Forms */
.lc form { display: grid; gap: 14px; }
.lc label { font-weight: 600; font-size: 0.9rem; display: grid; gap: 6px; }
.lc input, .lc select, .lc textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; }
.lc input:focus, .lc select:focus, .lc textarea:focus { border-color: var(--tile); outline: none; }
.form-small { font-size: 0.8rem; color: var(--muted); }
.form-ok { background: var(--ok-soft); color: var(--ok); border-radius: 12px; padding: 18px; font-weight: 600; }

/* Join form: field groups, two send buttons (WhatsApp / Telegram) */
.lc .fg { display: grid; gap: 6px; }
.lc .fg label { display: block; font-weight: 600; font-size: 0.9rem; }
.lc .fg .opt { font-weight: 400; color: var(--muted); }
.form-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 236px), 1fr)); gap: 10px; }
.form-btns .btn { padding-inline: 14px; font-size: 0.95rem; white-space: nowrap; }
.lc .btn--tg { background: transparent; color: var(--ink); border-color: var(--ink); }
.lc .btn--tg:hover { background: var(--ink); color: #fff; }
@media (max-width: 600px) { .hero-ctas--row .m-hide { display: none; } }
.lc textarea { min-height: 110px; resize: vertical; }
