/* ==========================================================================
   Orvane — premium redesign
   Sora for headings/UI, Inter for body. Royal-blue brand, soft off-white bands,
   layered shadows, rounded cards, gentle motion.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --blue: #0A4CF5;
  --blue-dark: #0435C2;
  --blue-deep: #06288F;
  --blue-soft: #EAF0FE;
  --band: #F7F9FE;
  --card: #F3F7FF;
  --ink: #101828;
  --ink-soft: #344054;
  --text: #5B6474;
  --line: #E5EAF3;
  --white: #FFFFFF;
  --green: #12A150;
  --red: #D92D42;
  --gold: #FFC94D;
  --container: 1180px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-btn: 999px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 14px rgba(16, 24, 40, .05);
  --shadow-md: 0 4px 10px rgba(16, 24, 40, .05), 0 18px 40px rgba(16, 24, 40, .08);
  --shadow-lg: 0 8px 20px rgba(6, 40, 143, .10), 0 30px 70px rgba(6, 40, 143, .18);
  --ff-head: 'Sora', 'Segoe UI', Arial, sans-serif;
  --ff-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --header-h: 84px;
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--ink); margin: 0 0 .6em; line-height: 1.22; letter-spacing: -.015em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(10, 76, 245, .18); }
:focus-visible { outline: 3px solid #9DB9FF; outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-head); font-weight: 600; border: 0; border-radius: var(--radius-btn);
  transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn svg { width: 15px; height: 15px; flex: none; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn-white {
  background: var(--white); color: var(--blue);
  box-shadow: 0 6px 18px rgba(4, 20, 80, .18);
}
.btn-white:hover { background: #EDF2FF; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(4, 20, 80, .24); }
.btn-blue {
  background: linear-gradient(135deg, #1A62FF 0%, var(--blue) 55%, var(--blue-dark) 100%);
  color: var(--white); padding: 14px 34px; font-size: 15px;
  box-shadow: 0 8px 22px rgba(10, 76, 245, .32);
}
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(10, 76, 245, .42); }
.btn-hero { font-weight: 600; font-size: 16px; padding: 16px 42px; }

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(10, 76, 245, .985), rgba(6, 47, 176, .985));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 34px rgba(4, 24, 92, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { color: var(--white); }
.logo img { width: 140px; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; align-items: stretch; gap: 4px; height: var(--header-h); }
.nav-list li { display: flex; }
.nav-list a {
  position: relative; display: flex; align-items: center; padding: 0 14px;
  font-family: var(--ff-head); font-size: 13.5px; font-weight: 500;
  letter-spacing: .4px; text-transform: uppercase; color: rgba(255,255,255,.88);
  transition: color .2s ease;
}
.nav-list a:hover { color: var(--white); }
.nav-list a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }
.nav-list a.active { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.btn-login {
  font-family: var(--ff-head); font-size: 13.5px; font-weight: 600; letter-spacing: .4px;
  text-transform: uppercase; color: var(--white); padding: 12px 22px;
  border: 1px solid rgba(255,255,255,.45); border-radius: var(--radius-btn);
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn-login:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.8); transform: translateY(-1px); }
.btn-register {
  font-family: var(--ff-head); font-size: 13.5px; font-weight: 600; letter-spacing: .4px;
  text-transform: uppercase; background: var(--white); color: var(--blue); padding: 13px 28px;
  border-radius: var(--radius-btn); box-shadow: 0 6px 18px rgba(3, 18, 74, .25);
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-register:hover { background: #EDF2FF; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(3, 18, 74, .32); }

.nav-toggle {
  display: none; width: 46px; height: 46px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius-sm); align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Inner-page title banner ---------- */
.page-banner {
  position: relative;
  background:
    radial-gradient(900px 380px at 15% -10%, rgba(120, 170, 255, .35), transparent 65%),
    radial-gradient(700px 320px at 90% 0%, rgba(64, 120, 255, .35), transparent 60%),
    linear-gradient(165deg, #0B51FA 0%, #0637BE 60%, #052A8F 100%);
  color: var(--white); text-align: center;
  padding: 88px 20px 104px; overflow: hidden;
}
.page-banner h1 { color: var(--white); font-size: clamp(34px, 6vw, 54px); font-weight: 700; margin-bottom: 22px; letter-spacing: -.02em; }
.breadcrumb { font-size: 16px; display: flex; justify-content: center; gap: 14px; color: rgba(255,255,255,.85); }
.breadcrumb a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- 6. Shared section scaffolding ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-band {
  background:
    radial-gradient(800px 300px at 100% 0%, rgba(10, 76, 245, .05), transparent 60%),
    var(--band);
}
.section-title { font-size: clamp(27px, 4vw, 40px); font-weight: 700; text-align: center; color: var(--ink); max-width: 22ch; margin-inline: auto; }
.section-sub { font-size: 17px; color: var(--text); text-align: center; max-width: 760px; margin: 18px auto 54px; }
.eyebrow {
  font-family: var(--ff-head); font-size: 13px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--blue); text-align: center; margin-bottom: 14px;
}

/* ---------- 7. Home hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 500px at 85% -15%, rgba(96, 150, 255, .45), transparent 60%),
    radial-gradient(700px 400px at -10% 100%, rgba(40, 96, 235, .5), transparent 60%),
    linear-gradient(160deg, #0B51FA 0%, #0740D6 55%, #0530A3 100%);
  color: var(--white); padding: clamp(52px, 7vw, 88px) 0 clamp(76px, 9vw, 116px);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: clamp(40px, 5vw, 76px); align-items: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-head); font-weight: 600; font-size: 15px; letter-spacing: 2.5px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-btn); padding: 8px 18px 8px 10px; margin-bottom: 28px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-badge img { width: 30px; height: 30px; border-radius: 50%; }
.hero h1 { color: var(--white); font-size: clamp(32px, 4.4vw, 48px); font-weight: 700; line-height: 1.14; letter-spacing: -.02em; margin-bottom: 24px; }
.hero p { font-size: 17px; line-height: 1.75; max-width: 560px; color: rgba(255,255,255,.88); margin-bottom: 40px; }
.hero p strong { font-weight: 600; color: var(--white); }
.tv-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.6);
}
.tv-card .tradingview-widget-container { min-height: 540px; }
.tv-card .tradingview-widget-copyright { font-size: 13px; text-align: center; padding-top: 6px; }
.tv-card .tradingview-widget-copyright a { color: #2962FF; }

/* ---------- 8. Stats band ---------- */
.stats { background: var(--band); padding: clamp(56px, 7vw, 84px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 30px; }
.stat-num {
  font-family: var(--ff-head); font-weight: 700; font-size: clamp(34px, 4vw, 46px); line-height: 1.1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #1A62FF, var(--blue-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-family: var(--ff-head); font-weight: 500; font-size: 16px; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 16px; }
.stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; }

/* ---------- 9. Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.step-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  text-align: center; padding: 42px 32px 40px; box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.step-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, #1A62FF, #05A0FF);
  opacity: 0; transition: opacity .3s ease;
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: #CFDDFF; }
.step-card:hover::before { opacity: 1; }
.step-card img { height: 56px; width: auto; margin: 0 auto 22px; transition: transform .3s ease; }
.step-card:hover img { transform: translateY(-3px) scale(1.06); }
.step-card h3 { font-size: 19px; color: var(--ink); margin-bottom: 12px; }
.step-card p { font-size: 15.5px; margin: 0; }

/* ---------- 10. Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 54px; }
.feature-card {
  display: flex; gap: 22px; align-items: flex-start;
  border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 32px; box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #CFDDFF; }
.feature-card img { width: 72px; flex: none; filter: drop-shadow(0 6px 14px rgba(10,76,245,.18)); }
.feature-card h3 { font-size: 19px; margin: 4px 0 10px; }
.feature-card p { font-size: 15.5px; margin: 0; }

/* ---------- 11. Split rows (assets / support) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 6vw, 84px); align-items: center; }
.split + .split { margin-top: clamp(56px, 7vw, 88px); }
.split-text { text-align: center; }
.split-text h2 { font-size: clamp(26px, 3.4vw, 36px); }
.split-text p { font-size: 17px; color: var(--text); }
.asset-widget { max-width: 420px; }
.asset-widget .tradingview-widget-container { min-height: 520px; border: 1px solid #E0E3EB; border-radius: var(--radius-md); overflow: hidden; }
.chat-img { width: 100%; max-width: 380px; margin: 0 auto; filter: drop-shadow(0 20px 40px rgba(16, 24, 40, .1)); }

/* ---------- 12. App download band ---------- */
.app-band {
  position: relative;
  background:
    radial-gradient(700px 380px at 80% 0%, rgba(110, 160, 255, .4), transparent 60%),
    linear-gradient(160deg, #0B51FA 0%, #0634B8 60%, #052A8F 100%);
  color: var(--white); padding-top: clamp(56px, 7vw, 84px); overflow: hidden;
}
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.app-copy { padding-bottom: 64px; }
.app-copy h2 { color: var(--white); font-size: clamp(26px, 3.4vw, 36px); }
.app-copy p { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.88); margin-bottom: 38px; max-width: 520px; }
.store-badges { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.store-badges a { transition: transform .25s ease, filter .25s ease; border-radius: 10px; }
.store-badges a:hover { transform: translateY(-4px); filter: brightness(1.08); }
.store-badges .gp { width: 146px; }
.store-badges .as { width: 320px; max-width: 100%; }
.app-img { justify-self: center; width: 100%; max-width: 540px; filter: drop-shadow(0 30px 60px rgba(2, 14, 60, .45)); }

/* ---------- 13. FAQ accordion ---------- */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-group-title { font-family: var(--ff-head); font-size: 20px; font-weight: 600; color: var(--blue); margin: 56px 0 10px; }
.faq-item { border-bottom: 1px solid var(--line); border-radius: 8px; transition: background-color .25s ease; }
.faq-item.open { background: var(--blue-soft); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: 0; padding: 22px 18px; text-align: left;
  font-family: var(--ff-head); font-size: 17px; font-weight: 600; color: var(--ink);
  border-radius: 8px; transition: color .2s ease;
}
.faq-q:hover { color: var(--blue); }
.faq-q svg { width: 16px; height: 16px; flex: none; color: var(--blue); transition: transform .35s cubic-bezier(.4,0,.2,1); }
.faq-item.open .faq-q svg { transform: rotate(90deg); }
.faq-a { height: 0; overflow: hidden; transition: height .4s cubic-bezier(.4,0,.2,1); }
.faq-a-inner { padding: 2px 18px 22px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.75; }
.faq-a-inner p { margin: 0 0 14px; }
.faq-a-inner p:last-child { margin: 0; }
.faq-a-inner strong { color: var(--ink); font-weight: 600; }
.faq-a-inner a { color: var(--blue); }

/* ---------- 14. Join CTA with dotted map ---------- */
.join { background: var(--band); padding: clamp(60px, 7vw, 88px) 0; }
.join-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.join-copy { text-align: center; }
.join-copy h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--ink); line-height: 1.15; margin-bottom: 26px; }
.join-map { width: 100%; max-width: 470px; justify-self: center; }

/* ---------- 15. About ---------- */
.about-intro .split-text { text-align: left; }
.about-eyebrow { font-family: var(--ff-head); font-weight: 600; font-size: 13px; letter-spacing: 2.5px; color: var(--blue); text-transform: uppercase; margin: 0 0 10px; }
.about-brand {
  font-family: var(--ff-head); font-size: clamp(48px, 7vw, 70px); font-weight: 700; line-height: 1.05;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #1A62FF, var(--blue-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-intro h2 { font-size: clamp(24px, 3vw, 30px); text-align: left; }
.about-intro p { font-size: 16.5px; color: var(--text); }
.about-img { width: 100%; max-width: 420px; justify-self: center; filter: drop-shadow(0 24px 48px rgba(10, 76, 245, .18)); }
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.values-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 46px; }
.value { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); border-top: 3px solid var(--blue); padding: 24px 22px; box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value h3 { font-size: 17px; }
.value p { font-size: 15px; margin: 0; }

/* ---------- 16. Account types ---------- */
.accounts { background: var(--band); padding: clamp(64px, 8vw, 100px) 0 clamp(76px, 9vw, 116px); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan {
  position: relative;
  background: linear-gradient(165deg, #1247F8 0%, #0740D6 55%, #0530A3 100%);
  color: var(--white); border-radius: var(--radius-lg); padding: 52px 28px 52px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-md);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s ease;
}
.plan:hover { transform: translateY(-8px); box-shadow: 0 16px 30px rgba(6, 40, 143, .22), 0 36px 80px rgba(6, 40, 143, .3); }
.plan h2 { color: var(--white); font-size: 30px; font-weight: 600; margin-bottom: 12px; }
.plan-price { font-family: var(--ff-head); font-size: clamp(36px, 4vw, 46px); font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.plan-feat-label { font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.75); margin: 28px 0 0; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.25); }
.plan ul { margin: 22px 0 36px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.6; margin-bottom: 13px; }
.plan li svg { width: 15px; height: 15px; flex: none; margin-top: 5px; }
.plan .btn-white { width: 100%; padding: 14px; font-weight: 600; font-size: 15px; color: var(--blue-deep); }
.plan .btn-white:hover { color: var(--blue); }
.plan--popular { background: linear-gradient(165deg, #1A5BFF 0%, #0B45DB 50%, #0630A8 100%); outline: 3px solid var(--gold); outline-offset: -4px; }
.plan-ribbon {
  position: absolute; top: 20px; right: 20px; background: var(--gold); color: #3A2A00;
  font-family: var(--ff-head); font-size: 12px; font-weight: 600; letter-spacing: .5px; padding: 6px 14px; border-radius: var(--radius-btn);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.plan-note { font-size: 13.5px; margin-top: 26px; text-align: center; color: var(--text); }
.plan-note a { color: var(--blue); text-decoration: underline; }

.compare-wrap { margin-top: clamp(60px, 7vw, 88px); }
.table-scroll { overflow-x: auto; border: 1px solid #D9E3FB; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.compare { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid #E8EEFB; }
.compare thead th {
  background: linear-gradient(180deg, #1247F8, #0740D6); color: var(--white);
  font-family: var(--ff-head); font-weight: 600; font-size: 14px;
}
.compare thead th:first-child { border-top-left-radius: var(--radius-lg); }
.compare thead th:last-child { border-top-right-radius: var(--radius-lg); }
.compare thead th.pop { background: linear-gradient(180deg, #0B45DB, #0630A8); }
.compare tbody th { text-align: left; font-family: var(--ff-head); font-weight: 600; color: var(--ink); background: #FAFBFF; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td.yes { color: var(--blue); font-weight: 700; }
.compare td.pop { background: #F3F7FF; }

/* ---------- 17. Contact ---------- */
.contact-box {
  position: relative;
  background:
    radial-gradient(700px 340px at 90% -5%, rgba(110, 160, 255, .4), transparent 60%),
    linear-gradient(160deg, #0B51FA 0%, #0740D6 55%, #0530A3 100%);
  color: var(--white); border-radius: 24px;
  padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 44px) clamp(44px, 6vw, 72px);
  max-width: 1180px; margin: 0 auto; box-shadow: var(--shadow-lg); overflow: hidden;
}
.contact-box > h2 { color: var(--white); text-align: center; font-size: clamp(26px, 3.6vw, 36px); font-weight: 600; margin-bottom: clamp(40px, 6vw, 80px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.contact-copy h3 { color: var(--white); font-size: clamp(24px, 3vw, 32px); font-weight: 600; }
.contact-copy p { font-size: 16.5px; line-height: 1.7; color: rgba(255,255,255,.88); }
.contact-details { margin-top: 30px; display: grid; gap: 14px; font-size: 15.5px; }
.contact-details li { display: flex; gap: 14px; align-items: center; }
.contact-details li a:hover { text-decoration: underline; }
.contact-details svg { width: 20px; height: 20px; flex: none; opacity: .9; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 42px); color: var(--ink); box-shadow: 0 24px 60px rgba(3, 18, 74, .35); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--ff-head); font-size: 13.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid #D5DCEA; border-radius: var(--radius-sm); padding: 12px 14px;
  font: 16px var(--ff-body); color: var(--ink); background: #FBFCFE;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(10,76,245,.14); }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field-error { display: none; color: var(--red); font-size: 13.5px; margin-top: 5px; }
.field.has-error .field-error { display: block; }
.btn-submit {
  background: linear-gradient(135deg, #1A62FF, var(--blue-dark)); color: var(--white);
  padding: 14px 30px; font: 600 16px var(--ff-head); border: 0; border-radius: var(--radius-btn);
  box-shadow: 0 8px 20px rgba(10, 76, 245, .3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(10, 76, 245, .4); }
.form-status { margin-top: 16px; font-size: 15px; display: none; }
.form-status.ok { display: block; color: var(--green); font-weight: 500; }
.map-frame { margin: clamp(44px, 6vw, 76px) 0 0; border-radius: var(--radius-lg); overflow: hidden; background: #E5E3DF; height: 300px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 18. Legal pages ---------- */
.legal { padding: clamp(56px, 7vw, 88px) 0 clamp(72px, 9vw, 108px); }
.legal-body { max-width: 840px; margin: 0 auto; }
.legal-body .updated { font-size: 14px; color: #98A2B3; margin-bottom: 32px; font-weight: 500; }
.legal-body h2 { font-size: 23px; font-weight: 600; margin: 44px 0 14px; color: var(--ink); }
.legal-body h3 { font-size: 17.5px; font-weight: 600; margin: 26px 0 10px; color: var(--ink-soft); }
.legal-body p, .legal-body li { font-size: 16px; color: var(--ink-soft); line-height: 1.75; }
.legal-body ul { list-style: disc; padding-left: 24px; margin-bottom: 1em; }
.legal-body li { margin-bottom: 7px; }
.legal-body li::marker { color: var(--blue); }
.legal-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { color: var(--blue-dark); }
.legal-callout {
  background: var(--blue-soft); border: 0; border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px; margin: 28px 0;
}
.legal-callout p { margin: 0; }

/* ---------- 19. Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 34px; }
.footer-logo { color: var(--ink); }
.footer-logo img { width: 160px; margin-top: 8px; }
.site-footer h4 { font-family: var(--ff-head); font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 22px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 15px; color: var(--text); transition: color .2s, padding-left .25s ease; }
.footer-links a:hover { color: var(--blue); padding-left: 4px; }
.footer-links a.active { color: var(--blue); font-weight: 500; }
.socials { display: flex; gap: 14px; margin-bottom: 26px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--blue-soft); color: var(--blue);
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.socials a:hover { background: var(--blue); color: var(--white); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-email { font-size: 15px; color: var(--text); margin: 0; }
.footer-email a { color: var(--blue); }
.footer-email a:hover { text-decoration: underline; }

.risk-bar { background: #F4F6FB; border-top: 1px solid #E4E8F2; padding: 26px 0; font-size: 13px; line-height: 1.7; color: #6A7280; }
.risk-bar strong { color: var(--ink); }
.risk-bar a { color: var(--blue); }
.copyright { background: linear-gradient(180deg, #0740D6, #0530A3); color: rgba(255,255,255,.85); font-size: 13px; padding: 16px 0; text-align: center; }

/* ---------- 20. Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- 21. Responsive ---------- */
@media (max-width: 1100px) {
  .nav-list a { letter-spacing: .2px; padding: 0 9px; font-size: 12.5px; }
  .main-nav { gap: 16px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .nav-list li { display: block; }
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: linear-gradient(170deg, #0B51FA, #0530A3);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px; transform: translateX(100%); visibility: hidden;
    transition: transform .35s cubic-bezier(.4,0,.2,1), visibility 0s linear .35s; overflow-y: auto;
  }
  .main-nav.open { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.4,0,.2,1); }
  .nav-list { flex-direction: column; height: auto; gap: 0; }
  .nav-list a { padding: 17px 6px; font-size: 15px; letter-spacing: .5px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .nav-list a::after { display: none; }
  .header-actions { margin-top: 26px; flex-direction: column; align-items: stretch; gap: 12px; }
  .header-actions a { text-align: center; }
  body.menu-open { overflow: hidden; }

  .hero-grid, .split, .app-grid, .join-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .split { gap: 44px; }
  .split--reverse .split-media { order: 2; }
  .asset-widget { margin: 0 auto; width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps-grid, .mvv-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .values-list { grid-template-columns: repeat(2, 1fr); }
  .app-copy { padding-bottom: 0; text-align: center; }
  .app-copy p { margin-inline: auto; }
  .store-badges { justify-content: center; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .contact-box > h2 { margin-bottom: 44px; }
  .about-intro .split-text { text-align: left; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero { padding: 44px 0 68px; }
  .btn-hero { width: 100%; }
  .stat-label { flex-direction: column; gap: 4px; }
  .feature-card { flex-direction: column; padding: 30px 24px; }
  .plans { grid-template-columns: 1fr; }
  .values-list { grid-template-columns: 1fr; }
  .contact-box { border-radius: 16px; }
  .form-card { padding: 26px 20px 30px; }
  .map-frame { margin-top: 36px; height: 240px; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo img { width: 120px; }
  .store-badges .as { width: 280px; }
}

/* Grid children may shrink below their intrinsic image width */
.hero-grid > *, .split > *, .app-grid > *, .join-grid > *, .contact-grid > *, .footer-grid > *, .plans > * { min-width: 0; }
