:root {
  --ink: #12252d;
  --muted: #63747b;
  --paper: #f4f7f4;
  --white: #ffffff;
  --ice: #d9edf0;
  --teal: #0b6670;
  --teal-dark: #07464e;
  --coral: #ee765d;
  --line: rgba(18, 37, 45, 0.12);
  --shadow: 0 24px 70px rgba(24, 63, 68, 0.13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.aurora { position: absolute; z-index: -1; border-radius: 50%; filter: blur(4px); pointer-events: none; }
.aurora-one { width: 42rem; height: 42rem; right: -14rem; top: -18rem; background: radial-gradient(circle, rgba(108, 194, 199, .45), rgba(108, 194, 199, 0) 70%); }
.aurora-two { width: 28rem; height: 28rem; left: -16rem; top: 36rem; background: radial-gradient(circle, rgba(238, 118, 93, .18), rgba(238, 118, 93, 0) 70%); }
.site-header { width: min(1180px, calc(100% - 40px)); height: 96px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .14em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50% 50% 48% 52%; background: var(--teal); color: white; font: italic 700 23px Georgia, serif; transform: rotate(-7deg); }
.brand b, .brand small { display: block; line-height: 1.1; }
.brand b { font-size: 14px; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 9px; letter-spacing: .3em; }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
.main-nav a { padding: 10px 0; }
.main-nav a:hover { color: var(--teal); }
.main-nav .nav-cabinet { padding: 11px 18px; border: 1px solid var(--ink); border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); }
.hero { width: min(1180px, calc(100% - 40px)); min-height: 690px; margin: 0 auto; padding: 76px 0 100px; display: grid; grid-template-columns: 1.08fr .82fr; gap: 90px; align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .22em; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 28px; font: 500 clamp(48px, 6vw, 78px)/1.02 Georgia, serif; letter-spacing: -.045em; }
.hero h1 em { color: var(--teal); font-weight: 400; }
.hero-text { max-width: 620px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 50px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 0 23px; border-radius: 6px; font-weight: 700; font-size: 14px; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal); color: white; box-shadow: 0 12px 30px rgba(11, 102, 112, .22); }
.button-primary:hover { background: var(--teal-dark); }
.button-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.52); }
.hero-stats { display: flex; gap: 38px; margin: 0; }
.hero-stats div { padding-right: 30px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border: 0; }
.hero-stats dt { font: 600 20px Georgia, serif; }
.hero-stats dd { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.route-card { position: relative; padding: 34px; border: 1px solid rgba(255,255,255,.72); border-radius: 22px; background: rgba(255,255,255,.82); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.route-card::before { content: ""; position: absolute; inset: -12px 34px auto; height: 12px; border-radius: 12px 12px 0 0; background: rgba(255,255,255,.45); }
.route-topline, .progress-label { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.status-pill { padding: 5px 9px; border-radius: 999px; background: #fff2df; color: #9a5a10; font-size: 10px; }
.route-card h2 { margin: 24px 0 30px; font: 500 32px Georgia, serif; }
.progress { height: 8px; margin: 10px 0 30px; border-radius: 10px; background: var(--ice); overflow: hidden; }
.progress span { display: block; width: 64%; height: 100%; background: linear-gradient(90deg, var(--teal), #54aeb1); border-radius: inherit; }
.mini-timeline { margin: 0; padding: 0; list-style: none; }
.mini-timeline li { display: flex; gap: 14px; position: relative; padding: 0 0 25px; color: var(--muted); }
.mini-timeline li::before { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 1px; background: var(--line); }
.mini-timeline li:last-child::before { display: none; }
.mini-timeline li > span { flex: 0 0 29px; height: 29px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 11px; }
.mini-timeline .complete > span { background: var(--teal); border-color: var(--teal); color: white; }
.mini-timeline .active > span { border-color: var(--coral); color: var(--coral); }
.mini-timeline b, .mini-timeline small { display: block; }
.mini-timeline b { color: var(--ink); font-size: 14px; }
.mini-timeline small { margin-top: 2px; }
.card-link { display: flex; justify-content: space-between; padding-top: 21px; border-top: 1px solid var(--line); color: var(--teal); font-weight: 700; font-size: 14px; }
.section-block, .faq-section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 110px 0; }
.section-heading { max-width: 680px; margin-bottom: 46px; }
.section-heading h2, .process-copy h2 { margin-bottom: 17px; font: 500 clamp(36px, 4vw, 54px)/1.08 Georgia, serif; letter-spacing: -.035em; }
.section-heading > p:last-child, .process-copy > p { color: var(--muted); font-size: 17px; }
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { min-height: 300px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.5); transition: transform .25s, background .25s, box-shadow .25s; }
.info-card:hover { transform: translateY(-6px); background: white; box-shadow: var(--shadow); }
.card-number { color: var(--coral); font: italic 18px Georgia, serif; }
.info-card h3 { margin: 44px 0 14px; font: 500 26px Georgia, serif; }
.info-card p { color: var(--muted); }
.info-card a { margin-top: auto; color: var(--teal); font-size: 13px; font-weight: 700; }
.process-section { margin: 60px 0; padding: 110px max(20px, calc((100vw - 1180px)/2)); display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; color: white; background: var(--teal-dark); }
.process-section .eyebrow { color: #8ed2d3; }
.process-copy > p { color: rgba(255,255,255,.66); }
.text-link { color: var(--teal); font-weight: 700; font-size: 14px; }
.process-section .text-link { color: white; }
.steps { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.steps div { min-height: 140px; padding: 24px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.steps b { display: block; margin-bottom: 30px; color: #8ed2d3; font: italic 17px Georgia, serif; }
.steps span { font-size: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { padding: 24px 4px; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; font: 500 21px Georgia, serif; }
.faq-list summary::after { content: "+"; float: right; color: var(--teal); font: 24px sans-serif; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { max-width: 750px; margin: 18px 0 0; color: var(--muted); }
footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 45px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-brand { color: var(--ink); }
.reveal { animation: reveal .7s both cubic-bezier(.2,.7,.2,1); }
.delay-one { animation-delay: .12s; }
.delay-two { animation-delay: .24s; }
@keyframes reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.cabinet-page { background: #eef3f1; }
.cabinet-header { width: 100%; height: 82px; padding: 0 32px; background: white; border-bottom: 1px solid var(--line); }
.profile-chip { display: flex; align-items: center; gap: 10px; }
.profile-chip > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-size: 11px; }
.profile-chip b, .profile-chip small { display: block; }
.profile-chip b { font-size: 12px; }
.profile-chip small { color: var(--muted); font-size: 10px; }
.dashboard { min-height: calc(100vh - 82px); display: grid; grid-template-columns: 230px 1fr; }
.dashboard-nav { padding: 38px 24px; background: var(--teal-dark); color: rgba(255,255,255,.72); }
.nav-label { margin: 0 12px 18px; color: #79b9bd; font-size: 10px; letter-spacing: .18em; }
.dashboard-nav a { display: flex; justify-content: space-between; margin: 4px 0; padding: 11px 12px; border-radius: 5px; font-size: 13px; }
.dashboard-nav a.active, .dashboard-nav a:hover { color: white; background: rgba(255,255,255,.09); }
.dashboard-nav a span { min-width: 20px; text-align: center; border-radius: 10px; background: var(--coral); color: white; }
.dashboard-nav .back-link { margin-top: 50px; }
.dashboard-content { width: min(1000px, calc(100% - 64px)); margin: 0 auto; padding: 52px 0 90px; }
.dashboard-title { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
.dashboard-title h1 { margin-bottom: 8px; font: 500 38px Georgia, serif; }
.dashboard-title p:last-child { color: var(--muted); }
.updated { padding: 8px 11px; border-radius: 4px; color: var(--teal); background: var(--ice); font-size: 11px; }
.dashboard-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.dash-card { padding: 26px; border: 1px solid var(--line); border-radius: 9px; background: white; box-shadow: 0 8px 26px rgba(20,55,58,.05); }
.card-kicker { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.card-heading, .document-header { display: flex; justify-content: space-between; align-items: flex-start; }
.progress-card h2 { margin: 7px 0 0; font: 500 46px Georgia, serif; }
.progress-card p { max-width: 440px; color: var(--muted); font-size: 13px; }
.ring { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--teal) 64%, var(--ice) 0); }
.ring::before { content: ""; position: absolute; width: 58px; height: 58px; border-radius: 50%; background: white; }
.ring span { position: relative; font: 500 18px Georgia, serif; }
.ring span::after { content: "%"; font-size: 9px; }
.dash-card h3 { margin: 13px 0 18px; font: 500 24px Georgia, serif; }
.route-details { margin: 0 0 22px; }
.route-details div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.route-details dt { color: var(--muted); }
.route-details dd { margin: 0; font-weight: 700; }
.document-card { margin-top: 18px; }
.counter { padding: 6px 9px; border-radius: 4px; background: var(--ice); color: var(--teal); font-size: 11px; }
.document-list { margin: 8px 0 0; padding: 0; list-style: none; }
.document-list li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 15px 0; border-top: 1px solid var(--line); }
.check { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: 11px; }
.document-list .done .check { border-color: var(--teal); background: var(--teal); color: white; }
.document-list b, .document-list small { display: block; }
.document-list b { font-size: 13px; }
.document-list small { color: var(--muted); font-size: 11px; }
.document-list em { color: var(--teal); font-size: 11px; font-style: normal; }
.document-list button { padding: 7px 11px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--teal); font-size: 11px; cursor: pointer; }
.lower-grid { margin-top: 18px; }
.date-box { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.date-box b { color: var(--teal); font: 500 26px Georgia, serif; }
.date-box span { color: var(--muted); font-size: 11px; }
.note-card { background: #fff8ed; }
.note-card blockquote { margin: 18px 0; padding: 0; font: italic 19px/1.45 Georgia, serif; }
.note-card small { color: var(--muted); }

@media (max-width: 850px) {
  .site-header { height: 78px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 70px; padding: 18px; flex-direction: column; align-items: stretch; gap: 5px; border-radius: 8px; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav .nav-cabinet { text-align: center; }
  .hero { padding-top: 45px; grid-template-columns: 1fr; gap: 55px; }
  .route-grid, .process-section, .dashboard-grid { grid-template-columns: 1fr; }
  .process-section { gap: 50px; }
  footer { align-items: flex-start; flex-direction: column; }
  .dashboard { grid-template-columns: 1fr; }
  .dashboard-nav { display: flex; overflow-x: auto; padding: 10px 16px; }
  .dashboard-nav .nav-label, .dashboard-nav .back-link { display: none; }
  .dashboard-nav a { white-space: nowrap; }
  .dashboard-content { width: min(100% - 30px, 700px); padding-top: 32px; }
}
@media (max-width: 540px) {
  .site-header, .hero, .section-block, .faq-section, footer { width: min(100% - 28px, 1180px); }
  .hero h1 { font-size: 44px; }
  .hero-stats { gap: 14px; }
  .hero-stats div { padding-right: 14px; }
  .route-card { padding: 24px; }
  .process-section { padding: 75px 18px; }
  .steps { grid-template-columns: 1fr; }
  .cabinet-header { padding: 0 15px; }
  .profile-chip div { display: none; }
  .dashboard-title { flex-direction: column; gap: 12px; }
  .dashboard-title h1 { font-size: 31px; }
  .document-list li { grid-template-columns: 31px 1fr; }
  .document-list li > :last-child { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
