/* ============================================================
   TemanMala — Landing & Auth (Emerald / Gold / White)
   ============================================================ */
:root {
  --em-900: #04352c;
  --em-800: #075243;
  --em-700: #0b6b58;
  --em-600: #0e8a6e;
  --em-500: #12a67f;
  --em-50: #e9f7f1;
  --gold: #c99a1f;
  --gold-2: #e6b93c;
  --gold-soft: #f7d97a;
  --gold-50: #fdf6e3;
  --ink: #0f2b25;
  --muted: #5d7570;
  --line: rgba(11, 107, 88, .14);
  --bg: #f5faf7;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(4, 53, 44, .06);
  --shadow: 0 18px 45px rgba(4, 53, 44, .10);
  --shadow-lg: 0 30px 70px rgba(4, 53, 44, .16);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.landing {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(18, 166, 127, .16), transparent 62%),
    radial-gradient(760px 480px at 4% 4%, rgba(230, 185, 60, .18), transparent 60%),
    linear-gradient(180deg, #f7fbf9 0%, #ffffff 45%, #f4faf7 100%);
  background-attachment: fixed;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--em-700); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 900px; }

/* ---------------- header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--em-600), var(--em-800));
  color: var(--gold-soft);
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 8px 18px rgba(11, 107, 88, .28);
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 18px; letter-spacing: -.02em; }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.site-nav { display: none; margin-left: auto; gap: 26px; }
.site-nav a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.site-nav a:hover { color: var(--em-700); }
.header-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-nav + .header-cta { margin-left: 0; }
@media (min-width: 900px) {
  .site-nav { display: flex; margin-left: auto; }
  .header-cta { margin-left: 26px; }
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, #0fa87f, #0b6b58);
  color: #fff;
  box-shadow: 0 12px 26px rgba(11, 107, 88, .26);
}
.btn-primary:hover { box-shadow: 0 16px 32px rgba(11, 107, 88, .34); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #3a2a03;
  box-shadow: 0 12px 24px rgba(201, 154, 31, .28);
}
.btn-outline { background: rgba(255, 255, 255, .7); color: var(--em-800); border-color: rgba(11, 107, 88, .26); }
.btn-outline:hover { background: #fff; border-color: var(--em-600); }
.btn-ghost { background: transparent; color: var(--em-700); padding: 10px 12px; }
.btn-ghost:hover { background: var(--em-50); }

/* ---------------- hero ---------------- */
.hero { padding: 42px 0 24px; overflow: hidden; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) {
  .hero { padding: 64px 0 40px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; }
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(11, 107, 88, .18);
  color: var(--em-800);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .01em;
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(29px, 5.6vw, 52px);
  font-weight: 800;
  color: var(--em-900);
}
.hero h1 .hl {
  background: linear-gradient(120deg, #0fa87f 0%, #0b6b58 60%, #c99a1f 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 16px;
  font-size: 16.5px;
  color: var(--muted);
  max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.hero-facts li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #38534d; }
.hero-facts .dot {
  width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--em-50);
  border: 1px solid rgba(11, 107, 88, .25);
  position: relative;
}
.hero-facts .dot::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--em-600), var(--gold));
  clip-path: polygon(42% 52%, 88% 16%, 94% 26%, 44% 72%, 22% 52%, 30% 42%);
}
.hero-visual { position: relative; max-width: 520px; margin: 0 auto; }
.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 38%;
  border-radius: 26px;
  filter: drop-shadow(0 24px 50px rgba(4, 53, 44, .14));
  background: #eef5f0;
}
.hero-visual img.hero-photo {
  object-position: 52% 30%;
  box-shadow: 0 26px 56px rgba(4, 53, 44, .18);
  filter: none;
}
@media (max-width: 560px) {
  .hero-visual img { aspect-ratio: 4 / 4.6; border-radius: 20px; }
}
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  max-width: 210px;
}
.float-card .fc-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 700; }
.float-card strong { font-size: 13px; color: var(--em-900); margin-top: 3px; }
.float-a { left: 4px; bottom: 26px; }
.float-b { right: 2px; top: 22px; }
@media (max-width: 520px) {
  .float-b { display: none; }
  .float-a { bottom: 10px; left: 8px; max-width: 180px; }
}

/* ---------------- sections ---------------- */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 84px 0; } }
.section-tint {
  background: linear-gradient(180deg, rgba(233, 247, 241, .55), rgba(255, 255, 255, .2));
  border-top: 1px solid rgba(11, 107, 88, .08);
  border-bottom: 1px solid rgba(11, 107, 88, .08);
}
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(23px, 3.6vw, 34px); font-weight: 800; color: var(--em-900); margin-top: 10px; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------------- cards ---------------- */
.cards-3 { display: grid; gap: 20px; }
@media (min-width: 760px) { .cards-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px;
}
.cards-3 .card { transition: transform .2s ease, box-shadow .2s ease; }
.cards-3 .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-ico {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--em-50), #fff);
  border: 1px solid rgba(11, 107, 88, .16);
  color: var(--em-700);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 16px;
}
.card h3 { font-size: 18px; color: var(--em-900); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* ---------------- rules ---------------- */
.rule-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .rule-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
.rule-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.rule-card-gold {
  background: linear-gradient(160deg, #fffdf5 0%, #fff 55%);
  border-color: rgba(201, 154, 31, .3);
  box-shadow: 0 18px 45px rgba(201, 154, 31, .12);
}
.rule-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.rule-head h3 { font-size: 20px; color: var(--em-900); }
.rule-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--em-50);
  color: var(--em-700);
}
.tag-gold { background: var(--gold-50); color: #96700f; }
.rule-card p { color: var(--muted); font-size: 14.5px; }
.rule-card strong { color: var(--em-900); }
.rule-card .muted { font-size: 13px; color: #7c8f8a; margin-top: 12px; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 4px; }
.area-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--em-50), #fff);
  border: 1px solid rgba(11, 107, 88, .2);
  color: var(--em-800);
  font-weight: 600;
  font-size: 13.5px;
}
.tick-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.tick-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: #3c5952;
}
.tick-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 1px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--em-50);
  color: var(--em-700);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11, 107, 88, .18);
}

/* ---------------- calculator ---------------- */
.calc-wrap {
  display: grid;
  gap: 20px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}
@media (min-width: 900px) {
  .calc-wrap { grid-template-columns: 1fr 1fr; gap: 0; padding: 0; overflow: hidden; }
}
.calc-panel { padding: 8px; }
@media (min-width: 900px) { .calc-panel { padding: 34px; } }
.calc-label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.calc-value { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 18px; }
.calc-value span { font-size: clamp(42px, 8vw, 60px); font-weight: 800; color: var(--em-800); letter-spacing: -.04em; line-height: 1; }
.calc-value small { font-size: 14px; color: var(--muted); font-weight: 500; }
.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--em-500) 0%, var(--gold-2) 100%);
  outline: none;
  margin: 10px 0 6px;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--em-600);
  box-shadow: 0 6px 16px rgba(4, 53, 44, .28);
  cursor: pointer;
}
.slider::-moz-range-thumb {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--em-600);
  box-shadow: 0 6px 16px rgba(4, 53, 44, .28);
  cursor: pointer;
}
.slider-scale { display: flex; justify-content: space-between; font-size: 11.5px; color: #90a29d; font-weight: 600; }
.calc-hint { font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.milestone-chips { display: grid; gap: 10px; margin-top: 18px; }
.m-chip {
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 12px;
  background: #f4f7f6;
  color: #7b8d88;
  border: 1px dashed rgba(11, 107, 88, .2);
  transition: all .25s ease;
}
.m-chip.on {
  background: linear-gradient(135deg, rgba(18, 166, 127, .12), rgba(230, 185, 60, .16));
  color: var(--em-800);
  border: 1px solid rgba(18, 166, 127, .4);
}
.m-chip.on::before { content: '✓ '; font-weight: 800; }
.calc-result {
  background: linear-gradient(160deg, #063f34 0%, #0a5f4e 55%, #0b6b58 100%);
  color: #fff;
  border-radius: 22px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (min-width: 900px) { .calc-result { border-radius: 0; padding: 36px 34px; } }
.result-top span { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .68); font-weight: 600; }
.result-top strong {
  display: block;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-top: 4px;
  color: var(--gold-soft);
}
.breakdown { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.breakdown li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: 13.5px;
  color: rgba(255, 255, 255, .85);
}
.breakdown li:last-child { border-bottom: 0; }
.breakdown em { font-style: normal; color: rgba(255, 255, 255, .55); font-size: 12px; }
.breakdown strong { font-weight: 700; white-space: nowrap; }
.breakdown li.plus strong { color: var(--gold-soft); }
.result-foot p { font-size: 12.5px; color: rgba(255, 255, 255, .78); margin-bottom: 14px; }
.result-foot strong { color: var(--gold-soft); }

/* ---------------- steps ---------------- */
.steps { display: grid; gap: 14px; margin-top: 32px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.step > span {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  flex: none;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--em-600), var(--em-800));
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.step h4 { font-size: 14.5px; color: var(--em-900); }
.step p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---------------- compare ---------------- */
.compare { display: grid; gap: 18px; }
@media (min-width: 720px) { .compare { grid-template-columns: 1fr 1fr; gap: 24px; } }
.compare-col {
  background: #fff;
  border: 1px solid rgba(18, 166, 127, .3);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.compare-col h4 { font-size: 15px; margin-bottom: 16px; letter-spacing: .01em; }
.ok-title { color: var(--em-700); }
.no-title { color: #a8542f; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare-col li { position: relative; padding-left: 28px; font-size: 14px; color: #3c5952; }
.compare-col li::before {
  position: absolute; left: 0; top: 0;
  width: 19px; height: 19px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800;
}
.compare-col:not(.compare-bad) li::before { content: '✓'; background: var(--em-50); color: var(--em-700); }
.compare-bad { border-color: rgba(180, 90, 50, .2); background: #fffdfb; }
.compare-bad li::before { content: '✕'; background: #fbeee7; color: #b4603a; }
.compare-bad li { color: #7b6559; }

/* ---------------- faq ---------------- */
.faq { display: grid; gap: 12px; }
.faq details {
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 20px;
  box-shadow: var(--shadow-sm);
}
.faq details[open] { border-color: rgba(18, 166, 127, .34); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--em-900);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 20px;
  color: var(--em-600);
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: 14px; }

/* ---------------- signup ---------------- */
.signup-section {
  background:
    radial-gradient(700px 340px at 92% 0%, rgba(230, 185, 60, .18), transparent 60%),
    linear-gradient(180deg, #f0f8f4, #ffffff);
  border-top: 1px solid rgba(11, 107, 88, .08);
}
.signup-grid { display: grid; gap: 32px; }
@media (min-width: 940px) { .signup-grid { grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: start; } }
.signup-copy h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; color: var(--em-900); margin-top: 10px; }
.signup-copy > p { margin-top: 14px; color: var(--muted); font-size: 15px; }
.signup-note { margin-top: 22px; font-size: 14px; color: var(--muted); }
.signup-note a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.signup-form { padding: 26px; display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); }
@media (min-width: 700px) { .signup-form { padding: 32px; } }
.signup-form h3 { font-size: 19px; color: var(--em-900); margin-bottom: 4px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 600; color: #3c5952; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(11, 107, 88, .18);
  background: #fbfdfc;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--em-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(18, 166, 127, .12);
}
.field-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-group-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-top: 6px;
}
.err { color: #b4453a; font-size: 12px; font-style: normal; font-weight: 500; }
.form-foot { font-size: 11.5px; color: #90a29d; text-align: center; }
.flash { border-radius: 12px; padding: 12px 16px; font-size: 13.5px; font-weight: 500; }
.flash-ok { background: #e8f8f1; color: #0b6b58; border: 1px solid rgba(18, 166, 127, .3); }
.flash-err { background: #fdeeea; color: #a8442f; border: 1px solid rgba(180, 80, 50, .25); }
.flash-info { background: #eef6ff; color: #2b5d94; border: 1px solid rgba(60, 110, 180, .22); }

/* ---------------- footer ---------------- */
.site-footer {
  background: linear-gradient(180deg, #063f34, #04322a);
  color: rgba(255, 255, 255, .74);
  padding: 40px 0 22px;
  margin-top: 0;
}
.footer-inner { display: grid; gap: 24px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand strong { color: #fff; font-size: 16px; }
.footer-brand p { font-size: 13px; margin-top: 6px; max-width: 420px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: rgba(255, 255, 255, .8); font-size: 13.5px; }
.footer-links a:hover { color: var(--gold-soft); }
.copyright {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
}

/* ---------------- auth page ---------------- */
body.auth {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(800px 420px at 84% -6%, rgba(18, 166, 127, .2), transparent 60%),
    radial-gradient(700px 400px at 0% 10%, rgba(230, 185, 60, .18), transparent 60%),
    linear-gradient(180deg, #f6fbf8, #eef7f3);
}
.auth-main { flex: 1; display: grid; place-items: center; padding: 40px 20px; }
.auth-card {
  width: 100%;
  max-width: 430px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 16px;
}
.auth-card h1 { font-size: 23px; color: var(--em-900); }
.auth-card .sub { font-size: 13.5px; color: var(--muted); margin-top: -8px; }
.auth-tabs { display: flex; gap: 8px; background: #eff5f2; padding: 5px; border-radius: 999px; }
.auth-tabs a {
  flex: 1;
  text-align: center;
  padding: 9px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.auth-tabs a.active { background: #fff; color: var(--em-800); box-shadow: var(--shadow-sm); }
.auth-foot { text-align: center; font-size: 12px; color: rgba(255, 255, 255, .6); padding: 18px; background: #04322a; }

/* header rapat di layar kecil agar tidak meluber */
@media (max-width: 520px) {
  .header-inner { gap: 10px; min-height: 64px; }
  .header-cta { gap: 6px; }
  .header-cta .btn { padding: 9px 13px; font-size: 12.5px; }
  .brand-mark { width: 36px; height: 36px; font-size: 18px; }
  .brand-text strong { font-size: 16px; }
}

/* ---------------- floating WhatsApp CS ---------------- */
.cs-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2ad06a, #1e9e4f);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(21, 128, 61, .34), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .18s ease, box-shadow .22s ease, background .22s ease;
}
.cs-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(21, 128, 61, .42), 0 3px 8px rgba(0, 0, 0, .14);
  color: #fff;
}
.cs-float:focus-visible { outline: 3px solid rgba(42, 208, 106, .45); outline-offset: 3px; }
.cs-float-ico { display: grid; place-items: center; width: 22px; height: 22px; flex: none; }
.cs-float-ico svg { width: 22px; height: 22px; display: block; }
.cs-float-text { white-space: nowrap; }
.cs-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(42, 208, 106, .5);
  animation: csPulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes csPulse {
  0% { box-shadow: 0 0 0 0 rgba(42, 208, 106, .45); }
  70% { box-shadow: 0 0 0 14px rgba(42, 208, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 208, 106, 0); }
}
@media (max-width: 480px) {
  .cs-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); padding: 11px 15px; font-size: 13px; gap: 8px; }
  .cs-float-ico, .cs-float-ico svg { width: 19px; height: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-float::before { animation: none; }
}

/* beri ruang agar tombol CS mengambang tidak menutupi teks footer di semua ukuran layar */
.site-footer { padding-bottom: 86px; }
