:root {
  --orange: #ff5a2f;
  --orange-dark: #d83a13;
  --ink: #172033;
  --muted: #5d6677;
  --line: #e5e7eb;
  --soft: #fff6f1;
  --cream: #ffe5d6;
  --white: #fff;
  --max: 1180px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none!important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); line-height: 1.6; }
html.admin-app body { min-height: 100vh; background: var(--surface,#f6f7f9); }
html.admin-app .skip-link,
html.admin-app .site-header,
html.admin-app main,
html.admin-app .site-footer { display: none; }
.admin-app-loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: #f6f7f9; }
.admin-app-loader > div { display: grid; place-items: center; gap: 14px; color: #172033; font-weight: 750; }
.admin-app-loader span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 17px; color: white; background: linear-gradient(135deg,var(--orange),var(--orange-dark)); font-size: 30px; font-weight: 900; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-160%); background: var(--ink); color: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(229,231,235,.9); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 72px; max-width: var(--max); margin: auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 21px; font-weight: 850; letter-spacing: .02em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: white; background: linear-gradient(135deg,var(--orange),var(--orange-dark)); box-shadow: 0 8px 20px rgba(255,90,47,.24); }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.main-nav a { padding: 10px 12px; color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; border-radius: 9px; }
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a[aria-current="page"] { color: var(--orange-dark); background: var(--soft); }
.menu-button { display: none; margin-left: auto; min-height: 44px; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 8px 13px; font-weight: 750; }
.hero { max-width: var(--max); margin: auto; padding: 86px 24px 72px; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(340px,.9fr); gap: 70px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--orange-dark); font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; }
h1 { max-width: 720px; margin: 0; font-size: clamp(44px,7vw,76px); }
h2 { margin: 0 0 16px; font-size: clamp(30px,4vw,46px); }
h3 { margin: 0 0 10px; font-size: 22px; }
.lede { max-width: 690px; margin: 24px 0 30px; color: var(--muted); font-size: 18px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid transparent; border-radius: 12px; font-weight: 800; text-decoration: none; }
.button.primary { color: white; background: var(--orange); box-shadow: 0 12px 28px rgba(255,90,47,.2); }
.button.primary:hover, .button.primary:focus-visible { background: var(--orange-dark); }
.web-app-button { gap: 9px; }
.web-app-button span { font-size: 1.15em; transition: transform .15s ease; }
.web-app-button:hover span, .web-app-button:focus-visible span { transform: translateX(3px); }
.button.secondary { border-color: var(--line); background: white; }
.button.secondary:hover, .button.secondary:focus-visible { border-color: #b7bdc8; background: #f9fafb; }
.store-note { margin-top: 14px; color: var(--muted); font-size: 13px; }
.hero-card { min-height: 470px; padding: 34px; display: grid; place-items: center; border-radius: 34px; background: radial-gradient(circle at 20% 15%,#fff 0 12%,transparent 13%), linear-gradient(145deg,var(--cream),#fff3eb); }
.phone-card { width: min(100%,390px); padding: 24px; border: 1px solid #f2cdbd; border-radius: 24px; background: white; box-shadow: 0 28px 60px rgba(64,34,22,.13); }
.mini-head { display: flex; gap: 11px; align-items: center; margin-bottom: 20px; font-size: 18px; }
.mini-logo { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: white; background: var(--orange); font-weight: 900; }
.order-line { display: grid; grid-template-columns: 34px 1fr; gap: 13px; padding: 16px 0; border-top: 1px solid var(--line); }
.order-line > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--orange-dark); background: var(--soft); font-size: 13px; font-weight: 850; }
.order-line strong, .order-line small { display: block; }
.order-line small { color: var(--muted); margin-top: 3px; }
.secure-row { margin-top: 10px; padding: 12px 14px; color: #215b41; background: #edf9f2; border-radius: 10px; font-size: 12px; font-weight: 750; }
.trust-strip { max-width: var(--max); margin: 0 auto 70px; padding: 22px 24px; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; border: 1px solid var(--line); border-radius: 18px; }
.trust-strip div { padding: 0 18px; border-left: 3px solid var(--orange); }
.trust-strip span, .trust-strip strong { display: block; }
.trust-strip span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.trust-strip strong { margin-top: 4px; font-size: 15px; }
.section { padding: 84px max(24px,calc((100vw - var(--max))/2 + 24px)); }
.section.soft { background: var(--soft); }
.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading > p:last-child { color: var(--muted); font-size: 17px; }
.card-grid { display: grid; gap: 18px; }
.card-grid.three { grid-template-columns: repeat(3,1fr); }
.info-card, .policy-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.info-card p, .policy-card p { color: var(--muted); }
.card-number { display: block; margin-bottom: 30px; color: var(--orange); font-weight: 850; }
.policy-card { text-decoration: none; transition: transform .15s ease,box-shadow .15s ease; }
.policy-card:hover, .policy-card:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(23,32,51,.09); }
.policy-card span, .text-link { color: var(--orange-dark); font-weight: 800; }
.split { max-width: var(--max); margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.split p { color: var(--muted); }
.check-list { padding: 28px; border-radius: 20px; background: white; box-shadow: 0 18px 46px rgba(81,49,35,.08); }
.check-list p { position: relative; margin: 0; padding: 13px 0 13px 34px; border-bottom: 1px solid var(--line); color: var(--ink); }
.check-list p:last-child { border-bottom: 0; }
.check-list p::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.cta { max-width: var(--max); margin: 40px auto 80px; padding: 48px; display: flex; align-items: end; justify-content: space-between; gap: 30px; border-radius: 26px; background: var(--ink); color: white; }
.cta p:not(.eyebrow) { max-width: 650px; margin-bottom: 0; color: #c9cfda; }
.cta .button.secondary { color: white; border-color: #536078; background: transparent; }
.site-footer { padding: 58px max(24px,calc((100vw - var(--max))/2 + 24px)) 24px; color: #d4d8e0; background: #111827; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 38px; }
.brand.light { color: white; }
.footer-grid h2 { margin: 0 0 12px; color: white; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.footer-grid p { font-size: 14px; }
.footer-grid a { color: #f1f3f6; text-decoration: none; }
.footer-grid a:hover, .footer-grid a:focus-visible { text-decoration: underline; }
.footer-bottom { margin-top: 38px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #2a3447; color: #9ba4b4; font-size: 12px; }
.footer-bottom a { color: #cfd4dd; }
.page-hero { padding: 74px max(24px,calc((100vw - 860px))/2 + 24px) 46px; background: linear-gradient(180deg,var(--soft),white); }
.page-hero h1 { font-size: clamp(40px,6vw,64px); }
.page-hero .lede { margin-bottom: 0; }
.prose { max-width: 860px; margin: auto; padding: 42px 24px 86px; }
.prose h2 { margin-top: 48px; font-size: 28px; }
.prose h3 { margin-top: 28px; font-size: 19px; }
.prose p, .prose li { color: #465064; }
.prose a { color: var(--orange-dark); font-weight: 700; }
.prose .notice { margin: 26px 0; padding: 20px; border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 34px 0; }
.contact-card { padding: 22px; border: 1px solid var(--line); border-radius: 14px; }
.contact-card span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.contact-card a, .contact-card strong { display: block; margin-top: 8px; overflow-wrap: anywhere; }
.policy-meta { color: var(--muted); font-size: 13px; }
.partner-layout { max-width: var(--max); margin: auto; padding: 48px 24px 90px; display: grid; grid-template-columns: minmax(260px,.7fr) minmax(0,1.3fr); gap: 42px; align-items: start; }
.partner-guide { position: sticky; top: 104px; padding: 26px; border-radius: 18px; background: var(--soft); }
.partner-guide h2 { font-size: 26px; }
.partner-guide li { margin-bottom: 10px; }
.partner-guide .notice { margin: 24px 0; padding: 16px; border-left: 4px solid var(--orange); background: white; }
.partner-panel { padding: 28px; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 42px rgba(23,32,51,.07); }
.partner-panel form { display: grid; gap: 18px; }
.partner-panel label { display: grid; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 750; }
.partner-panel input, .partner-panel textarea { width: 100%; box-sizing: border-box; padding: 12px 13px; border: 1px solid #cbd0d9; border-radius: 10px; color: var(--ink); background: white; font: inherit; }
.partner-panel input:focus, .partner-panel textarea:focus { outline: 3px solid rgba(255,90,47,.16); border-color: var(--orange); }
.partner-panel fieldset { display: grid; gap: 14px; margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.partner-panel legend { padding: 0 8px; font-size: 18px; font-weight: 850; }
.optional-label { color: var(--muted); font-size: 13px; font-weight: 650; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-tabs button, .text-button { min-height: 44px; border: 0; color: var(--muted); background: transparent; font-weight: 800; cursor: pointer; }
.form-tabs button.active { color: var(--orange-dark); border-bottom: 3px solid var(--orange); }
.form-message { min-height: 24px; margin-bottom: 12px; color: #215b41; font-weight: 700; }
.form-message.error { color: #b42318; }
.application-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.application-head h2 { font-size: 30px; }
.application-head > div:last-child { display: flex; align-items: center; gap: 8px; }
.status-pill { display: inline-flex; padding: 5px 10px; border-radius: 999px; color: #864000; background: #fff1cf; font-size: 12px; font-weight: 850; }
.field-help { margin: 0; color: var(--muted); font-size: 13px; }
.check-field { display: flex!important; grid-template-columns: auto 1fr; align-items: center; justify-content: start; }
.check-field input { width: auto; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; }
.partner-panel button:disabled, .partner-panel input:disabled, .partner-panel textarea:disabled { cursor: not-allowed; opacity: .6; }
@media (max-width: 860px) {
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 72px; left: 16px; right: 16px; display: none; padding: 12px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 20px 44px rgba(23,32,51,.14); }
  .main-nav.open { display: flex; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-top: 58px; }
  .hero-card { min-height: 380px; }
  .trust-strip, .card-grid.three, .split, .footer-grid { grid-template-columns: 1fr; }
  .trust-strip { margin-left: 24px; margin-right: 24px; }
  .cta { margin-left: 24px; margin-right: 24px; align-items: stretch; flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .partner-layout { grid-template-columns: 1fr; }
  .partner-guide { position: static; }
}
@media (max-width: 520px) {
  .nav-wrap { padding: 0 16px; }
  .hero, .section { padding-left: 18px; padding-right: 18px; }
  .hero { padding-top: 42px; }
  .hero-card { min-height: 0; padding: 18px; }
  .trust-strip { margin-left: 18px; margin-right: 18px; padding: 18px; }
  .trust-strip div { padding-right: 0; }
  .cta { margin: 20px 18px 60px; padding: 30px 22px; }
  .button-row, .button { width: 100%; }
  .footer-bottom { flex-direction: column; }
  .partner-panel { padding: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .application-head, .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms!important; transition-duration: .01ms!important; }
}
