:root {
  --navy-950: #07133c;
  --navy-900: #0b1c55;
  --navy-800: #122b70;
  --navy-700: #19428f;
  --blue-100: #eaf2ff;
  --blue-50: #f5f8fd;
  --gold-500: #f6c928;
  --gold-400: #ffda45;
  --ink: #17213c;
  --muted: #5c6780;
  --white: #ffffff;
  --line: #dce4f1;
  --shadow: 0 22px 60px rgba(7, 19, 60, .13);
  --radius: 22px;
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 16px; color: white; background: var(--navy-950); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.service-bar { color: white; background: var(--navy-950); font-size: .8rem; letter-spacing: .02em; }
.service-bar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.service-bar p { margin: 0; }
.service-bar__links { display: flex; gap: 22px; }
.service-bar a { color: #dfe7ff; text-decoration: none; }
.service-bar a:hover { color: var(--gold-400); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(11,28,85,.09); backdrop-filter: blur(14px); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; min-width: 250px; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand span { display: grid; line-height: 1.1; }
.brand strong { color: var(--navy-900); font-size: 1.12rem; letter-spacing: -.02em; }
.brand small { margin-top: 5px; color: var(--muted); font-size: .69rem; text-transform: uppercase; letter-spacing: .085em; }
.primary-nav { display: flex; align-items: center; gap: 5px; }
.primary-nav a { padding: 11px 12px; color: #2e3953; font-weight: 650; font-size: .88rem; text-decoration: none; border-radius: 10px; }
.primary-nav a:hover, .primary-nav .active { color: var(--navy-800); background: var(--blue-100); }
.primary-nav .nav-renew { margin-left: 6px; border: 1px solid var(--navy-800); }
.primary-nav .nav-register { margin-left: 3px; color: var(--navy-950); background: var(--gold-500); }
.primary-nav .nav-register:hover { background: var(--gold-400); }
.menu-button { display: none; border: 0; color: var(--navy-900); background: transparent; }

.hero { position: relative; overflow: hidden; color: white; background: linear-gradient(125deg, var(--navy-950), var(--navy-800)); }
.hero-pattern { position: absolute; inset: 0; opacity: .32; background-image: radial-gradient(circle at 80% 20%, rgba(255,218,69,.32), transparent 22%), linear-gradient(115deg, transparent 0 55%, rgba(255,255,255,.05) 55% 56%, transparent 56% 65%, rgba(255,255,255,.035) 65% 66%, transparent 66%); }
.hero-grid { position: relative; min-height: 630px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 64px; padding-block: 72px 86px; }
.eyebrow, .kicker { margin: 0 0 18px; color: var(--navy-700); font-weight: 800; font-size: .77rem; text-transform: uppercase; letter-spacing: .14em; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #eef3ff; }
.eyebrow span { width: 34px; height: 3px; background: var(--gold-500); }
.hero h1 { max-width: 680px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.25rem, 6vw, 5.5rem); line-height: .99; letter-spacing: -.05em; }
.hero-lead { max-width: 650px; margin: 28px 0 32px; color: #e3eaff; font-size: 1.17rem; line-height: 1.7; }
.hero-actions, .app-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 24px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--gold { color: var(--navy-950); background: var(--gold-500); box-shadow: 0 10px 28px rgba(246,201,40,.22); }
.button--gold:hover { background: var(--gold-400); }
.button--outline { color: white; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.05); }
.button--outline:hover { background: rgba(255,255,255,.12); }
.button--navy { color: white; background: var(--navy-900); }
.button--soft { color: var(--navy-900); background: var(--blue-100); }
.hero-points { display: flex; flex-wrap: wrap; gap: 20px; margin: 34px 0 0; padding: 0; list-style: none; color: #e2e9ff; font-size: .9rem; }
.hero-points span { display: inline-grid; width: 21px; height: 21px; margin-right: 6px; place-items: center; color: var(--navy-950); background: var(--gold-500); border-radius: 50%; font-size: .7rem; font-weight: 900; }
.hero-visual { position: relative; }
.hero-image-card { position: relative; padding: 10px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); border-radius: 30px; box-shadow: 0 34px 80px rgba(0,0,0,.28); transform: rotate(1.5deg); }
.hero-image-card img { width: 100%; border-radius: 22px; }
.hero-image-card .hero-official-logo { position: absolute; z-index: 2; top: 5.2%; left: 7.2%; width: 26%; height: auto; border-radius: 50%; }
.established-card { position: absolute; right: -18px; bottom: -30px; max-width: 245px; padding: 17px 20px; color: var(--navy-950); background: var(--gold-500); border: 6px solid var(--navy-800); border-radius: 18px; box-shadow: var(--shadow); }
.established-card strong, .established-card span { display: block; }
.established-card strong { font-size: .95rem; }
.established-card span { margin-top: 2px; font-size: .77rem; line-height: 1.4; }

.quick-actions { position: relative; z-index: 4; margin-top: -34px; }
.quick-actions__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.quick-card { position: relative; min-height: 150px; display: grid; grid-template-columns: 42px 1fr 20px; align-items: center; gap: 14px; padding: 26px 22px; text-decoration: none; border-right: 1px solid var(--line); transition: background .2s ease; }
.quick-card:last-child { border-right: 0; }
.quick-card:hover { background: var(--blue-50); }
.quick-card--primary { color: white; background: var(--navy-800); }
.quick-card--primary:hover { background: var(--navy-700); }
.quick-card__number { position: absolute; top: 14px; right: 16px; opacity: .3; font-size: .73rem; font-weight: 900; letter-spacing: .08em; }
.quick-card__icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--navy-800); background: var(--blue-100); border-radius: 50%; font-size: 1.3rem; font-weight: 500; }
.quick-card--primary .quick-card__icon { color: var(--navy-950); background: var(--gold-500); }
.quick-card__content { display: grid; line-height: 1.2; }
.quick-card__content strong { font-size: .98rem; }
.quick-card__content small { margin-top: 7px; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.quick-card--primary small { color: #dfe7ff; }
.quick-card__go { color: var(--gold-500); font-size: 2rem; }

.section { padding-block: 100px; }
.intro-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 100px; align-items: start; }
.section-heading h2, .process h2, .app-copy h2, .support h2 { margin: 0; color: var(--navy-950); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.25rem, 4vw, 3.55rem); line-height: 1.12; letter-spacing: -.035em; }
.section-heading--center { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.section-heading--center > p:last-child { max-width: 650px; margin: 18px auto 0; color: var(--muted); }
.intro-copy { color: var(--muted); font-size: 1.04rem; }
.intro-copy p:first-child { margin-top: 3px; color: var(--ink); font-size: 1.16rem; }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--navy-800); font-weight: 800; text-decoration: none; }
.text-link span { color: #c69300; font-size: 1.45rem; }

.membership { background: var(--blue-50); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 34px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 40px rgba(7,19,60,.06); }
.plan--featured { border: 2px solid var(--navy-800); transform: translateY(-12px); }
.plan__flag { position: absolute; top: -16px; right: 24px; padding: 7px 13px; color: var(--navy-950); background: var(--gold-500); border-radius: 999px; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.plan__label { margin: 0 0 7px; color: var(--navy-700); font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.plan h3 { margin: 0; color: var(--navy-950); font-size: 1.25rem; }
.plan__price { margin: 22px 0 18px; color: var(--navy-950); font-size: 2.5rem; line-height: 1; font-weight: 850; letter-spacing: -.04em; }
.plan__price span { margin-right: 3px; font-size: 1.1rem; vertical-align: top; }
.plan ul { flex: 1; margin: 0 0 28px; padding: 0; list-style: none; }
.plan li { position: relative; margin: 10px 0; padding-left: 25px; color: var(--muted); font-size: .91rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--navy-700); font-weight: 900; }
.plan .button { width: 100%; }
.plan > small { display: block; margin-top: 12px; color: #758097; text-align: center; font-size: .73rem; }

.process { color: white; background: var(--navy-950); }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: center; }
.kicker--light { color: var(--gold-400); }
.process h2, .support h2 { color: white; }
.process-copy > p:not(.kicker) { margin: 20px 0 28px; color: #cfd9f8; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 22px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.steps li:last-child { border-bottom: 0; }
.steps li > span { display: grid; width: 48px; height: 48px; place-items: center; color: var(--navy-950); background: var(--gold-500); border-radius: 50%; font-weight: 900; }
.steps strong { display: block; margin-top: 1px; font-size: 1.05rem; }
.steps p { margin: 5px 0 0; color: #cfd9f8; font-size: .9rem; }

.guidance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guidance-grid article { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); }
.guidance-icon { display: grid; width: 50px; height: 50px; place-items: center; color: var(--navy-900); background: var(--gold-500); border-radius: 14px; font-size: 1.35rem; }
.guidance-grid h3 { margin: 22px 0 10px; color: var(--navy-950); font-size: 1.25rem; }
.guidance-grid p { margin: 0 0 15px; color: var(--muted); font-size: .94rem; }
.guidance-grid a { color: var(--navy-700); font-weight: 800; font-size: .86rem; text-decoration: none; }

.app-section { background: linear-gradient(135deg, #eef4ff, #fffbea); }
.app-grid { display: grid; grid-template-columns: 310px 1fr; gap: 70px; align-items: center; }
.app-seal { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--shadow); }
.app-copy > p:not(.kicker) { max-width: 690px; margin: 20px 0 28px; color: var(--muted); font-size: 1.04rem; }

.support { padding-top: 0; background: white; }
.support-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 52px 58px; color: white; background: linear-gradient(125deg, var(--navy-800), var(--navy-950)); border-radius: 28px; box-shadow: var(--shadow); }
.support-card > div { max-width: 760px; }
.support-card p:last-child { margin: 17px 0 0; color: #dbe4ff; }

.site-footer { padding-top: 68px; color: #bdc8e6; background: #050e2d; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr 1.1fr; gap: 54px; padding-bottom: 52px; }
.footer-brand { display: flex; gap: 16px; }
.footer-brand img { width: 68px; height: 68px; }
.footer-brand strong { color: white; font-size: 1.08rem; }
.footer-brand p, .footer-grid > div:last-child p { margin: 8px 0 0; font-size: .84rem; line-height: 1.6; }
.footer-grid h2 { margin: 0 0 14px; color: white; font-family: inherit; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-grid a { display: block; margin: 8px 0; color: #cbd5f1; font-size: .86rem; text-decoration: none; }
.footer-grid a:hover { color: var(--gold-400); }
.footer-bottom { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: .75rem; }

@media (max-width: 1020px) {
  .service-bar__links { display: none; }
  .menu-button { display: grid; width: 48px; height: 48px; padding: 9px; place-items: center; cursor: pointer; }
  .menu-button span { width: 24px; height: 2px; background: var(--navy-900); }
  .menu-button b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .primary-nav { position: absolute; top: 86px; right: 20px; left: 20px; display: none; padding: 16px; background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .primary-nav.open { display: grid; }
  .primary-nav a { padding: 13px 15px; }
  .primary-nav .nav-renew, .primary-nav .nav-register { margin-left: 0; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 680px; }
  .quick-actions { margin-top: 0; }
  .quick-actions__grid { grid-template-columns: repeat(2, 1fr); border-radius: 0 0 20px 20px; }
  .quick-card:nth-child(2) { border-right: 0; }
  .quick-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .intro-grid, .process-grid { grid-template-columns: 1fr; gap: 45px; }
  .plans { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .plan--featured { transform: none; }
  .app-grid { grid-template-columns: 220px 1fr; gap: 46px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --wrap: min(100% - 28px, 1180px); }
  .service-bar__inner { justify-content: center; text-align: center; }
  .header-inner { min-height: 74px; }
  .brand img { width: 49px; height: 49px; }
  .brand strong { font-size: 1rem; }
  .brand small { display: none; }
  .primary-nav { top: 74px; }
  .hero-grid { padding-block: 54px 68px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-points { display: grid; gap: 11px; }
  .established-card { right: -5px; bottom: -36px; }
  .quick-actions__grid { grid-template-columns: 1fr; }
  .quick-card { min-height: 125px; border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-card:nth-child(2) { border-bottom: 1px solid var(--line); }
  .quick-card:last-child { border-bottom: 0; }
  .section { padding-block: 74px; }
  .section-heading--center { text-align: left; }
  .guidance-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .app-seal { max-width: 220px; margin-inline: auto; }
  .support-card { display: grid; padding: 38px 28px; }
  .support-card .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { display: grid; justify-content: start; padding-block: 18px; gap: 0; }
  .footer-bottom p { margin: 2px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
