/* Tannensant – landing page styles
   Palette: #f2fbfd (light) · #15aac3 (accent) · #108396 (accent dark) · #383e42 (ink)
   Fonts: Montserrat (logo + headings) · Roboto Condensed (body) */

:root {
  --bg: #f2fbfd;
  --accent: #15aac3;
  --accent-dark: #108396;
  --ink: #383e42;
  --white: #ffffff;
  --line: rgba(56, 62, 66, 0.12);
  --ink-soft: rgba(56, 62, 66, 0.78);
  --radius: 14px;
  --shadow: 0 8px 30px rgba(16, 131, 150, 0.08);
  --maxw: 1160px;
  --font-body: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 8px; z-index: 200;
}
.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 24px; height: 42px; flex: none; }
.brand-text { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.01em; font-size: 1.5rem; color: var(--ink); }
.primary-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; align-items: center; }
.primary-nav a { text-decoration: none; color: var(--ink); font-weight: 400; font-size: 1.02rem; letter-spacing: 0.02em; }
.primary-nav a:hover { color: var(--accent-dark); }
.header-tools { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 4px; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em; }
.lang-switch a, .lang-switch span { padding: 4px 8px; border-radius: 6px; text-decoration: none; }
.lang-switch [aria-current="true"] { background: var(--bg); color: var(--accent-dark); }
.lang-switch [aria-disabled="true"] { color: rgba(56, 62, 66, 0.4); cursor: not-allowed; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; color: var(--ink); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--accent-dark); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--accent-dark); border-color: var(--accent-dark); }
.btn-ghost:hover { background: var(--accent-dark); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 170, 195, 0.16), rgba(21, 170, 195, 0) 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 56px; align-items: center; position: relative; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 18px; }
.lead { font-size: 1.28rem; color: var(--ink-soft); max-width: 60ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.glance { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.glance h2 { font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 14px; }
.glance ul { list-style: none; margin: 0; padding: 0; }
.glance li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.glance li:last-child { border-bottom: 0; }
.glance li span:last-child { color: var(--accent-dark); font-weight: 700; }

/* ---------- Trust bar ---------- */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-item { padding: 22px 20px; display: flex; gap: 12px; align-items: center; border-right: 1px solid var(--line); font-weight: 700; }
.trust-item:last-child { border-right: 0; }
.trust-item svg { width: 26px; height: 26px; flex: none; color: var(--accent); }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 7vw, 96px) 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p { color: var(--ink-soft); font-size: 1.15rem; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.section-alt .card { border-color: transparent; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--bg); color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 16px; }
.section-alt .icon { background: #fff; }
.icon svg { width: 24px; height: 24px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.segment { text-align: left; padding: 22px; }
.segment h3 { font-size: 1rem; margin-bottom: 8px; }

/* About + stats */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.values li { display: flex; gap: 14px; background: var(--bg); border-radius: var(--radius); padding: 18px 20px; }
.values svg { width: 22px; height: 22px; color: var(--accent-dark); flex: none; margin-top: 3px; }
.values strong { display: block; font-family: var(--font-head); font-size: 0.98rem; }

/* Dark compliance section */
.section-dark { background: var(--ink); color: rgba(255, 255, 255, 0.85); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--accent); }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.78); }
.card-dark { border: 1px solid rgba(255, 255, 255, 0.16); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 26px; background: rgba(255, 255, 255, 0.04); }
.card-dark p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 1.05rem; }

/* Markets */
.markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.market { background: #fff; border-radius: var(--radius); padding: 22px 24px; border-left: 4px solid var(--accent); box-shadow: var(--shadow); }
.market h3 { margin-bottom: 4px; }
.market p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* Process */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent-dark); color: #fff; font-family: var(--font-head); font-weight: 700; display: grid; place-items: center;
}
.steps li::after { content: ""; position: absolute; top: 21px; left: 52px; right: -8px; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }

/* Founders */
.founder { display: flex; gap: 22px; align-items: flex-start; }
.monogram { width: 72px; height: 72px; flex: none; border-radius: 50%; background: var(--accent-dark); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.04em; }
.founder .role { color: var(--accent-dark); font-weight: 700; letter-spacing: 0.04em; margin-bottom: 10px; display: block; }
.founder h3 { font-size: 1.3rem; margin-bottom: 2px; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; 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(--accent-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; margin: 0; color: var(--ink-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.contact-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact-points li { display: flex; gap: 12px; }
.contact-points svg { width: 22px; height: 22px; color: var(--accent-dark); flex: none; margin-top: 3px; }
form.contact { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.row { display: grid; gap: 16px; margin-bottom: 16px; }
.row-3 { grid-template-columns: 110px 1fr 1fr; }
.row-2 { grid-template-columns: 1fr 1fr; }
label { display: block; font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink); }
label .req { color: var(--accent-dark); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid transparent; border-radius: 10px; padding: 12px 14px; transition: border-color .15s ease, background .15s ease;
}
input:hover, select:hover, textarea:hover { border-color: rgba(21, 170, 195, 0.4); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
textarea { min-height: 150px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; margin: 6px 0 18px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent-dark); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; display: none; font-weight: 700; }
.form-status.ok { display: block; background: #e6f6ea; color: #1d5a2e; }
.form-status.err { display: block; background: #fdeceb; color: #8a1f17; }
.form-note { font-size: 0.9rem; color: var(--ink-soft); margin: 14px 0 0; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.82); padding: 56px 0 28px; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer .brand-text { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.footer-grid h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 0.92rem; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: #fff; text-decoration: underline; cursor: pointer; }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 760px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  padding: 20px 22px; display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner h2 { font-size: 1rem; margin-bottom: 6px; }
.cookie-banner p { font-size: 0.98rem; margin-bottom: 14px; color: var(--ink-soft); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { padding: 10px 20px; font-size: 0.85rem; }

/* Sub pages (policies) */
.page-hero { background: var(--bg); padding: 56px 0 36px; }
.prose { max-width: 820px; padding: 48px 0 80px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: 1rem; }
.prose th, .prose td { text-align: left; border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.prose th { background: var(--bg); font-family: var(--font-head); font-size: 0.85rem; }
.prose .todo { background: #fff6d6; padding: 0 4px; border-radius: 4px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .markets { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 0 0 0 62px; min-height: 48px; }
  .steps li::after { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .primary-nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 16px; }
  .primary-nav li { width: 100%; }
  .primary-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .grid-3, .grid-2, .grid-5, .markets, .row-3, .row-2, .footer-grid { grid-template-columns: 1fr; }
  form.contact { padding: 22px; }
  .founder { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ===== v2: shorter, more visual layout ===== */
svg.gi-svg, .glance svg, .tile svg, .chips svg, .countries svg, .segments svg, .step-icon svg, .contact-points svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(44px, 6vw, 72px); }
.hero-art { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); height: 92%; width: auto; opacity: 0.06; pointer-events: none; }
.hero-grid { grid-template-columns: 1.3fr 0.8fr; }
.glance-icons li { display: flex; justify-content: flex-start; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.glance-icons li:last-child { border-bottom: 0; }
.glance-icons .gi { width: 48px; height: 48px; border-radius: 12px; background: var(--bg); color: var(--accent-dark); display: grid; place-items: center; flex: none; }
.glance-icons .gi svg { width: 24px; height: 24px; }
.glance-icons strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--ink); }
.glance-icons div { color: var(--ink-soft); font-size: 1rem; }
.glance-icons li span:last-child { font-weight: 400; color: inherit; }
.glance { padding: 12px 28px; }

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.tile h3 { margin-bottom: 8px; font-size: 1.05rem; }
.tile .icon { width: 52px; height: 52px; }

.criteria { margin-top: 36px; padding: 26px 28px; background: var(--bg); border-radius: var(--radius); }
.criteria h3 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 14px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 1rem; }
.chips svg { width: 18px; height: 18px; color: var(--accent-dark); flex: none; stroke-width: 2.6; }

.countries { list-style: none; margin: 0 0 36px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.countries li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-left: 4px solid var(--accent); border-radius: 10px; padding: 12px 20px; font-family: var(--font-head); font-weight: 600; box-shadow: var(--shadow); }
.countries svg { width: 20px; height: 20px; color: var(--accent-dark); }
.segments { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.segments li { background: #fff; border-radius: var(--radius); padding: 24px 12px; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }
.segments .icon { margin: 0 auto 14px; width: 56px; height: 56px; border-radius: 50%; background: var(--bg); }
.segments .icon svg { width: 26px; height: 26px; }

.steps-4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps-4 li { padding-top: 0; }
.steps-4 li::before { display: none; }
.steps-4 li::after { top: 28px; left: 72px; right: -10px; }
.step-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-dark); color: #fff; display: grid; place-items: center; margin-bottom: 16px; position: relative; z-index: 1; }
.step-icon svg { width: 26px; height: 26px; }

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .segments { grid-template-columns: repeat(3, 1fr); }
  .steps-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-4 li { padding: 0; min-height: 0; }
  .steps-4 li::after { display: none; }
  .hero-art { opacity: 0.05; height: 90%; }
}
@media (max-width: 760px) {
  .grid-4, .steps-4 { grid-template-columns: 1fr; }
  .segments { grid-template-columns: repeat(2, 1fr); }
}

/* ===== v3: minimal footer ===== */
.footer-main { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.footer-brand { display: flex; align-items: center; gap: 22px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.social-link { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.35); color: #fff; display: grid; place-items: center; transition: background .2s ease, border-color .2s ease; }
.social-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.social-link svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
@media (max-width: 760px) { .footer-main { flex-direction: column; align-items: flex-start; } }
