:root {
  --ink: #0b2d4d;
  --muted: #5d6b78;
  --paper: #f8fafc;
  --paper-2: #eef3f6;
  --white: #ffffff;
  --green: #138808;
  --green-dark: #075f37;
  --saffron: #ff8c24;
  --chakra: #1a4d8f;
  --line: #d9e1e7;
  --shadow: 0 22px 60px rgba(11, 45, 77, 0.12);
  font-family: "Noto Sans", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  overflow-x: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  background: var(--ink);
  color: white;
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
}
.skip-link:focus {
  top: 1rem;
}
.topline {
  height: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.topline i:nth-child(1) {
  background: #e98232;
}
.topline i:nth-child(2) {
  background: #f7f4ec;
}
.topline i:nth-child(3) {
  background: #1f7557;
}
.site-header {
  height: 82px;
  padding: 0 clamp(1.1rem, 4vw, 4.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(24, 53, 47, 0.12);
  position: relative;
  z-index: 20;
  background: rgba(247, 244, 236, 0.94);
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}
.brand-mark:before,
.brand-mark:after {
  content: "";
  position: absolute;
  border: 1px solid var(--saffron);
  width: 32px;
  height: 32px;
  transform: rotate(45deg);
  border-radius: 9px;
}
.brand-mark:after {
  border-color: rgba(30, 90, 71, 0.4);
  transform: rotate(22.5deg);
}
.brand-mark span {
  font-weight: 800;
  z-index: 1;
}
.brand strong {
  font-family: Georgia, serif;
  font-size: 1.23rem;
  display: block;
  letter-spacing: -0.02em;
}
.brand small {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.12rem;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  margin-right: 2rem;
}
.desktop-nav a,
.text-button {
  text-decoration: none;
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 650;
  font-size: 0.84rem;
  cursor: pointer;
  padding: 0.65rem 0;
}
.desktop-nav a:hover,
.text-button:hover {
  color: var(--saffron);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.lite-toggle,
.language-control {
  height: 40px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.75rem;
  font-size: 0.76rem;
  font-weight: 700;
}
.lite-toggle {
  cursor: pointer;
}
.lite-toggle[aria-pressed="true"] {
  background: var(--ink);
  color: white;
}
.language-control select {
  border: 0;
  background: transparent;
  max-width: 82px;
  font-size: 0.76rem;
  font-weight: 700;
  outline: 0;
}
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  padding: 11px;
}
.menu-button span:not(.sr-only) {
  height: 1.5px;
  background: var(--ink);
  display: block;
  margin: 4px 0;
}
.mobile-menu {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 74px;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 1rem;
}
.mobile-menu a,
.mobile-menu button {
  display: block;
  padding: 0.8rem;
  text-decoration: none;
  color: var(--ink);
}
.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: 3vw;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 7vw, 7.5rem);
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(24, 53, 47, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 53, 47, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, black, transparent 85%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 6px rgba(233, 130, 50, 0.13);
}
h1 {
  font-family: Georgia, "Noto Serif", serif;
  font-weight: 500;
  font-size: clamp(3.5rem, 6.2vw, 6.8rem);
  line-height: 0.91;
  letter-spacing: -0.065em;
  margin: 1.5rem 0 1.7rem;
}
h1 em {
  font-weight: 500;
  color: var(--green);
  position: relative;
}
h1 em:after {
  content: "";
  position: absolute;
  bottom: -0.16em;
  left: 0;
  width: 63%;
  height: 7px;
  background: var(--saffron);
  border-radius: 50%;
  transform: rotate(-2deg);
  opacity: 0.75;
}
.hero-intro {
  font-family: Georgia, serif;
  font-size: clamp(1.08rem, 1.4vw, 1.34rem);
  line-height: 1.55;
  max-width: 570px;
  color: #4d625c;
}
.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
}
.primary-button,
.secondary-button,
.light-button,
.next-button,
.back-button {
  min-height: 50px;
  border-radius: 6px;
  padding: 0 1.2rem;
  border: 1px solid var(--ink);
  font-weight: 750;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.primary-button,
.next-button {
  background: var(--green);
  color: white;
  border-color: var(--green);
  box-shadow: 4px 4px 0 var(--saffron);
}
.primary-button:hover,
.next-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--saffron);
}
.secondary-button,
.back-button {
  background: transparent;
}
.secondary-button:hover,
.back-button:hover {
  background: var(--white);
}
.scan-icon {
  width: 18px;
  height: 18px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  position: relative;
}
.scan-icon:before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 7px;
  border-top: 1.5px solid var(--saffron);
}
.quiet-note {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 1rem 0.2rem;
}
.quiet-note span:first-child {
  color: var(--green);
  font-weight: 900;
}
.hero-guide {
  min-height: 520px;
  display: grid;
  place-items: center;
  position: relative;
}
.guide-card {
  width: min(100%, 410px);
  min-height: 455px;
  background: var(--white);
  border: 1px solid rgba(24, 53, 47, 0.16);
  border-radius: 160px 160px 24px 24px;
  padding: 2.4rem 3rem 2.2rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.guide-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}
.guide-top small {
  margin-left: auto;
  color: var(--muted);
}
.mini-seal {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: white;
  font-size: 0.55rem;
}
.guide-illustration {
  height: 170px;
  position: relative;
  margin: 1rem 0;
}
.paper {
  position: absolute;
  left: 70px;
  top: 15px;
  width: 120px;
  height: 145px;
  background: #f0e7d5;
  border: 1px solid #c9bfaa;
  transform: rotate(-5deg);
  padding: 28px 20px;
}
.paper span {
  display: block;
  height: 3px;
  background: #b7ad99;
  margin: 12px 0;
}
.paper b {
  font: 700 2.7rem Georgia;
  color: var(--saffron);
  position: absolute;
  right: 12px;
  top: 38px;
}
.person {
  position: absolute;
  right: 52px;
  bottom: 1px;
  width: 78px;
  height: 120px;
}
.person i {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #a66642;
  display: block;
  margin: auto;
}
.person b {
  display: block;
  width: 78px;
  height: 74px;
  border-radius: 50px 50px 12px 12px;
  background: var(--green);
  margin-top: 4px;
}
.guide-card h2 {
  font:
    500 1.7rem/1.1 Georgia,
    serif;
  margin: 0.5rem auto 0.8rem;
  max-width: 310px;
}
.guide-card p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}
.guide-link {
  border: 0;
  background: none;
  border-bottom: 1px solid var(--saffron);
  padding: 0.5rem 0;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
}
.guide-orbit {
  position: absolute;
  border: 1px dashed rgba(24, 53, 47, 0.2);
  border-radius: 50%;
  width: 540px;
  height: 540px;
}
.orbit-two {
  width: 660px;
  height: 400px;
  transform: rotate(-18deg);
  border-color: rgba(233, 130, 50, 0.25);
}
.floating-note {
  position: absolute;
  z-index: 3;
  background: var(--ink);
  color: white;
  border-radius: 50%;
  width: 92px;
  height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 35px rgba(24, 53, 47, 0.22);
}
.floating-note span {
  font: 600 1.5rem Georgia;
}
.floating-note small {
  font-size: 0.58rem;
  max-width: 60px;
  text-align: center;
  opacity: 0.78;
}
.note-one {
  left: 0;
  bottom: 74px;
}
.note-two {
  right: 0;
  top: 64px;
  background: var(--saffron);
  color: var(--ink);
}
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.15rem clamp(1.25rem, 7vw, 7.5rem);
  background: rgba(255, 255, 255, 0.25);
}
.trust-strip > div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.4rem 1.2rem;
  border-right: 1px solid var(--line);
}
.trust-strip > div:last-child {
  border: 0;
}
.trust-strip > div > span {
  font-size: 1.35rem;
  color: var(--saffron);
}
.trust-strip p {
  margin: 0;
}
.trust-strip strong,
.trust-strip small {
  display: block;
}
.trust-strip strong {
  font-size: 0.78rem;
}
.trust-strip small {
  font-size: 0.64rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
.how-section,
.examples-section {
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 7vw, 7.5rem);
}
.section-heading {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 820px;
}
.section-heading > span {
  font: 600 1rem Georgia;
  color: var(--saffron);
  border: 1px solid var(--saffron);
  border-radius: 50%;
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.section-heading p {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 0.7rem;
  color: var(--green);
}
.section-heading h2,
.examples-copy h2,
.cta-section h2 {
  font:
    500 clamp(2.3rem, 4vw, 4.5rem) / 1.02 Georgia,
    serif;
  letter-spacing: -0.045em;
  margin: 0;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 4rem;
  border: 1px solid var(--line);
}
.steps-grid article {
  background: var(--paper);
  min-height: 330px;
  padding: 2.2rem;
  position: relative;
}
.step-number {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font: italic 1rem Georgia;
  color: var(--saffron);
}
.step-icon {
  width: 78px;
  height: 78px;
  border-radius: 24px 24px 10px 24px;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  font: 500 2rem Georgia;
  color: var(--green);
  margin-bottom: 3.5rem;
  transition: transform 0.25s;
}
.steps-grid article:hover .step-icon {
  transform: translateY(-6px) rotate(-3deg);
}
.steps-grid h3 {
  font: 500 1.45rem Georgia;
  margin: 0 0 0.8rem;
}
.steps-grid p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 320px;
}
.examples-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 7vw;
  background: var(--green-dark);
  color: white;
}
.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  font-weight: 900;
  color: #f3ad71;
}
.examples-copy h2 {
  margin: 1.3rem 0 1.5rem;
}
.examples-copy > p {
  color: #c6d6d0;
  line-height: 1.7;
  max-width: 440px;
}
.inline-button {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--saffron);
  padding: 0.6rem 0;
  color: white;
  font-weight: 800;
  margin-top: 1rem;
  cursor: pointer;
}
.question-stack article {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 1rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  align-items: start;
}
.question-stack article > span {
  color: #f3ad71;
  font: italic 1rem Georgia;
}
.question-stack p {
  font: 500 clamp(1.15rem, 1.7vw, 1.55rem) / 1.35 Georgia;
  margin: 0;
}
.question-stack small {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.4rem 0.6rem;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.cta-section {
  margin: 0 clamp(1.25rem, 4vw, 4rem);
  padding: clamp(3rem, 5vw, 5rem);
  background: var(--saffron);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-section .section-label {
  color: var(--ink);
}
.cta-section h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin: 0.8rem 0;
}
.cta-section p {
  margin: 0;
}
.light-button {
  background: var(--white);
  min-width: 240px;
}
.light-button:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--ink);
}
footer {
  padding: 3rem clamp(1.25rem, 7vw, 7.5rem);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
footer strong {
  font: 600 1.3rem Georgia;
}
footer p {
  font-size: 0.72rem;
  color: var(--muted);
}
footer > div:last-child {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
footer a {
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
}
.modal[hidden] {
  display: none;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 32, 27, 0.66);
  backdrop-filter: blur(8px);
}
.modal-panel {
  position: relative;
  z-index: 1;
  background: var(--paper);
  width: min(720px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border-radius: 18px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);
  padding: clamp(1.3rem, 4vw, 2.5rem);
}
.modal-panel > header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.modal-kicker {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  font-weight: 900;
  color: var(--saffron);
}
.modal-panel h2 {
  font: 500 clamp(1.8rem, 4vw, 2.7rem) Georgia;
  margin: 0.35rem 0;
}
.close-button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 1.5rem;
  cursor: pointer;
}
.progress-wrap {
  margin: 1.5rem 0 2rem;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.progress-bar {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
}
.progress-bar i {
  display: block;
  height: 100%;
  background: var(--saffron);
  width: 25%;
  transition: width 0.3s;
}
.form-step fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.form-step legend {
  font: 500 1.3rem Georgia;
  margin-bottom: 0.5rem;
}
.field-help {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 0 0 1.1rem;
}
.choice-card {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 9px;
  padding: 1rem;
  margin: 0.7rem 0;
  cursor: pointer;
}
.choice-card:has(input:checked) {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(30, 90, 71, 0.15);
}
.choice-card input {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
}
.choice-card b,
.choice-card small {
  display: block;
}
.choice-card b {
  font-size: 0.86rem;
}
.choice-card small {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.25rem;
}
.field-label {
  display: block;
  font-weight: 800;
  font-size: 0.8rem;
  margin: 1rem 0 0.45rem;
}
.field-label small {
  font-weight: 400;
  color: var(--muted);
}
.form-step select,
.form-step input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.form-step textarea,
.large-input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 7px;
  padding: 0.9rem;
  outline: none;
}
.form-step select:focus,
.form-step input:focus,
.form-step textarea:focus,
.large-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(30, 90, 71, 0.12);
}
.tip-box {
  display: flex;
  gap: 0.8rem;
  background: #e9efe9;
  padding: 0.9rem;
  border-radius: 7px;
  margin-top: 1rem;
}
.tip-box > span {
  width: 24px;
  height: 24px;
  border: 1px solid var(--green);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Georgia;
}
.tip-box p {
  font-size: 0.72rem;
  line-height: 1.5;
  margin: 0;
}
.textarea-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
.textarea-meta button {
  border: 0;
  background: none;
  color: var(--green);
  font-weight: 800;
  cursor: pointer;
}
.prompt-result {
  padding: 0.8rem;
  background: #e9efe9;
  border-left: 3px solid var(--green);
  font-size: 0.74rem;
  line-height: 1.5;
  margin-top: 0.8rem;
}
.upload-label {
  border: 1px dashed #9daaa5;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  padding: 0.9rem;
  margin-top: 1rem;
  cursor: pointer;
}
.upload-label input {
  display: none;
}
.upload-label > span {
  grid-row: 1/3;
  font-size: 1.4rem;
}
.upload-label b,
.upload-label small {
  display: block;
}
.upload-label b {
  font-size: 0.78rem;
}
.upload-label small {
  font-size: 0.66rem;
  color: var(--muted);
}
.review-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.2rem;
}
.review-icon {
  display: grid;
  place-items: center;
  margin: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: white;
}
.review-card h3 {
  font: 500 1.5rem Georgia;
  margin: 0.7rem 0;
}
.review-card > p {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}
.review-card dl {
  text-align: left;
  margin: 1rem 0 0;
}
.review-card dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.73rem;
}
.review-card dt {
  color: var(--muted);
}
.review-card dd {
  margin: 0;
  font-weight: 700;
  word-break: break-word;
}
.check-row {
  display: flex;
  gap: 0.7rem;
  margin: 1rem 0;
  font-size: 0.72rem;
  line-height: 1.4;
}
.check-row input {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
}
.fee-row {
  display: flex;
  justify-content: space-between;
  background: #efe6d4;
  padding: 0.85rem 1rem;
  border-radius: 8px;
}
.fee-row b,
.fee-row small {
  display: block;
}
.fee-row b {
  font-size: 0.78rem;
}
.fee-row small {
  font-size: 0.65rem;
  color: var(--muted);
}
.fee-row strong {
  font: 600 1.5rem Georgia;
}
.state-notice {
  background: #fff0e3;
  border-left: 4px solid var(--saffron);
  padding: 1rem;
  margin: 1rem 0;
}
.state-notice strong {
  font: 600 1.15rem Georgia;
}
.state-notice p {
  font-size: 0.75rem;
  line-height: 1.5;
}
.state-notice a {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
}
.form-footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.7rem;
  padding: 0;
}
.autosave {
  font-size: 0.65rem;
  color: var(--muted);
  margin-right: auto;
}
.next-button {
  box-shadow: none;
  min-height: 44px;
}
.back-button {
  min-height: 44px;
  border-color: var(--line);
}
.success-state {
  text-align: center;
  padding: 1rem;
}
.success-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  box-shadow: 0 0 0 9px rgba(30, 90, 71, 0.11);
}
.success-state > p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}
.reference-box {
  border: 1px dashed var(--green);
  background: var(--white);
  padding: 1rem;
  border-radius: 8px;
  margin: 1.5rem auto;
}
.reference-box span,
.reference-box strong {
  display: block;
}
.reference-box span {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--muted);
}
.reference-box strong {
  font: 600 1.4rem Georgia;
  margin-top: 0.3rem;
}
.success-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
}
.small-panel {
  width: min(520px, 100%);
}
.small-panel > p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}
.full-button {
  width: 100%;
  margin-top: 1rem;
}
.privacy-note {
  text-align: center;
  font-size: 0.67rem !important;
}
.offline-toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--ink);
  color: white;
  border-radius: 9px;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow);
}
.offline-toast p {
  margin: 0;
}
.offline-toast strong,
.offline-toast small {
  display: block;
}
.offline-toast strong {
  font-size: 0.75rem;
}
.offline-toast small {
  font-size: 0.64rem;
  opacity: 0.7;
  margin-top: 0.15rem;
}
.lite * {
  scroll-behavior: auto !important;
  animation: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
.lite .guide-orbit,
.lite .hero:before {
  display: none;
}
.lite .site-header,
.lite .modal-backdrop {
  backdrop-filter: none;
}
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .menu-button {
    display: block;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 4rem;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-intro {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-guide {
    min-height: 500px;
  }
  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }
  .trust-strip > div:nth-child(2) {
    border-right: 0;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid article {
    min-height: auto;
  }
  .examples-section {
    grid-template-columns: 1fr;
  }
  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
  footer {
    flex-direction: column;
  }
  footer > div:last-child {
    align-items: flex-start;
    flex-direction: column;
  }
  .guide-orbit {
    max-width: 100%;
  }
}
@media (max-width: 560px) {
  .site-header {
    height: 70px;
    padding: 0 0.9rem;
  }
  .brand small {
    display: none;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .brand-mark:before,
  .brand-mark:after {
    width: 27px;
    height: 27px;
  }
  .lite-toggle span:last-child {
    display: none;
  }
  .lite-toggle {
    width: 40px;
    padding: 0;
    justify-content: center;
  }
  .language-control {
    padding: 0 0.55rem;
  }
  .hero {
    display: block;
    min-height: auto;
    padding: 3.2rem 1.1rem;
  }
  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions button {
    width: 100%;
  }
  .hero-guide {
    min-height: 470px;
    margin-top: 2.5rem;
  }
  .guide-card {
    padding: 2.2rem 1.4rem;
    min-height: 430px;
    border-radius: 120px 120px 18px 18px;
  }
  .guide-illustration {
    transform: scale(0.9);
  }
  .note-one {
    left: -8px;
    bottom: 55px;
  }
  .note-two {
    right: -8px;
    top: 72px;
  }
  .floating-note {
    width: 78px;
    height: 78px;
  }
  .trust-strip {
    padding: 0.8rem 1rem;
    grid-template-columns: 1fr;
  }
  .trust-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 0.4rem;
  }
  .trust-strip > div:last-child {
    border: 0;
  }
  .how-section,
  .examples-section {
    padding: 4rem 1.1rem;
  }
  .section-heading {
    display: block;
  }
  .section-heading > span {
    margin-bottom: 1.2rem;
  }
  .steps-grid {
    margin-top: 2.5rem;
  }
  .examples-section {
    gap: 2rem;
  }
  .question-stack article {
    grid-template-columns: 35px 1fr;
  }
  .question-stack small {
    grid-column: 2;
  }
  .cta-section {
    margin: 0;
    padding: 3rem 1.2rem;
  }
  .light-button {
    width: 100%;
  }
  footer {
    padding: 2.5rem 1.1rem;
  }
  .modal {
    padding: 0;
  }
  .modal-panel {
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    padding: 1.2rem;
  }
  .form-footer {
    position: sticky;
    bottom: -1.2rem;
    background: var(--paper);
    padding: 1rem 0 1.2rem;
  }
  .autosave {
    display: none;
  }
  .success-actions {
    flex-direction: column;
  }
  .success-actions > * {
    width: 100%;
  }
  .choice-card {
    padding: 0.85rem;
  }
  .review-card dl div {
    grid-template-columns: 85px 1fr;
  }
}

/* Submission workspace and privacy-first helper UI */
.citizen-workspace {
  padding: clamp(4rem, 7vw, 7rem) clamp(1.1rem, 7vw, 7.5rem);
  background: #fff;
  border-top: 1px solid var(--line);
}
.workspace-heading {
  max-width: 760px;
}
.workspace-heading .section-label {
  color: #c66408;
}
.workspace-heading h2 {
  max-width: 700px;
  margin: 0.6rem 0 1rem;
  font: 500 clamp(2.2rem, 4.8vw, 4.7rem)/0.98 Georgia, serif;
  letter-spacing: -0.045em;
}
.workspace-heading p {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.7;
}
.workspace-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr;
  gap: 1px;
  margin-top: 2.5rem;
  background: var(--line);
  border: 1px solid var(--line);
}
.workspace-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border: 0;
  background: #f8fafc;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s;
}
.workspace-card:hover,
.workspace-card:focus-visible {
  background: #eef4fa;
  transform: translateY(-4px);
  outline: 3px solid rgba(26, 77, 143, 0.18);
  outline-offset: -3px;
}
.workspace-card--primary {
  color: white;
  background: var(--chakra);
}
.workspace-card--primary:hover,
.workspace-card--primary:focus-visible {
  background: #123e78;
}
.workspace-card > span {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  opacity: 0.65;
}
.workspace-card b {
  margin-top: auto;
  font: 500 1.65rem Georgia, serif;
}
.workspace-card small {
  max-width: 280px;
  margin: 0.65rem 0 1.5rem;
  color: inherit;
  font-size: 0.76rem;
  line-height: 1.55;
  opacity: 0.72;
}
.workspace-card i {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 900;
}
.system-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.68rem;
}
.system-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b67a16;
}
.system-status.is-ready i { background: var(--green); }
.authority-results {
  margin-top: -0.6rem;
  border: 1px solid var(--line);
  border-top: 0;
  box-shadow: 0 12px 24px rgba(11, 45, 77, 0.1);
}
.authority-results button {
  width: 100%;
  display: block;
  padding: 0.8rem 0.9rem;
  border: 0;
  border-top: 1px solid var(--line);
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.authority-results button:hover,
.authority-results button:focus-visible { background: #eef4fa; }
.authority-results b,
.authority-results small { display: block; }
.authority-results small { margin-top: 0.15rem; color: var(--muted); font-size: 0.63rem; }
.quality-meter {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #c9d8e5;
  background: #f5f9fd;
}
.quality-meter > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.76rem;
}
.quality-bar { height: 7px; margin-top: 0.65rem; overflow: hidden; background: #dbe5ed; border-radius: 999px; }
.quality-bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--saffron), var(--green)); transition: width 0.3s; }
.quality-meter ul { margin: 0.7rem 0 0; padding-left: 1.1rem; color: var(--muted); font-size: 0.7rem; line-height: 1.5; }
.state-directory-button { display: block; margin-top: 0.8rem; }
.cases-privacy { margin-bottom: 1rem; padding: 0.8rem; background: #eef6ef; color: #285d39; font-size: 0.72rem; }
.case-list { display: grid; gap: 0.75rem; max-height: 52vh; overflow: auto; margin-bottom: 1rem; }
.case-item { padding: 1rem; border: 1px solid var(--line); background: #fff; }
.case-item > div { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.64rem; }
.case-item > div span { color: var(--green); font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; }
.case-item > strong, .case-item > b, .case-item > small { display: block; }
.case-item > strong { margin-top: 0.55rem; font-family: monospace; color: var(--chakra); }
.case-item > b { margin-top: 0.5rem; }
.case-item > p { margin: 0.4rem 0; color: var(--muted); font-size: 0.72rem; line-height: 1.5; }
.case-item > small { color: var(--muted); }
.empty-state { padding: 3rem 1rem; border: 1px dashed var(--line); text-align: center; }
.empty-state span, .empty-state b { display: block; }
.empty-state span { color: var(--chakra); font-size: 2rem; }
.empty-state p { color: var(--muted); font-size: 0.75rem; }
.state-result { margin: 1rem 0; padding: 1rem; border-left: 4px solid var(--saffron); background: #fff7ed; }
.state-result p { margin-bottom: 0; color: var(--muted); font-size: 0.75rem; line-height: 1.5; }
.cases-panel { max-width: 720px; }
@media (max-width: 760px) {
  .citizen-workspace { padding: 3.5rem 1rem; }
  .workspace-grid { grid-template-columns: 1fr; }
  .workspace-card { min-height: 210px; }
  .workspace-card:hover { transform: none; }
}
@media (prefers-contrast: more) {
  :root {
    --line: #6e7874;
    --muted: #3d4e48;
  }
  .primary-button,
  .next-button {
    outline: 2px solid white;
    outline-offset: -4px;
  }
}

/* Mobile-first citizen entry */
[hidden] {
  display: none !important;
}
.language-gate {
  position: fixed;
  inset: 0;
  z-index: 500;
  overflow: auto;
  background:
    radial-gradient(
      circle at 85% 5%,
      rgba(233, 130, 50, 0.18),
      transparent 28%
    ),
    var(--paper);
  padding: 1rem;
}
.language-gate__panel {
  width: min(760px, 100%);
  min-height: calc(100vh - 2rem);
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.6rem);
}
.language-gate__identity {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.language-gate__identity img {
  width: 52px;
  height: auto;
}
.language-gate__identity strong,
.language-gate__identity span {
  display: block;
}
.language-gate__identity strong {
  font:
    600 1.35rem Georgia,
    serif;
}
.language-gate__identity span {
  color: var(--muted);
  font-size: 0.68rem;
  margin-top: 0.2rem;
}
.language-gate__heading {
  text-align: center;
  margin: 1.8rem 0 1.2rem;
}
.language-gate__step {
  color: var(--saffron);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}
.language-gate h1 {
  font:
    600 clamp(2.1rem, 7vw, 3.5rem) / 1.05 Georgia,
    serif;
  letter-spacing: -0.04em;
  margin: 0.45rem 0 0.2rem;
}
.language-gate__heading p {
  color: var(--muted);
  margin: 0;
}
.hear-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  background: var(--white);
  margin-top: 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
}
.language-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}
.language-grid button {
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 0.7rem;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.18s,
    transform 0.18s,
    background 0.18s;
}
.language-grid button:hover,
.language-grid button:focus-visible {
  border-color: var(--green);
  background: #e8efe9;
  transform: translateY(-2px);
  outline: 3px solid rgba(30, 90, 71, 0.15);
}
.language-grid b,
.language-grid small {
  display: block;
}
.language-grid b {
  font-size: 1rem;
}
.language-grid small {
  color: var(--muted);
  font-size: 0.62rem;
  margin-top: 0.2rem;
}
.language-gate__note {
  text-align: center;
  font-size: 0.68rem;
  color: var(--muted);
  margin: 1rem 0 0;
}
.brand-logo {
  width: 92px;
  height: auto;
  object-fit: contain;
}
.brand > span:last-child {
  border-left: 1px solid var(--line);
  padding-left: 0.7rem;
}
.header-prototype {
  margin-left: 0.8rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--saffron);
  border-radius: 999px;
  color: var(--green-dark);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.citizen-actions {
  display: grid;
  gap: 0.65rem;
  max-width: 570px;
  margin-top: 2rem;
}
.citizen-action {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 0.85rem;
  min-height: 70px;
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
.citizen-action:hover,
.citizen-action:focus-visible {
  transform: translateX(4px);
  border-color: var(--green);
  box-shadow: 0 8px 25px rgba(24, 53, 47, 0.1);
}
.citizen-action--primary {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.citizen-action__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 700;
}
.citizen-action--primary .citizen-action__icon {
  color: var(--ink);
  background: var(--saffron);
}
.citizen-action b,
.citizen-action small {
  display: block;
}
.citizen-action b {
  font-size: 0.9rem;
}
.citizen-action small {
  font-size: 0.68rem;
  margin-top: 0.2rem;
  opacity: 0.72;
}
.citizen-action i {
  font-style: normal;
  font-size: 1.15rem;
}
.citizen-visual {
  min-height: 540px;
  display: grid;
  place-items: center;
  position: relative;
}
.citizen-visual__frame {
  width: min(100%, 490px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 48% 48% 18px 18px;
  border: 1px solid rgba(24, 53, 47, 0.16);
  box-shadow: var(--shadow);
  position: relative;
  background: var(--paper-2);
}
.citizen-visual__frame > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.prototype-ribbon {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.55rem;
  border-radius: 6px;
  color: white;
  background: rgba(18, 63, 51, 0.9);
  backdrop-filter: blur(5px);
  text-align: center;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}
.fact-card {
  position: absolute;
  z-index: 2;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--saffron);
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(24, 53, 47, 0.18);
}
.fact-card strong {
  font:
    700 1.45rem Georgia,
    serif;
}
.fact-card span {
  font-size: 0.58rem;
  max-width: 62px;
  text-align: center;
}
.fact-card--fee {
  left: -12px;
  bottom: 105px;
  background: var(--green-dark);
  color: white;
}
.fact-card--reply {
  right: -10px;
  top: 72px;
}
.official-source {
  position: absolute;
  bottom: 8px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(24, 53, 47, 0.13);
}
.official-source img {
  width: 27px;
  height: auto;
}
.official-source b,
.official-source small {
  display: block;
}
.official-source b {
  font-size: 0.66rem;
}
.official-source small {
  color: var(--muted);
  font-size: 0.55rem;
  margin-top: 0.12rem;
}
.data-saver .hero:before,
.data-saver .prototype-ribbon {
  display: none;
}
@media (max-width: 900px) {
  .language-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .language-gate {
    padding: 0;
  }
  .language-gate__panel {
    min-height: 100vh;
    justify-content: flex-start;
    padding: 1rem;
  }
  .language-gate__heading {
    margin: 1.4rem 0 1rem;
  }
  .language-gate h1 {
    font-size: 2.55rem;
  }
  .language-grid {
    grid-template-columns: 1fr 1fr;
  }
  .language-grid button {
    min-height: 62px;
  }
  .brand-logo {
    width: 64px;
  }
  .brand > span:last-child {
    display: block;
    padding-left: 0.45rem;
  }
  .brand strong {
    font-size: 0.94rem;
  }
  .language-control {
    min-width: 78px;
    height: 42px;
    background: var(--white);
  }
  .language-control select {
    width: 56px;
  }
  .menu-button {
    display: block;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding: 2.2rem 1rem 2.8rem;
  }
  .hero-copy {
    width: 100%;
    text-align: left;
  }
  .eyebrow {
    font-size: 0.62rem;
  }
  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.3rem);
    margin: 1rem 0 1.25rem;
  }
  .hero-intro {
    font-size: 1.05rem;
  }
  .citizen-actions {
    margin-top: 1.35rem;
  }
  .citizen-action {
    min-height: 74px;
  }
  .quiet-note {
    text-align: center;
  }
  .citizen-visual {
    width: 100%;
    min-height: auto;
    margin-bottom: 1.8rem;
    padding: 0 0.45rem;
  }
  .header-prototype {
    position: absolute;
    left: 0.9rem;
    top: 54px;
    z-index: 2;
    margin: 0;
    padding: 0.22rem 0.4rem;
    background: var(--paper);
    font-size: 0.42rem;
  }
  .citizen-visual__frame {
    width: 100%;
    border-radius: 22px;
    aspect-ratio: 4 / 3;
  }
  .citizen-visual__frame > img {
    object-position: center 39%;
  }
  .fact-card {
    width: 74px;
    height: 74px;
  }
  .fact-card--fee {
    left: -2px;
    bottom: 52px;
  }
  .fact-card--reply {
    right: -2px;
    top: 20px;
  }
  .official-source {
    left: 1rem;
    right: auto;
    bottom: -18px;
  }
  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }
  .trust-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* Indian civic identity: restrained tricolor + Ashoka navy */
body {
  background: #fff;
}
.topline {
  height: 7px;
  grid-template-columns: 1fr 0.18fr 1fr;
}
.topline i:nth-child(1) {
  background: #ff8c24;
}
.topline i:nth-child(2) {
  background: #fff;
}
.topline i:nth-child(3) {
  background: #138808;
}
.site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: #dce4ea;
  box-shadow: 0 4px 18px rgba(11, 45, 77, 0.05);
}
.header-prototype {
  color: var(--chakra);
  border-color: rgba(26, 77, 143, 0.38);
  background: #f4f8fd;
}
.language-control {
  border-color: #b9c9d8;
  color: var(--chakra);
}
.language-gate {
  background:
    linear-gradient(
      90deg,
      #ff8c24 0 7px,
      transparent 7px calc(100% - 7px),
      #138808 calc(100% - 7px)
    ),
    #fff;
}
.language-gate::before {
  content: "";
  position: fixed;
  width: 420px;
  height: 420px;
  right: -150px;
  top: 80px;
  border: 2px solid rgba(26, 77, 143, 0.055);
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(26, 77, 143, 0.045) 0 1deg,
    transparent 1deg 15deg
  );
  -webkit-mask: radial-gradient(
    circle,
    transparent 0 17%,
    #000 17.5% 18.5%,
    transparent 19% 72%,
    #000 72.5% 73.5%,
    transparent 74%
  );
  mask: radial-gradient(
    circle,
    transparent 0 17%,
    #000 17.5% 18.5%,
    transparent 19% 72%,
    #000 72.5% 73.5%,
    transparent 74%
  );
  pointer-events: none;
}
.language-gate__panel {
  position: relative;
  z-index: 1;
}
.language-gate__identity {
  border-bottom-color: #dce4ea;
}
.language-gate__step {
  color: #c66408;
}
.language-gate h1 {
  color: var(--chakra);
}
.hear-button {
  color: var(--chakra);
  border-color: #b9c9d8;
  background: #fff;
}
.language-grid button {
  border-color: #d4dee7;
  border-left: 4px solid transparent;
  box-shadow: 0 3px 10px rgba(11, 45, 77, 0.035);
}
.language-grid button:nth-child(3n + 1) {
  border-left-color: rgba(255, 140, 36, 0.68);
}
.language-grid button:nth-child(3n + 2) {
  border-left-color: rgba(26, 77, 143, 0.6);
}
.language-grid button:nth-child(3n) {
  border-left-color: rgba(19, 136, 8, 0.58);
}
.language-grid button:hover,
.language-grid button:focus-visible {
  border-color: var(--chakra);
  background: #f3f7fb;
  outline-color: rgba(26, 77, 143, 0.16);
}
.hero {
  background:
    linear-gradient(180deg, rgba(255, 140, 36, 0.035), transparent 24%), #fff;
}
.hero:before {
  background-image:
    linear-gradient(rgba(26, 77, 143, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 77, 143, 0.035) 1px, transparent 1px);
  opacity: 0.45;
}
.hero:after {
  content: "";
  position: absolute;
  width: min(43vw, 580px);
  height: min(43vw, 580px);
  right: 4vw;
  top: 50%;
  transform: translateY(-50%) rotate(-7.5deg);
  border: 2px solid rgba(26, 77, 143, 0.06);
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(26, 77, 143, 0.05) 0 1deg,
    transparent 1deg 15deg
  );
  -webkit-mask: radial-gradient(
    circle,
    transparent 0 17%,
    #000 17.5% 18.5%,
    transparent 19% 74%,
    #000 74.5% 75.5%,
    transparent 76%
  );
  mask: radial-gradient(
    circle,
    transparent 0 17%,
    #000 17.5% 18.5%,
    transparent 19% 74%,
    #000 74.5% 75.5%,
    transparent 76%
  );
  pointer-events: none;
}
.hero-copy,
.citizen-visual {
  z-index: 2;
}
.eyebrow {
  color: var(--chakra);
}
.pulse {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--chakra);
  background: repeating-conic-gradient(
    var(--chakra) 0 2deg,
    transparent 2deg 15deg
  );
  box-shadow: none;
}
h1,
.guide-card h2,
.section-heading h2,
.examples-copy h2,
.cta-section h2 {
  color: var(--ink);
}
h1 em {
  color: var(--green-dark);
}
h1 em:after {
  background: var(--saffron);
  height: 6px;
}
.hero-intro {
  color: #455b6e;
}
.citizen-action--primary {
  background: var(--chakra);
  border-color: var(--chakra);
}
.citizen-action--primary .citizen-action__icon {
  background: var(--saffron);
}
.citizen-action:hover,
.citizen-action:focus-visible {
  border-color: var(--chakra);
  box-shadow: 0 8px 25px rgba(26, 77, 143, 0.11);
}
.citizen-visual__frame {
  border-radius: 24px;
  border: 1px solid #cdd9e2;
  box-shadow: 0 22px 55px rgba(11, 45, 77, 0.15);
}
.citizen-visual__frame::before,
.citizen-visual__frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  height: 6px;
}
.citizen-visual__frame::before {
  top: 0;
  background: #ff8c24;
}
.citizen-visual__frame::after {
  bottom: 0;
  background: #138808;
}
.prototype-ribbon {
  background: rgba(11, 45, 77, 0.92);
}
.fact-card--fee {
  background: var(--chakra);
}
.fact-card--reply {
  background: var(--saffron);
}
.official-source {
  border-color: #cdd9e2;
  box-shadow: 0 8px 22px rgba(11, 45, 77, 0.14);
}
.trust-strip {
  background: #fff;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #ff8c24 0 33%, #fff 33% 66%, #138808 66%)
    1;
}
.trust-strip > div > span {
  color: var(--chakra);
}
.how-section {
  background: #f8fafc;
}
.steps-grid article {
  background: #fff;
}
.step-icon {
  color: var(--chakra);
  background: #eef4fa;
}
.examples-section {
  position: relative;
  background: var(--ink);
  border-top: 8px solid var(--saffron);
  border-bottom: 8px solid var(--green);
}
.examples-section h2,
.examples-section .question-stack p {
  color: #fff;
}
.cta-section {
  color: var(--ink);
  background: #f7a24e;
  border-left: 8px solid var(--chakra);
  border-right: 8px solid var(--green);
}
footer {
  background: #fff;
}
@media (max-width: 560px) {
  .language-gate {
    background:
      linear-gradient(
        90deg,
        #ff8c24 0 5px,
        transparent 5px calc(100% - 5px),
        #138808 calc(100% - 5px)
      ),
      #fff;
  }
  .language-gate::before {
    width: 260px;
    height: 260px;
    right: -115px;
    top: 120px;
  }
  .hero {
    background: #fff;
  }
  .hero:after {
    display: none;
  }
  .hero h1 {
    color: var(--ink);
  }
  .citizen-action--primary {
    background: var(--chakra);
  }
  .citizen-visual__frame {
    border-radius: 18px;
  }
  .header-prototype {
    background: #fff;
  }
}
