:root {
  --bg: #05081d;
  --bg-deep: #020414;
  --surface: rgba(9, 16, 56, 0.78);
  --surface-strong: rgba(10, 20, 73, 0.94);
  --surface-soft: rgba(14, 25, 77, 0.54);
  --surface-border: rgba(125, 170, 255, 0.16);
  --surface-border-strong: rgba(105, 218, 255, 0.34);
  --text: #f6f8ff;
  --text-soft: #c3cbed;
  --muted: #8893c2;
  --cyan: #58e8ff;
  --cyan-strong: #1fd7ff;
  --blue: #4e78ff;
  --violet: #8d55ff;
  --pink: #df53ff;
  --green: #6ef0be;
  --yellow: #ffd76a;
  --red: #ff7c9c;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 13px;
  --shell: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -12%, rgba(46, 72, 219, 0.2), transparent 31rem),
    linear-gradient(180deg, #060a24 0%, #04071b 48%, #030516 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 17%, rgba(255,255,255,.9) 0 1px, transparent 1.2px),
    radial-gradient(circle at 78% 11%, rgba(113,230,255,.8) 0 1px, transparent 1.25px),
    radial-gradient(circle at 62% 36%, rgba(255,255,255,.55) 0 1px, transparent 1.2px),
    radial-gradient(circle at 91% 52%, rgba(163,122,255,.65) 0 1px, transparent 1.2px),
    radial-gradient(circle at 28% 68%, rgba(255,255,255,.42) 0 1px, transparent 1.2px);
  background-size: 390px 390px, 520px 520px, 630px 630px, 710px 710px, 830px 830px;
  opacity: .32;
  z-index: 0;
}

[hidden] { display: none !important; }

button, input { font: inherit; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

img { max-width: 100%; display: block; }
svg { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.ambient {
  position: fixed;
  width: 42rem;
  height: 42rem;
  border-radius: 999px;
  filter: blur(110px);
  pointer-events: none;
  opacity: .16;
  z-index: 0;
}
.ambient-a { background: #125eff; top: 18vh; left: -28rem; }
.ambient-b { background: #7937ff; top: 52vh; right: -29rem; }
.noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .018;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 7, 25, 0.68);
  backdrop-filter: blur(22px) saturate(130%);
  border-bottom: 1px solid rgba(125, 170, 255, 0.1);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: max-content;
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 0 28px rgba(73, 200, 255, .18);
}
.brand-copy { display: grid; line-height: 1.06; }
.brand-copy strong { font-size: 16px; letter-spacing: -.02em; }
.brand-copy span { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.header-nav { display: flex; align-items: center; gap: 26px; }
.header-nav > a:not(.button) { text-decoration: none; color: var(--text-soft); font-size: 13px; font-weight: 650; transition: color .2s ease; }
.header-nav > a:not(.button):hover { color: var(--text); }
.menu-button { display: none; width: 42px; height: 42px; border: 0; border-radius: 12px; background: rgba(255,255,255,.05); color: white; padding: 10px; }
.menu-button span { display: block; width: 100%; height: 1.5px; background: currentColor; margin: 5px 0; }
.mobile-nav { padding: 6px 20px 18px; background: rgba(4,7,25,.95); border-top: 1px solid rgba(255,255,255,.06); }
.mobile-nav a { display: block; padding: 13px 0; color: var(--text-soft); text-decoration: none; font-size: 14px; font-weight: 650; }

.button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  color: white;
  text-decoration: none;
  font-weight: 750;
  font-size: 14px;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-small { min-height: 40px; padding-inline: 14px; font-size: 12px; }
.button-primary {
  background: linear-gradient(135deg, #326fff 0%, #5c56ff 52%, #8b47ff 100%);
  border-color: rgba(123,177,255,.45);
  box-shadow: 0 11px 35px rgba(70, 83, 255, .25), inset 0 1px 0 rgba(255,255,255,.24);
}
.button-primary:hover { box-shadow: 0 16px 42px rgba(70, 83, 255, .35), inset 0 1px 0 rgba(255,255,255,.26); }
.button-ghost { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.11); color: var(--text-soft); }
.button-ghost:hover { border-color: rgba(113,207,255,.3); background: rgba(95,127,255,.08); color: white; }
.button-text { background: transparent; border-color: transparent; color: var(--muted); min-height: 42px; padding-inline: 12px; }
.button-text:hover { color: white; background: rgba(255,255,255,.04); }

.hero {
  min-height: 510px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: center;
  gap: 60px;
  padding-top: 62px;
  padding-bottom: 28px;
}
.hero-copy { padding: 26px 0 50px; }
.eyebrow, .card-kicker {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 10px;
  font-weight: 800;
  color: #91a8ef;
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(114,174,255,.15); border-radius: 999px; background: rgba(54,75,169,.1); padding: 8px 11px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); flex: 0 0 auto; }
.hero h1 {
  margin: 22px 0 18px;
  max-width: 780px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: .97;
  letter-spacing: -.055em;
  font-weight: 830;
}
.hero h1 span { color: transparent; background: linear-gradient(90deg, #67e9ff 0%, #7ea9ff 37%, #a36dff 74%, #e15cff 100%); -webkit-background-clip: text; background-clip: text; }
.hero-lede { max-width: 680px; margin: 0; color: #aeb8e0; font-size: 17px; line-height: 1.72; letter-spacing: -.015em; }
.trust-row { display: flex; flex-wrap: wrap; gap: 11px 20px; margin-top: 26px; }
.trust-row span { display: inline-flex; align-items: center; gap: 7px; color: #aab6dd; font-size: 12px; font-weight: 650; }
.trust-row svg { width: 16px; height: 16px; color: #6edffc; }
.hero-art { min-height: 390px; position: relative; display: grid; place-items: center; perspective: 900px; }
.hero-icon { width: min(430px, 92%); transform: rotate(2deg) translateY(4px); filter: drop-shadow(0 35px 55px rgba(0,0,0,.36)) drop-shadow(0 0 26px rgba(47,127,255,.22)); animation: hover-float 7s ease-in-out infinite; }
.art-halo { position: absolute; width: 75%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(34,147,255,.24), rgba(83,55,229,.08) 50%, transparent 72%); filter: blur(24px); }
.orbit { position: absolute; border: 1px solid rgba(105,208,255,.16); border-radius: 50%; transform: rotate(-17deg); }
.orbit-one { width: 102%; height: 43%; }
.orbit-two { width: 82%; height: 31%; transform: rotate(34deg); border-color: rgba(144,94,255,.16); }
.star { position: absolute; color: #8ce9ff; text-shadow: 0 0 18px currentColor; }
.star-a { top: 19%; right: 5%; font-size: 22px; }
.star-b { bottom: 17%; left: 3%; font-size: 15px; color: #b78cff; }
@keyframes hover-float { 0%,100% { transform: rotate(2deg) translateY(4px); } 50% { transform: rotate(-.4deg) translateY(-8px); } }

.glass-card {
  background: linear-gradient(145deg, rgba(13, 24, 77, .84), rgba(5, 10, 41, .8));
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(18px);
}
.calculator-section {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  gap: 18px;
  align-items: stretch;
  margin-top: -6px;
}
.calculator-card, .result-card { border-radius: var(--radius-xl); min-height: 630px; }
.calculator-card { padding: 29px; }
.card-kicker { margin-bottom: 16px; }
.process-tabs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-bottom: 25px; }
.process-tab {
  position: relative;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 17px;
  min-height: 98px;
  padding: 15px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
  background: rgba(255,255,255,.025);
  cursor: pointer;
  text-align: left;
  transition: border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.process-tab:hover { border-color: rgba(102,196,255,.22); transform: translateY(-1px); }
.process-tab.active { background: linear-gradient(145deg, rgba(56,103,255,.17), rgba(85,53,194,.11)); border-color: rgba(91,205,255,.34); box-shadow: inset 0 0 0 1px rgba(117,118,255,.08), 0 9px 28px rgba(30,57,163,.14); color: white; }
.tab-code { min-width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); color: #86e6ff; font-size: 12px; font-weight: 850; letter-spacing: .04em; }
.process-tab.active .tab-code { background: linear-gradient(145deg, rgba(39,191,255,.17), rgba(89,80,255,.18)); border-color: rgba(94,218,255,.28); }
.tab-copy { min-width: 0; display: grid; gap: 5px; }
.tab-copy strong { font-size: 14px; letter-spacing: -.01em; }
.tab-copy small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.tab-arrow { color: #6bdffc; opacity: .15; transform: translateX(-4px); transition: .2s ease; }
.process-tab.active .tab-arrow { opacity: .9; transform: translateX(0); }
.form-fields { display: grid; gap: 18px; }
.form-context { border: 1px solid rgba(123,169,255,.11); background: rgba(65,89,175,.07); border-radius: 15px; padding: 14px 15px; color: #aebbe3; font-size: 13px; line-height: 1.55; }
.form-context strong { color: white; }
.field-label { display: grid; gap: 8px; }
.field-label > span:first-child { font-weight: 740; font-size: 14px; color: #eef2ff; }
.field-label small { color: var(--muted); line-height: 1.45; font-size: 11px; }
.date-input {
  width: 100%;
  min-height: 58px;
  border-radius: 15px;
  border: 1px solid rgba(133,168,255,.15);
  background: rgba(2,7,31,.66);
  color: white;
  padding: 0 15px;
  outline: none;
  color-scheme: dark;
  font-weight: 690;
  letter-spacing: .01em;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.date-input:focus { border-color: rgba(72,214,255,.62); background: rgba(5,12,44,.86); box-shadow: 0 0 0 4px rgba(55,178,255,.09); }
.mode-switch { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 5px; border-radius: 14px; background: rgba(1,5,26,.65); border: 1px solid rgba(255,255,255,.07); }
.mode-switch button { border: 0; border-radius: 10px; min-height: 43px; padding: 0 11px; background: transparent; color: var(--muted); cursor: pointer; font-weight: 720; font-size: 12px; }
.mode-switch button.active { color: white; background: linear-gradient(145deg, rgba(64,91,255,.23), rgba(96,59,222,.15)); box-shadow: inset 0 0 0 1px rgba(92,179,255,.13); }
.privacy-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 21px; padding: 13px 14px; border-radius: 13px; background: rgba(39,204,185,.055); border: 1px solid rgba(79,225,206,.1); color: #95acc8; font-size: 11px; line-height: 1.55; }
.privacy-note svg { width: 16px; flex: 0 0 16px; color: #58e6ca; margin-top: 1px; }
.privacy-note strong { color: #d8fff7; }
.form-actions { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.button-calculate { flex: 1; min-height: 56px; justify-content: space-between; padding-inline: 19px; }
.button-icon { width: 29px; height: 29px; border-radius: 9px; background: rgba(255,255,255,.13); display: grid; place-items: center; }
.form-error { margin: 13px 0 0; color: #ffc0cf; background: rgba(255,81,125,.08); border: 1px solid rgba(255,106,143,.13); padding: 10px 12px; border-radius: 11px; font-size: 12px; }

.result-card { padding: 25px; overflow: hidden; position: relative; }
.result-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 80% 5%, rgba(84,81,255,.14), transparent 24rem); }
.result-placeholder { min-height: 578px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 34px; position: relative; }
.result-orb { width: 92px; height: 92px; border-radius: 29px; display: grid; place-items: center; position: relative; background: linear-gradient(145deg, rgba(61,141,255,.14), rgba(111,48,255,.15)); border: 1px solid rgba(99,199,255,.2); margin-bottom: 24px; }
.result-orb svg { width: 33px; color: #72deff; }
.result-orb-ring { position: absolute; inset: -11px; border: 1px solid rgba(97,205,255,.09); border-radius: 34px; transform: rotate(10deg); }
.mini-label { color: #68dcff; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 820; }
.result-placeholder h2 { margin: 11px 0 12px; font-size: 34px; line-height: 1.05; letter-spacing: -.045em; }
.result-placeholder p { max-width: 410px; margin: 0; color: var(--muted); line-height: 1.65; font-size: 13px; }
.placeholder-lines { margin-top: 28px; display: grid; gap: 8px; width: min(300px, 80%); }
.placeholder-lines span { height: 8px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(106,125,240,.08), rgba(255,255,255,.05)); }
.placeholder-lines span:nth-child(2) { width: 78%; justify-self: center; }
.placeholder-lines span:nth-child(3) { width: 58%; justify-self: center; }
#result-content { position: relative; min-height: 100%; }
.result-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.result-type { display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 800; color: #8fa3dc; }
.result-type code { font-family: inherit; color: #6ee8ff; padding: 5px 7px; border-radius: 7px; background: rgba(68,201,255,.08); border: 1px solid rgba(92,211,255,.14); }
.result-status { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 7px 10px; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.result-status.ok { color: #bafbe3; background: rgba(47,208,147,.08); border: 1px solid rgba(99,237,179,.14); }
.result-status.action { color: #ffd5de; background: rgba(255,104,138,.09); border: 1px solid rgba(255,131,159,.16); }
.result-status.upcoming { color: #c3e9ff; background: rgba(61,171,255,.08); border: 1px solid rgba(91,190,255,.14); }
.result-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.result-title { margin: 0; color: #a7b5e0; font-size: 13px; font-weight: 650; }
.result-date { margin: 6px 0 4px; font-size: clamp(38px, 4.6vw, 59px); line-height: .98; letter-spacing: -.055em; font-weight: 850; color: transparent; background: linear-gradient(90deg, #dffbff, #86eaff 32%, #9ca5ff 72%, #d280ff); -webkit-background-clip: text; background-clip: text; }
.result-subtitle { color: var(--muted); font-size: 12px; line-height: 1.5; }
.result-callout { margin-top: 18px; border-radius: 15px; padding: 13px 14px; display: flex; gap: 10px; align-items: flex-start; background: rgba(68,119,255,.07); border: 1px solid rgba(87,172,255,.12); color: #aebce2; font-size: 12px; line-height: 1.55; }
.result-callout.warning { background: rgba(255,199,74,.07); border-color: rgba(255,211,100,.14); color: #dacda5; }
.result-callout svg { width: 17px; flex: 0 0 17px; margin-top: 1px; color: #62dcff; }
.result-callout.warning svg { color: var(--yellow); }
.result-callout strong { color: white; }
.result-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 17px; }
.metric { padding: 13px; border-radius: 14px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.025); min-height: 81px; }
.metric.wide { grid-column: span 2; }
.metric span { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 9px; font-weight: 800; margin-bottom: 7px; }
.metric strong { display: block; font-size: 14px; letter-spacing: -.01em; }
.metric small { display: block; margin-top: 4px; color: #8590b8; font-size: 10px; line-height: 1.4; }
.result-timeline { margin-top: 18px; border-radius: 16px; background: rgba(2,6,29,.48); border: 1px solid rgba(255,255,255,.06); padding: 14px; }
.timeline-row { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; min-height: 38px; position: relative; }
.timeline-row + .timeline-row::before { content: ""; position: absolute; left: 8px; top: -12px; height: 25px; border-left: 1px solid rgba(103,186,255,.2); }
.timeline-dot { width: 7px; height: 7px; border-radius: 50%; background: #5edfff; box-shadow: 0 0 11px rgba(94,223,255,.5); justify-self: center; }
.timeline-row.secondary .timeline-dot { background: #8e83ff; box-shadow: none; }
.timeline-label { font-size: 11px; color: #9da9d0; }
.timeline-date { font-size: 11px; color: white; font-weight: 720; }
.result-actions { display: flex; gap: 9px; margin-top: 18px; }
.result-actions .button { flex: 1; min-height: 43px; font-size: 12px; }

.checklist-section, .how-section, .faq-section { padding-top: 105px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 34px; margin-bottom: 27px; }
.section-heading.compact { align-items: flex-start; }
.section-heading h2 { margin: 6px 0 0; font-size: clamp(31px, 4vw, 46px); letter-spacing: -.045em; line-height: 1.04; }
.section-heading p { margin: 10px 0 0; max-width: 660px; color: var(--muted); line-height: 1.6; font-size: 13px; }
.checklist-progress { width: 220px; display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; }
.progress-count { color: white; font-size: 12px; font-weight: 760; }
.progress-bar { width: 100%; height: 5px; appearance: none; -webkit-appearance: none; border: 0; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.07); }
.progress-bar::-webkit-progress-bar { background: rgba(255,255,255,.07); border-radius: 999px; }
.progress-bar::-webkit-progress-value { background: linear-gradient(90deg, #47dfff, #7767ff); border-radius: 999px; transition: width .25s ease; }
.progress-bar::-moz-progress-bar { background: linear-gradient(90deg, #47dfff, #7767ff); border-radius: 999px; }
.checklist-loading-lines { margin: 0; width: 100%; }
.checklist-progress small { grid-column: 1 / -1; color: #6f7ba7; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.checklist-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.checklist-item { position: relative; min-height: 148px; border-radius: 17px; padding: 16px; border: 1px solid rgba(255,255,255,.075); background: linear-gradient(145deg, rgba(14,23,69,.65), rgba(6,10,40,.68)); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.checklist-item:hover { transform: translateY(-2px); border-color: rgba(99,190,255,.17); }
.checklist-item.checked { background: linear-gradient(145deg, rgba(26,94,93,.18), rgba(6,30,44,.55)); border-color: rgba(71,226,190,.15); }
.check-row { display: flex; gap: 10px; align-items: flex-start; }
.check-toggle { appearance: none; width: 20px; height: 20px; border-radius: 7px; border: 1px solid rgba(119,169,255,.25); background: rgba(255,255,255,.03); flex: 0 0 20px; cursor: pointer; display: grid; place-items: center; margin: 0; }
.check-toggle:checked { background: linear-gradient(145deg, #33d7c2, #4a96ff); border-color: transparent; }
.check-toggle:checked::after { content: "✓"; color: #051029; font-size: 12px; font-weight: 900; }
.check-content { min-width: 0; }
.check-meta { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.check-badge { text-transform: uppercase; letter-spacing: .08em; font-size: 8px; font-weight: 820; padding: 4px 6px; border-radius: 6px; background: rgba(107,123,255,.09); color: #a6afff; }
.check-badge.context { color: #d6bffb; background: rgba(157,88,255,.08); }
.check-content h3 { margin: 0; font-size: 13.5px; line-height: 1.35; letter-spacing: -.01em; }
.check-content p { margin: 7px 0 0; color: #808cb7; font-size: 11.5px; line-height: 1.55; }
.checklist-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 15px; }
.source-links { display: flex; flex-wrap: wrap; gap: 8px 13px; align-items: center; }
.source-links::before { content: "Sources:"; color: #5e6b97; font-size: 9px; text-transform: uppercase; letter-spacing: .09em; font-weight: 800; }
.source-links a { color: #8294c8; font-size: 10.5px; text-decoration: none; border-bottom: 1px solid rgba(130,148,200,.2); }
.source-links a:hover { color: #b9c9f8; }

.how-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.how-card { position: relative; min-height: 250px; border-radius: 22px; border: 1px solid rgba(255,255,255,.075); background: linear-gradient(145deg, rgba(13,22,68,.68), rgba(5,9,36,.62)); padding: 22px; overflow: hidden; }
.how-card::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; top: -90px; right: -50px; background: radial-gradient(circle, rgba(55,133,255,.16), transparent 68%); }
.how-number { position: absolute; top: 18px; right: 19px; color: #4d5985; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.how-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; border: 1px solid rgba(86,201,255,.14); background: rgba(55,137,255,.07); color: #69dcff; margin-bottom: 39px; }
.how-icon svg { width: 20px; }
.how-card h3 { margin: 0 0 9px; font-size: 17px; letter-spacing: -.025em; }
.how-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.rules-strip { margin-top: 12px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid rgba(255,255,255,.07); background: rgba(7,12,44,.52); border-radius: 19px; overflow: hidden; }
.rules-strip > div { padding: 16px 18px; display: grid; gap: 5px; border-right: 1px solid rgba(255,255,255,.06); }
.rules-strip > div:last-child { border-right: 0; }
.rules-strip span { color: #68749f; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.rules-strip strong { font-size: 12px; color: #c7d0ed; }

.thaiva-cta { margin-top: 105px; border-radius: 30px; min-height: 440px; overflow: hidden; display: grid; grid-template-columns: .92fr 1.08fr; border: 1px solid rgba(101,151,255,.16); background: linear-gradient(135deg, rgba(10,18,68,.92), rgba(16,8,55,.9)); box-shadow: 0 34px 90px rgba(0,0,0,.34); }
.cta-visual { position: relative; min-height: 440px; overflow: hidden; }
.cta-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; }
.cta-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,6,29,.04), rgba(7,9,42,.65) 82%, rgba(7,9,42,.96)); }
.cta-badge { position: absolute; left: 19px; bottom: 19px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 11px; background: rgba(5,9,37,.7); border: 1px solid rgba(108,176,255,.15); backdrop-filter: blur(12px); text-transform: uppercase; letter-spacing: .09em; font-size: 8px; font-weight: 800; color: #bac8ec; }
.cta-copy { padding: 46px 43px; align-self: center; }
.powered-line { display: flex; align-items: center; gap: 9px; color: #8391bc; text-transform: uppercase; letter-spacing: .1em; font-size: 9px; font-weight: 800; }
.powered-line span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: #71e2ff; background: rgba(55,133,255,.08); border: 1px solid rgba(83,194,255,.16); font-size: 9px; letter-spacing: 0; }
.cta-copy h2 { margin: 17px 0 14px; font-size: clamp(32px,4vw,49px); line-height: 1.02; letter-spacing: -.052em; }
.cta-copy h2 span { color: #9fb3e8; }
.cta-copy p { margin: 0; color: #8d9ac3; line-height: 1.7; font-size: 13px; max-width: 570px; }
.cta-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.cta-features span { border: 1px solid rgba(106,171,255,.13); background: rgba(83,113,214,.06); padding: 7px 9px; border-radius: 9px; color: #a5b1d8; font-size: 11px; font-weight: 700; }
.cta-actions { display: flex; gap: 9px; margin-top: 24px; }
.cta-actions .button { min-height: 48px; font-size: 12px; }

.faq-section { padding-bottom: 100px; }
.faq-list { border-top: 1px solid rgba(255,255,255,.08); }
.faq-list details { border-bottom: 1px solid rgba(255,255,255,.075); }
.faq-list summary { list-style: none; min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 30px; cursor: pointer; color: #dfe5f8; font-size: 13px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary span { color: #6f7da9; font-size: 21px; font-weight: 300; transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin: -4px 0 22px; max-width: 800px; color: #8793ba; line-height: 1.7; font-size: 12px; }
.faq-list code { color: #8ce9ff; background: rgba(65,158,255,.08); border: 1px solid rgba(82,180,255,.11); border-radius: 6px; padding: 2px 5px; }

.site-footer { border-top: 1px solid rgba(255,255,255,.07); background: rgba(2,4,18,.58); position: relative; z-index: 1; }
.footer-inner { min-height: 170px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding-block: 30px; }
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 10px; }
.footer-brand > div { display: grid; gap: 4px; }
.footer-brand strong { font-size: 13px; }
.footer-brand span { color: #6f7ba5; font-size: 10.5px; }
.footer-brand a { color: #9caee2; text-decoration: none; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: #7582ae; font-size: 10.5px; text-decoration: none; font-weight: 700; }
.footer-links a:hover { color: #b9c6ed; }
.footer-legal { grid-column: 1 / -1; margin: -15px 0 0; color: #505b83; font-size: 9.5px; line-height: 1.5; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 24px; transform: translateX(-50%); background: rgba(11,18,56,.96); color: white; border: 1px solid rgba(98,187,255,.2); box-shadow: 0 18px 45px rgba(0,0,0,.35); border-radius: 12px; padding: 11px 14px; font-size: 11px; font-weight: 700; backdrop-filter: blur(14px); }

@media (max-width: 980px) {
  .header-nav { display: none; }
  .menu-button { display: block; }
  .hero { grid-template-columns: 1fr .72fr; gap: 20px; min-height: 470px; }
  .hero h1 { font-size: clamp(47px,7vw,66px); }
  .hero-art { min-height: 300px; }
  .calculator-section { grid-template-columns: 1fr; }
  .calculator-card, .result-card { min-height: 0; }
  .result-placeholder { min-height: 430px; }
  .checklist-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .thaiva-cta { grid-template-columns: .82fr 1.18fr; }
  .cta-copy { padding: 37px 31px; }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, var(--shell)); }
  .header-inner { min-height: 68px; }
  .brand img { width: 38px; height: 38px; }
  .hero { display: block; min-height: 0; padding-top: 48px; }
  .hero-copy { padding-bottom: 24px; }
  .hero h1 { margin-top: 18px; font-size: clamp(46px,13vw,66px); }
  .hero-lede { font-size: 15px; }
  .hero-art { min-height: 270px; margin-top: -15px; }
  .hero-icon { width: 300px; }
  .calculator-section { margin-top: 8px; }
  .calculator-card, .result-card { border-radius: 24px; }
  .calculator-card { padding: 19px; }
  .result-card { padding: 19px; }
  .process-tabs { grid-template-columns: 1fr; }
  .process-tab { min-height: 84px; }
  .form-actions { align-items: stretch; }
  .button-calculate { min-height: 54px; }
  .result-placeholder { min-height: 380px; padding: 24px 16px; }
  .result-metrics { grid-template-columns: 1fr; }
  .metric.wide { grid-column: auto; }
  .result-actions { flex-direction: column; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .checklist-progress { width: 100%; max-width: 260px; }
  .checklist-grid { grid-template-columns: 1fr; }
  .checklist-item { min-height: 0; }
  .checklist-footer { align-items: flex-start; flex-direction: column; }
  .how-grid { grid-template-columns: 1fr; }
  .how-card { min-height: 210px; }
  .how-icon { margin-bottom: 28px; }
  .rules-strip { grid-template-columns: repeat(2,1fr); }
  .rules-strip > div:nth-child(2) { border-right: 0; }
  .rules-strip > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.06); }
  .thaiva-cta { grid-template-columns: 1fr; margin-top: 80px; }
  .cta-visual { min-height: 250px; }
  .cta-shade { background: linear-gradient(180deg, rgba(4,6,29,.02), rgba(7,9,42,.9)); }
  .cta-copy { padding: 30px 23px 32px; }
  .cta-copy h2 { font-size: 36px; }
  .cta-actions { flex-direction: column; }
  .faq-section, .checklist-section, .how-section { padding-top: 80px; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; min-height: 200px; }
  .footer-legal { grid-column: auto; margin: 0; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 46px; }
  .eyebrow { font-size: 8px; }
  .trust-row { display: grid; gap: 10px; }
  .hero-art { min-height: 235px; }
  .hero-icon { width: 270px; }
  .mode-switch { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; }
  .button-text { min-height: 38px; }
  .timeline-row { grid-template-columns: 16px 1fr; }
  .timeline-date { grid-column: 2; margin-top: -8px; }
  .rules-strip { grid-template-columns: 1fr; }
  .rules-strip > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .rules-strip > div:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.035);
}

.lang-button {
  min-width: 40px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.lang-button:hover { color: white; transform: translateY(-1px); }
.lang-button.active {
  background: linear-gradient(135deg, rgba(50,111,255,.5), rgba(139,71,255,.45));
  color: white;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.mobile-language-switcher {
  margin-top: 8px;
  width: fit-content;
}

.result-anchor-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.result-anchor-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #7ce8ff;
  font-weight: 760;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1180px) {
  .header-tools { gap: 10px; }
}

@media (max-width: 980px) {
  .header-tools { display: none; }
  .mobile-nav .language-switcher { display: inline-flex; }
  .result-anchor-row { flex-wrap: wrap; }
}

/* Privacy consent / Microsoft Clarity */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
body.privacy-dialog-open { overflow: hidden; }
.cookie-banner {
  position: fixed;
  z-index: 300;
  right: 20px;
  bottom: 20px;
  left: 20px;
}
.cookie-banner__inner {
  display: flex;
  max-width: 1120px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-inline: auto;
  padding: 20px;
  border: 1px solid rgba(125, 170, 255, .22);
  border-radius: 20px;
  background: rgba(5, 9, 33, .97);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(24px) saturate(135%);
}
.cookie-banner__content { max-width: 650px; }
.cookie-banner__title { margin: 0 0 5px; font-size: .95rem; font-weight: 800; }
.cookie-banner__text { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.cookie-banner__link { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.cookie-banner .button { min-height: 40px; padding: 9px 12px; font-size: .72rem; }
.cookie-settings-button {
  position: fixed;
  z-index: 250;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid rgba(125, 170, 255, .22);
  border-radius: 999px;
  background: rgba(5, 9, 33, .92);
  color: var(--text-soft);
  cursor: pointer;
  font-size: .68rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,.32);
}
.cookie-settings-button:hover { color: white; border-color: rgba(88,232,255,.4); }
.cookie-dialog-backdrop {
  position: fixed;
  z-index: 400;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(1, 2, 10, .78);
  backdrop-filter: blur(12px);
}
.cookie-dialog {
  position: relative;
  width: min(700px, 100%);
  max-height: min(760px, calc(100svh - 40px));
  overflow: auto;
  padding: 32px;
  border: 1px solid rgba(125,170,255,.2);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(10, 19, 65, .99), rgba(5, 9, 34, .99));
  box-shadow: 0 34px 100px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.04);
}
.cookie-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}
.cookie-dialog__eyebrow { margin: 0 0 8px; color: var(--cyan); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cookie-dialog__header h2 { margin: 0 0 10px; font-size: 2rem; letter-spacing: -.04em; }
.cookie-dialog__header p:last-child { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.cookie-category-list { display: grid; gap: 10px; margin-top: 24px; }
.cookie-category {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 15px;
  background: rgba(255,255,255,.025);
}
.cookie-category__heading { display: flex; align-items: center; gap: 9px; margin-bottom: 6px; }
.cookie-category h3 { margin: 0; font-size: .92rem; }
.cookie-category p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.cookie-category__status { padding: 4px 7px; border-radius: 999px; background: rgba(110,240,190,.1); color: var(--green); font-size: .58rem; font-weight: 800; }
.cookie-switch { position: relative; display: block; width: 46px; height: 26px; flex: 0 0 auto; }
.cookie-switch input { position: absolute; opacity: 0; }
.cookie-switch > span[aria-hidden="true"] { position: absolute; inset: 0; border-radius: 999px; background: #333848; cursor: pointer; transition: background .2s ease; }
.cookie-switch > span[aria-hidden="true"]::after { content: ""; position: absolute; top: 4px; left: 4px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s ease; }
.cookie-switch input:checked + span { background: linear-gradient(135deg, var(--blue), var(--violet)); }
.cookie-switch input:checked + span::after { transform: translateX(20px); }
.cookie-switch input:disabled + span { cursor: default; opacity: .9; }
.cookie-dialog__links { display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0; }
.cookie-dialog__links a { color: var(--cyan); font-size: .75rem; text-decoration: underline; text-underline-offset: 2px; }
.cookie-dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cookie-dialog__actions .button { min-height: 42px; font-size: .75rem; }

@media (max-width: 980px) {
  .cookie-banner { right: 10px; bottom: 10px; left: 10px; }
  .cookie-banner__inner { align-items: stretch; flex-direction: column; gap: 15px; padding: 17px; }
  .cookie-banner__actions { display: grid; grid-template-columns: 1fr; }
  .cookie-banner .button { width: 100%; }
  .cookie-dialog { padding: 26px 18px 20px; }
  .cookie-category { grid-template-columns: minmax(0,1fr) auto; padding: 15px; }
  .cookie-dialog__actions { display: grid; }
  .cookie-dialog__actions .button { width: 100%; }
}
