:root {
  --ink: #7f7f7f;        /* primary text (Apple dark gray) */
  --muted: #6e6e73;      /* secondary text */
  --line: #e5e5e7;       /* subtle borders */

  --paper: #ffffff;      /* main background */
  --soft: #f5f5f7;       /* cards / sections */

  --brand: #0071e3;      /* Apple blue */
  --brand-dark: #005bb5;

  --accent: #86868b;     /* neutral accent */
  --danger: #ff3b30;

  --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-strong: 0 10px 40px rgba(0, 0, 0, 0.08);
}

h1, h2, h3 {
  font-weight: 600;
  color: black;
}

/* ===== GLOBAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== BODY ===== */
body {
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* ===== TEXT ===== */
h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
}

p {
  color: var(--muted);
}

/* ===== LINKS ===== */
a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

/* ===== CARD ===== */
.card {
  background: var(--soft);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

/* ===== BUTTON ===== */
button {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: var(--brand-dark);
}

/* ===== INPUT ===== */
input {
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 6px;
}

input::placeholder {
  color: var(--muted);
}

/* ===== BORDER / HR ===== */
hr {
  border: 1px solid var(--line);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.topbar {
  background: var(--brand-dark);
  color: #ffffff;
  font-size: 14px;
}

.topbar-inner,
.nav-inner,
.section-inner,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #ffffff;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0;
  animation: markPulse 4s ease-in-out infinite;
}

.brand-name {
  display: block;
  font-weight: 700;
  font-size: 18px;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--brand);
  color: #ffffff;
  text-decoration: none;
  border: 1px solid var(--brand);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn.secondary {
  background: transparent;
  color: var(--brand);
}

.btn:hover {
  box-shadow: 0 12px 28px rgba(15, 107, 95, 0.22);
  transform: translateY(-2px);
}

.hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(196, 138, 44, 0.18), transparent 26%),
    radial-gradient(circle at 10% 86%, rgba(15, 107, 95, 0.16), transparent 30%),
    linear-gradient(90deg, rgba(244, 247, 250, 0.94), rgba(244, 247, 250, 0.78)),
    linear-gradient(135deg, #e8f1ef 0%, #ffffff 46%, #f5ead8 100%);
  border-bottom: 1px solid var(--line);
  background-size: 120% 120%, 120% 120%, auto, auto;
  animation: heroDrift 14s ease-in-out infinite alternate;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
  min-height: 520px;
  padding: 56px 0 48px;
}

.eyebrow {
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  line-height: 1.18;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(34px, 5vw, 56px);
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
}

h3 {
  font-size: 20px;
}

p {
  margin: 0 0 16px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 680px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-points span {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 107, 95, 0.18);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.verification-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: floatPanel 6s ease-in-out infinite;
}

.panel-head {
  background: var(--ink);
  color: #ffffff;
  padding: 18px 20px;
}

.detail-list {
  margin: 0;
}

.detail-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
}

.detail-row dt {
  color: var(--muted);
  font-weight: 700;
}

.detail-row dd {
  margin: 0;
  font-weight: 700;
}

.section {
  padding: 66px 0;
}

.section.soft {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.lift:hover,
.mini-card:hover,
.process-step:hover,
.faq-item:hover {
  border-color: rgba(15, 107, 95, 0.34);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card.tint {
  background: #fdfaf4;
  border-color: #ead9bd;
}

.check-list {
  padding-left: 20px;
  margin: 0;
}

.check-list li {
  margin: 8px 0;
}

.page-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 58px 0;
}

.content {
  max-width: 850px;
}

.stats-strip {
  background: var(--brand-dark);
  color: #ffffff;
  padding: 26px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 18px;
}

.stat strong {
  display: block;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.stat span {
  color: #bfd2cf;
  display: block;
  margin-top: 8px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.mini-card,
.process-step,
.faq-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.mini-icon {
  align-items: center;
  background: #e7f2f0;
  border-radius: 6px;
  color: var(--brand-dark);
  display: inline-flex;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  margin-bottom: 16px;
  width: 42px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-step {
  position: relative;
}

.process-step span {
  align-items: center;
  background: var(--brand);
  border-radius: 50%;
  color: #ffffff;
  display: inline-flex;
  font-weight: 700;
  height: 36px;
  justify-content: center;
  margin-bottom: 16px;
  width: 36px;
}

.band {
  background: linear-gradient(135deg, #f8fbfa 0%, #eef4f1 54%, #fff6e8 100%);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.document-list {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.document-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 16px 18px;
}

.document-list div + div {
  border-top: 1px solid var(--line);
}

.document-list strong {
  color: var(--muted);
}

.document-list span {
  font-weight: 700;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.cta-section {
  background: var(--ink);
  color: #ffffff;
  padding: 54px 0;
}

.cta-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner p {
  color: #c4d1df;
  max-width: 680px;
}

.reveal {
  animation: revealUp 720ms ease both;
}

.delay-1 {
  animation-delay: 120ms;
}

.delay-2 {
  animation-delay: 240ms;
}

.delay-3 {
  animation-delay: 360ms;
}

.verification-panel.reveal {
  animation: revealUp 720ms ease both, floatPanel 6s ease-in-out 900ms infinite;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes heroDrift {
  from {
    background-position: 0% 0%, 100% 100%, center, center;
  }

  to {
    background-position: 6% 4%, 92% 90%, center, center;
  }
}

@keyframes markPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(15, 107, 95, 0.24);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(15, 107, 95, 0);
  }
}

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

.policy h2 {
  margin-top: 32px;
}

.notice {
  border-left: 4px solid var(--accent);
  background: #fff8ec;
  padding: 16px 18px;
  margin: 24px 0;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form {
  display: grid;
  gap: 12px;
}

.form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font: inherit;
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.site-footer {
  background: #111923;
  color: #dce5ef;
  padding: 44px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
}

.site-footer a {
  color: #dce5ef;
  text-decoration: none;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #aab8c6;
  margin-top: 28px;
  padding-top: 18px;
  font-size: 14px;
}

@media (max-width: 850px) {
  .topbar-inner,
  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-grid,
  .split,
  .contact-box,
  .footer-grid,
  .stats-grid,
  .compliance-grid,
  .process-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero-grid {
    min-height: auto;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .document-list div {
    grid-template-columns: 1fr;
  }
}
