/*
 * Shared chrome for sewgrader.com.
 *
 * The landing page and the two legal pages were written before this file and
 * still carry their own <style> block; this stylesheet is linked ahead of it,
 * so where the two describe the same selector the page's own rule wins and
 * nothing about those pages moves. What they take from here is the part that
 * had to be identical everywhere and did not exist yet: the footer and its
 * language picker.
 *
 * The support and affiliate pages have no inline styles and are drawn entirely
 * from here.
 */

:root {
  --bg: #0D0C0A;
  --bg2: #161410;
  --bg3: #1E1C18;
  --cream: #F2EDE3;
  --cream-dim: #B8B2A6;
  --gold: #C49A3C;
  --gold-light: #E2B85A;
  --rose: #C97A72;
  --teal: #5A8A87;
  --teal-light: #7BADA9;
  --border: rgba(242,237,227,0.08);
  --border-gold: rgba(196,154,60,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

strong { color: var(--cream); font-weight: 500; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* ── NAVIGATION ─────────────────────────────────────────────────────────── */

nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 4rem;
  background: rgba(13,12,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}
.logo-mark { width: 36px; height: 36px; }
.logo-mark svg { width: 100%; height: 100%; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.logo-text span { color: var(--gold); }

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cream-dim);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--cream); }
.nav-back svg { width: 14px; height: 14px; }

/* ── PAGE HERO ──────────────────────────────────────────────────────────── */

.page-hero {
  padding: 9rem 4rem 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero .grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 100%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 100%, black 30%, transparent 80%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.page-eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--gold);
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero-sub {
  font-size: 1rem;
  color: var(--cream-dim);
  line-height: 1.7;
  max-width: 56ch;
  margin-bottom: 2rem;
}

.summary-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 2px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 1px solid;
}
.badge-green {
  color: #7BADA9;
  border-color: rgba(90,138,135,0.35);
  background: rgba(90,138,135,0.06);
}
.badge-green::before { content: '✓'; }
.badge-neutral {
  color: var(--cream-dim);
  border-color: var(--border);
  background: rgba(242,237,227,0.03);
}
.badge-gold {
  color: var(--gold-light);
  border-color: var(--border-gold);
  background: rgba(196,154,60,0.06);
}

/* ── META BAR ───────────────────────────────────────────────────────────── */

.meta-bar {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.2rem 4rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}
.meta-value {
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  color: var(--cream-dim);
}

/* ── LAYOUT ─────────────────────────────────────────────────────────────── */

.content-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 4rem 6rem;
}

/* ── TABLE OF CONTENTS ──────────────────────────────────────────────────── */

.toc {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-left: 2px solid var(--gold);
  border-radius: 0 4px 4px 0;
  padding: 1.8rem 2rem;
  margin-bottom: 4rem;
}
.toc-title {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.toc ol {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toc ol li {
  counter-increment: toc;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.toc ol li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}
.toc ol li a {
  font-size: 0.88rem;
  color: var(--cream-dim);
  text-decoration: none;
  transition: color 0.2s;
}
.toc ol li a:hover { color: var(--cream); }

/* ── CONTENT SECTIONS ───────────────────────────────────────────────────── */

.policy-section {
  margin-bottom: 3.5rem;
  scroll-margin-top: 5rem;
}
.section-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  opacity: 0.7;
  display: block;
  margin-bottom: 0.5rem;
}
.policy-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.policy-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  margin: 2rem 0 0.8rem;
}
.policy-section p {
  font-size: 0.95rem;
  color: var(--cream-dim);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.policy-section p:last-child { margin-bottom: 0; }
.policy-section ul,
.policy-section ol,
.policy-section ol.list {
  margin: 0.8rem 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.policy-section ul li,
.policy-section ol li,
.policy-section ol.list li {
  font-size: 0.93rem;
  color: var(--cream-dim);
  line-height: 1.7;
  padding-left: 1.4rem;
  position: relative;
}
.policy-section ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.5;
  font-size: 0.8rem;
}
.policy-section ol,
.policy-section ol.list {
  counter-reset: olist;
  list-style: none;
}
.policy-section ol li,
.policy-section ol.list li { counter-increment: olist; }
.policy-section ol li::before,
.policy-section ol.list li::before {
  content: counter(olist) '.';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.6;
  font-size: 0.78rem;
  font-family: 'DM Mono', monospace;
  top: 0.1em;
}

.policy-divider {
  height: 1px;
  background: var(--border);
  margin: 3.5rem 0;
}

/* ── HIGHLIGHT BLOCKS ───────────────────────────────────────────────────── */

.highlight-block {
  background: rgba(90,138,135,0.06);
  border: 1px solid rgba(90,138,135,0.2);
  border-left: 2px solid var(--teal-light);
  border-radius: 0 4px 4px 0;
  padding: 1.4rem 1.6rem;
  margin: 1.5rem 0;
}
.highlight-block p { color: var(--cream); font-size: 0.92rem; margin: 0; }
.highlight-block.gold {
  background: rgba(196,154,60,0.05);
  border-color: var(--border-gold);
  border-left-color: var(--gold);
}
.highlight-block.rose {
  background: rgba(201,122,114,0.05);
  border-color: rgba(201,122,114,0.2);
  border-left-color: var(--rose);
}

/* ── TABLES ─────────────────────────────────────────────────────────────── */

.permission-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  font-size: 0.88rem;
}
.permission-table th {
  text-align: left;
  padding: 0.7rem 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  border-bottom: 1px solid var(--border-gold);
}
.permission-table td {
  padding: 1rem;
  color: var(--cream-dim);
  line-height: 1.65;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.permission-table tr:last-child td { border-bottom: none; }
.permission-table td:first-child { color: var(--cream); font-weight: 400; white-space: nowrap; }

.pill {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  border: 1px solid;
  margin-top: 0.3rem;
}
.pill-green { color: #7BADA9; border-color: rgba(90,138,135,0.35); }
.pill-amber { color: var(--gold-light); border-color: var(--border-gold); }
.pill-rose { color: var(--rose); border-color: rgba(201,122,114,0.3); }

/* ── CONTACT BOX ────────────────────────────────────────────────────────── */

.contact-box {
  background: var(--bg2);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 2rem 2.2rem;
  margin-top: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.contact-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: 0.1rem; }
.contact-box h4 { font-size: 1rem; font-weight: 500; color: var(--cream); margin-bottom: 0.4rem; }
.contact-box p { font-size: 0.88rem; color: var(--cream-dim); line-height: 1.65; margin: 0; }
.contact-box a { color: var(--gold); text-decoration: none; }
.contact-box a:hover { color: var(--gold-light); text-decoration: underline; }

/* ── CARD GRID (support topics, affiliate steps) ────────────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin: 1.5rem 0 2rem;
}
.card-grid .card {
  background: var(--bg);
  padding: 1.8rem;
  transition: background 0.3s;
}
.card-grid .card:hover { background: var(--bg2); }
.card-icon { font-size: 1.5rem; margin-bottom: 0.9rem; display: block; }
.card-grid .card h4 {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.45rem;
}
.card-grid .card p {
  font-size: 0.87rem;
  color: var(--cream-dim);
  line-height: 1.65;
  margin: 0;
}

/* ── NUMBERED STEPS ─────────────────────────────────────────────────────── */

.step-list {
  display: flex;
  flex-direction: column;
  margin: 1.5rem 0 1rem;
  position: relative;
}
.step-list::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), var(--teal));
  opacity: 0.3;
}
.step {
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  padding: 1.1rem 0;
}
.step-num {
  width: 35px; height: 35px;
  flex-shrink: 0;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--gold);
  background: var(--bg);
  position: relative;
  z-index: 1;
}
.step-body h4 {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.35rem;
}
.step-body p {
  font-size: 0.9rem;
  color: var(--cream-dim);
  line-height: 1.7;
  margin: 0;
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */

.faq {
  border-top: 1px solid var(--border);
  margin: 1.5rem 0 0;
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2rem 1.15rem 0;
  font-size: 0.96rem;
  color: var(--cream);
  position: relative;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-light); }
.faq summary::after {
  content: '';
  position: absolute;
  right: 0.4rem;
  top: 50%;
  width: 9px; height: 9px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq-body {
  padding: 0 2rem 1.4rem 0;
}
.faq .faq-body p {
  font-size: 0.91rem;
  color: var(--cream-dim);
  line-height: 1.8;
  margin-bottom: 0.8rem;
}
.faq .faq-body p:last-child { margin-bottom: 0; }
.faq .faq-body ul {
  margin: 0.6rem 0 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.faq .faq-body ul li {
  font-size: 0.89rem;
  color: var(--cream-dim);
  line-height: 1.7;
  padding-left: 1.3rem;
  position: relative;
  list-style: none;
}
.faq .faq-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.5;
  font-size: 0.78rem;
}

/* ── SPLIT NUMBERS (the affiliate money breakdown) ──────────────────────── */

.split-bar {
  display: flex;
  width: 100%;
  height: 46px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 1.6rem 0 0.8rem;
}
.split-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--bg);
  white-space: nowrap;
  overflow: hidden;
}
.split-seg.customer { background: var(--gold); }
.split-seg.partner { background: var(--teal-light); }
.split-seg.apple { background: rgba(242,237,227,0.35); }
.split-seg.us { background: rgba(242,237,227,0.12); color: var(--cream-dim); }

.split-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-bottom: 2rem;
}
.split-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--cream-dim);
}
.split-legend i {
  width: 10px; height: 10px;
  border-radius: 2px;
  display: block;
}

.figure-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin: 1.5rem 0 2rem;
}
.figure {
  background: var(--bg);
  padding: 1.6rem 1.4rem;
}
.figure-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.45rem;
}
.figure-label {
  font-size: 0.78rem;
  color: var(--cream-dim);
  line-height: 1.55;
}

/* ── INLINE CTA BUTTONS ─────────────────────────────────────────────────── */

.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.8rem; }
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--bg);
  text-decoration: none;
  padding: 0.85rem 1.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-solid:hover {
  background: var(--gold-light);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196,154,60,0.22);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cream-dim);
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-outline:hover {
  color: var(--cream);
  border-color: rgba(242,237,227,0.2);
  transform: translateY(-2px);
}

/* ── FOOTER ─────────────────────────────────────────────────────────────── */

footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 3.2rem 4rem 2.4rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand { max-width: 30ch; }
.footer-brand .logo { margin-bottom: 0.9rem; }
.footer-tagline {
  font-size: 0.82rem;
  color: var(--cream-dim);
  line-height: 1.7;
  opacity: 0.75;
}
.footer-cols {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}
.footer-col h5 {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
  opacity: 0.85;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a {
  font-size: 0.83rem;
  color: var(--cream-dim);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding-top: 1.8rem;
}
.footer-copy {
  font-size: 0.76rem;
  color: var(--cream-dim);
  opacity: 0.45;
}

/* ── LANGUAGE PICKER ────────────────────────────────────────────────────── */

.sg-lang { position: relative; }

.sg-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--cream-dim);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.sg-lang-btn:hover { color: var(--cream); border-color: rgba(242,237,227,0.2); }
.sg-lang-btn svg { width: 14px; height: 14px; opacity: 0.75; }
.sg-lang-caret {
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.7;
}
.sg-lang-btn[aria-expanded="true"] .sg-lang-caret {
  transform: translateY(1px) rotate(-135deg);
}

.sg-lang-list {
  position: absolute;
  bottom: calc(100% + 0.6rem);
  left: 0;
  z-index: 200;
  min-width: 190px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--bg3);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 0.4rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}
.sg-lang-list[hidden] { display: none; }

.sg-lang-option {
  background: transparent;
  border: 0;
  border-radius: 2px;
  color: var(--cream-dim);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 300;
  text-align: left;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sg-lang-option:hover { background: rgba(196,154,60,0.1); color: var(--cream); }
.sg-lang-option.is-current { color: var(--gold); background: rgba(196,154,60,0.07); }


/* ── CJK MEASURE ────────────────────────────────────────────────────────────
   The headlines are measured in `ch`, which is the width of a "0" in the first
   available font. For Playfair Display that is a narrow Latin figure; for the
   CJK face that actually renders Japanese, Korean and Chinese, a glyph is close
   to twice as wide. A 12ch headline therefore comes out about a third of its
   intended width and breaks mid-word. These selectors carry a `:lang()`, so
   they outrank the bare `h1` in the pages' own stylesheets regardless of order. */

html:lang(ja) h1, html:lang(ko) h1, html:lang(zh) h1 {
  max-width: 22ch;
  letter-spacing: 0;
}
html:lang(ja) h2, html:lang(ko) h2, html:lang(zh) h2 {
  max-width: 26ch;
  letter-spacing: 0;
}
html:lang(ja) .hero-sub, html:lang(ko) .hero-sub, html:lang(zh) .hero-sub,
html:lang(ja) .section-desc, html:lang(ko) .section-desc, html:lang(zh) .section-desc,
html:lang(ja) .page-hero-sub, html:lang(ko) .page-hero-sub, html:lang(zh) .page-hero-sub {
  max-width: 40ch;
}
html:lang(th) h1 { max-width: 20ch; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .footer-top { flex-direction: column; gap: 2rem; }
  .footer-cols { gap: 2.5rem; }
}

@media (max-width: 700px) {
  nav.site-nav { padding: 1rem 1.5rem; }
  .page-hero { padding: 7rem 1.5rem 3.5rem; }
  .meta-bar { padding: 1.2rem 1.5rem; }
  .content-wrap { padding: 2.5rem 1.5rem 5rem; }
  footer { padding: 2.5rem 1.5rem 2rem; }
  .contact-box { flex-direction: column; gap: 1rem; }
  .sg-lang-list { grid-template-columns: 1fr; }
  .split-bar { height: 40px; }
  .split-seg { font-size: 0.62rem; }
}

.illustration-note { color: #b8b2a6; font-size: 12px; text-align: center; margin: 18px auto 8px; letter-spacing: .03em; }

.launch-contact{text-align:center;margin:18px auto 0;font-size:14px}.launch-contact a{color:#C49A3C;text-underline-offset:5px}.launch-contact a:hover{color:#E8D5A7}

.illustration-note, .launch-contact { position: relative; z-index: 1; }
