@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Marcellus&display=swap');

:root {
  --ink: #0d151c;
  --ink-soft: #14202a;
  --parchment: #e9e6de;
  --paper: #f3f0e9;
  --gold: #d0b47f;
  --gold-dark: #9c7c45;
  --line-dark: rgba(232, 230, 221, .19);
  --line-light: rgba(21, 32, 39, .18);
  --body-font: 'DM Sans', Arial, sans-serif;
  --display-font: 'Marcellus', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--parchment); font: 400 16px/1.65 var(--body-font); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.skip-link { position: absolute; z-index: 30; left: 12px; top: -60px; padding: 8px 14px; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: 12px; }
.shell { width: min(100% - 92px, 1330px); margin: 0 auto; }
.section-pad { padding: clamp(90px, 11vw, 158px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 18px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .23em; line-height: 1.3; text-transform: uppercase; }
.eyebrow-dark { color: var(--gold-dark); }
.eyebrow-line { width: 27px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display-font); font-weight: 400; }
h1 em, h2 em { color: var(--gold); font-style: normal; }

.site-header { position: absolute; z-index: 10; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 100px; padding: 0 max(46px, calc((100vw - 1330px)/2)); border-bottom: 1px solid rgba(255,255,255,.15); }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font: 22px/1 var(--display-font); }
.brand-name, .footer-brand { font: 31px/1 var(--display-font); letter-spacing: -.05em; }
.brand-dot, .footer-brand span { color: var(--gold); }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 46px); }
.site-nav a { color: #e6e6e2; font-size: 13px; letter-spacing: .02em; text-decoration: none; transition: color .2s; }
.site-nav a:hover, .text-link:hover { color: var(--gold); }
.header-action { border: 1px solid rgba(240,234,222,.45); padding: 10px 18px; font-size: 12px; letter-spacing: .07em; text-decoration: none; white-space: nowrap; transition: background .2s, border-color .2s; }
.header-action:hover { background: rgba(255,255,255,.1); border-color: var(--gold); }

.hero { position: relative; min-height: 780px; height: min(900px, 100svh); display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: #111c25; }
.hero-image { position: absolute; inset: 0; background: url('assets/maxis-hero.png') center center / cover no-repeat; opacity: .84; }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,16,23,.96) 0%, rgba(8,16,23,.83) 29%, rgba(8,16,23,.44) 58%, rgba(8,16,23,.15) 100%), linear-gradient(0deg, rgba(8,16,23,.58), transparent 28%, transparent 72%, rgba(8,16,23,.25)); }
.hero-content { position: relative; z-index: 1; padding-top: 86px; }
.hero h1 { max-width: 800px; margin: 30px 0 28px; font-size: clamp(58px, 6.5vw, 108px); line-height: 1.03; letter-spacing: -.045em; }
.hero-lead { max-width: 495px; color: #dadbd6; font-size: 17px; line-height: 1.78; }
.hero-actions { display: flex; align-items: center; gap: 35px; margin-top: 38px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 56px; padding: 0 25px; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-decoration: none; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #15202a; }
.button-primary:hover { background: #e2c99b; }
.button-outline { border: 1px solid rgba(240,234,222,.5); color: var(--parchment); }
.button-outline:hover { background: rgba(255,255,255,.08); }
.text-link { text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .03em; transition: color .2s; }
.text-link span { margin-left: 8px; color: var(--gold); }
.hero-bottom { position: absolute; z-index: 1; bottom: 39px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; color: #c6cbd0; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hero-caption { display: flex; align-items: center; gap: 13px; }
.caption-rule { display: inline-block; width: 36px; height: 1px; background: var(--gold); }
.hero-scroll span { margin-left: 15px; color: var(--gold); font-size: 17px; }

.intro-section { background: var(--paper); color: var(--ink); }
.intro-grid { display: grid; grid-template-columns: 23% 1fr; gap: 6%; }
.section-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.vertical-line { width: 1px; height: 135px; margin-left: 1px; background: var(--line-light); }
.intro-main h2, .rates-heading h2, .journey-head h2, .start-section h2 { font-size: clamp(45px, 5vw, 78px); line-height: 1.13; letter-spacing: -.045em; }
.intro-main h2 { margin-bottom: 65px; }
.intro-main h2 em, .journey-head h2 em { color: var(--gold-dark); }
.intro-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; border-top: 1px solid var(--line-light); padding-top: 27px; }
.intro-bottom p { max-width: 570px; margin: 0; color: #48545b; font-size: 17px; line-height: 1.8; }
.intro-seal { width: 94px; height: 94px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #b39a6c; border-radius: 50%; color: var(--gold-dark); transform: rotate(-10deg); flex-shrink: 0; }
.intro-seal span { font: 37px/1 var(--display-font); }
.intro-seal small { font-size: 8px; letter-spacing: .12em; }

.rates-section { background: #14212c; }
.rates-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 11%; }
.rates-heading h2 { margin: 26px 0 24px; }
.rates-heading p { max-width: 390px; margin: 0; color: #aebbc4; font-size: 16px; line-height: 1.8; }
.rates-table { border-top: 1px solid var(--line-dark); }
.rates-row { display: flex; align-items: center; justify-content: space-between; min-height: 76px; border-bottom: 1px solid var(--line-dark); }
.rates-row span { color: #d6dce0; font-size: 16px; }
.rates-row strong { color: var(--gold); font: 32px/1 var(--display-font); }
.rates-footnote { margin-top: 18px; color: #a2b0b9; font-size: 13px; text-align: right; }

.journey-section { background: var(--paper); color: var(--ink); }
.journey-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 59px; }
.journey-head h2 { width: 65%; margin: 0; }
.journey-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.journey-card { position: relative; min-height: 325px; padding: 25px 36px 35px 0; }
.journey-card + .journey-card { padding-left: 36px; border-left: 1px solid var(--line-light); }
.card-index { color: var(--gold-dark); font: 24px/1 var(--display-font); }
.card-symbol { position: absolute; right: 30px; top: 13px; color: #b5a079; font: 39px/1 var(--display-font); }
.journey-card h3 { margin: 99px 0 12px; font-size: 28px; letter-spacing: -.025em; }
.journey-card p { max-width: 275px; margin: 0; color: #59636a; font-size: 15px; line-height: 1.7; }

.start-section { background: #101a22; }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
.start-section h2 { margin: 25px 0 0; }
.start-content { padding-top: 47px; }
.start-content > p:first-child { max-width: 540px; color: #c5cdd1; font-size: 17px; line-height: 1.8; }
.status-list { margin: 36px 0 26px; border-top: 1px solid var(--line-dark); }
.status-list div { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line-dark); font-size: 14px; }
.status-list span { color: #d7dce0; }
.status-list strong { color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-align: right; }
.start-note { max-width: 440px; color: #8f9fa9; font-size: 13px; line-height: 1.7; }
.start-note a { color: var(--gold); }
.start-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.start-links .button { min-width: 174px; }

.register-page { min-height: 100svh; }
.register-main { min-height: calc(100svh - 112px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 470px); align-items: center; gap: 9%; padding-top: 170px; padding-bottom: 100px; }
.register-intro h1 { margin: 24px 0 20px; font-size: clamp(56px, 6vw, 88px); line-height: 1.05; letter-spacing: -.04em; }
.register-intro p { max-width: 450px; margin-bottom: 32px; color: #b6c1c6; }
.register-card { padding: clamp(30px, 4vw, 56px); border: 1px solid var(--line-dark); background: #14212b; }
.register-card form { display: grid; gap: 9px; margin-top: 32px; }
.register-card label { margin-top: 10px; color: #dce0de; font-size: 13px; font-weight: 700; }
.register-card input { width: 100%; height: 50px; padding: 0 14px; border: 1px solid rgba(232,230,221,.3); border-radius: 0; background: #0d151c; color: var(--paper); font: inherit; }
.register-card input:focus { outline: 1px solid var(--gold); border-color: var(--gold); }
.register-card .button { width: 100%; margin-top: 8px; border: 0; cursor: pointer; font-family: var(--body-font); }
.form-hint { margin: 9px 0; color: #92a1a8; font-size: 12px; line-height: 1.6; }
.form-message { margin: 24px 0 0; padding: 12px 14px; border: 1px solid; font-size: 13px; }
.form-error { border-color: #aa7770; color: #e3aaa1; }
.form-success { border-color: var(--gold); color: var(--gold); }
.site-footer { border-top: 1px solid var(--line-dark); background: #0d151c; }
.footer-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { text-decoration: none; }
.footer-inner > span { color: #778a95; font-size: 11px; font-weight: 600; letter-spacing: .14em; }

@media (max-width: 900px) {
  .register-main { grid-template-columns: 1fr; gap: 44px; padding-top: 154px; }
  .register-intro h1 { font-size: clamp(56px, 9vw, 76px); }
  .shell { width: min(100% - 54px, 1330px); }
  .site-header { height: 86px; padding: 0 27px; }
  .header-action { display: none; }
  .site-nav { gap: 22px; }
  .hero { min-height: 700px; }
  .hero h1 { font-size: clamp(60px, 9vw, 85px); }
  .intro-grid { grid-template-columns: 1fr; gap: 26px; }
  .section-aside { display: block; }
  .vertical-line { display: none; }
  .rates-grid, .start-grid { gap: 7%; }
  .journey-card { padding-right: 20px; }
  .journey-card + .journey-card { padding-left: 20px; }
}

@media (max-width: 650px) {
  .register-main { padding-top: 128px; padding-bottom: 70px; }
  .register-card { padding: 27px 22px; }
  .register-intro h1 { font-size: 54px; }
  .start-links .button { width: 100%; }
  .shell { width: min(100% - 36px, 1330px); }
  .section-pad { padding: 86px 0; }
  .site-header { height: 74px; padding: 0 18px; }
  .brand-mark { width: 28px; height: 28px; font-size: 18px; }
  .brand-name { font-size: 27px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 11px; }
  .site-nav a:first-child { display: none; }
  .hero { min-height: 700px; height: 91svh; max-height: 820px; }
  .hero-image { background-position: 62% center; opacity: .68; }
  .hero-wash { background: linear-gradient(90deg, rgba(8,16,23,.9), rgba(8,16,23,.52)), linear-gradient(0deg, rgba(8,16,23,.82), transparent 45%, rgba(8,16,23,.4)); }
  .hero-content { padding-top: 52px; }
  .hero h1 { margin: 26px 0 22px; font-size: clamp(52px, 11vw, 73px); }
  .hero-lead { font-size: 15px; line-height: 1.75; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; margin-top: 30px; }
  .button { min-height: 51px; }
  .hero-bottom { bottom: 23px; }
  .hero-scroll { display: none; }
  .intro-main h2, .rates-heading h2, .journey-head h2, .start-section h2 { font-size: clamp(42px, 9vw, 58px); }
  .intro-main h2 { margin-bottom: 36px; }
  .intro-bottom { align-items: flex-start; }
  .intro-bottom p { font-size: 16px; }
  .intro-seal { display: none; }
  .rates-grid, .start-grid { grid-template-columns: 1fr; gap: 50px; }
  .rates-row { min-height: 68px; }
  .journey-head { display: block; margin-bottom: 43px; }
  .journey-head h2 { width: 100%; margin-top: 23px; }
  .journey-grid { display: block; }
  .journey-card { min-height: 205px; padding: 22px 20px 25px 0; }
  .journey-card + .journey-card { padding-left: 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .journey-card h3 { margin: 40px 0 6px; font-size: 26px; }
  .journey-card p { max-width: 100%; }
  .start-content { padding-top: 0; }
  .footer-inner { flex-wrap: wrap; justify-content: space-between; padding: 27px 0; }
  .footer-inner > span:nth-child(2) { width: 100%; order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .site-nav a, .header-action, .text-link { transition: none; }
}
