:root {
  --bg: #f7f9fc;
  --surface: rgba(255, 255, 255, .86);
  --surface-strong: #fff;
  --text: #081631;
  --muted: #68758d;
  --line: rgba(8, 22, 49, .09);
  --brand: #1269f5;
  --brand-dark: #064ab9;
  --brand-soft: #eaf2ff;
  --shadow: 0 28px 80px rgba(16, 43, 92, .10);
  --radius-lg: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: .42;
  background-image:
    linear-gradient(rgba(18, 105, 245, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 105, 245, .032) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.42) 52%, transparent 92%);
}

.ambient {
  position: fixed;
  z-index: -2;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  filter: blur(8px);
  pointer-events: none;
}
.ambient-one {
  top: -240px;
  right: -130px;
  background: radial-gradient(circle, rgba(18,105,245,.17) 0%, rgba(18,105,245,.05) 46%, transparent 72%);
}
.ambient-two {
  left: -280px;
  bottom: -330px;
  background: radial-gradient(circle, rgba(38,194,255,.11) 0%, rgba(38,194,255,.03) 45%, transparent 72%);
}

.site-header,
.site-footer,
.hero {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 100px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { width: 178px; height: auto; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(18,105,245,.13);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  color: #35415a;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(31,53,92,.05);
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(18,105,245,.09);
}

.language-switcher {
  display: inline-flex;
  padding: 4px;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
}
.language-switcher button {
  min-width: 38px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
  color: #6c7890;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.language-switcher button[aria-pressed="true"] {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 5px 12px rgba(18,105,245,.20);
}

.hero { display: flex; align-items: center; padding: 52px 0 82px; }
.hero-copy { width: min(860px, 100%); margin: 0 auto; text-align: center; }
.hero-mark-wrap {
  width: 82px;
  height: 82px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(18,105,245,.09);
  box-shadow: 0 18px 42px rgba(20,58,119,.10);
}
.hero-mark { width: 68px; height: 68px; object-fit: contain; }
.eyebrow {
  margin: 0 0 19px;
  color: var(--brand);
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .22em;
}
h1 {
  margin: 0 auto;
  max-width: 820px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1.01;
  letter-spacing: -.058em;
  font-weight: 790;
}
.hero-text {
  width: min(670px, 100%);
  margin: 27px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
}

.launch-card {
  width: min(710px, 100%);
  margin: 46px auto 0;
  padding: 26px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.launch-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 19px; }
.launch-label { color: var(--muted); font-size: 13px; font-weight: 750; }
.launch-chip {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
}
.product-brand-row { display: flex; align-items: center; }
.fintra-logo { width: min(390px, 85%); height: auto; }
.product-tagline { margin: 8px 0 0; color: #596780; font-size: 16px; line-height: 1.55; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 21px; padding-top: 18px; border-top: 1px solid var(--line); }
.product-meta span { padding: 7px 10px; border-radius: 999px; background: #f3f6fb; color: #556078; font-size: 12px; font-weight: 700; }

.notify {
  width: min(710px, 100%);
  margin: 22px auto 0;
  padding: 24px;
  text-align: left;
  border: 1px solid rgba(18,105,245,.10);
  border-radius: var(--radius-lg);
  background: rgba(234,242,255,.72);
}
.notify h2 { margin: 0; font-size: 19px; letter-spacing: -.02em; }
.notify > div > p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.notify-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 17px; }
.notify-form input {
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 14px;
  outline: none;
  background: rgba(255,255,255,.96);
  color: var(--text);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.notify-form input::placeholder { color: #98a2b3; }
.notify-form input:focus { border-color: rgba(18,105,245,.52); box-shadow: 0 0 0 4px rgba(18,105,245,.10); }
.notify-form button {
  height: 50px;
  padding: 0 19px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  background: var(--brand);
  color: #fff;
  font-weight: 780;
  box-shadow: 0 10px 25px rgba(18,105,245,.22);
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.notify-form button:hover { background: #0e5ddd; box-shadow: 0 13px 28px rgba(18,105,245,.26); transform: translateY(-1px); }
.notify-form button:active { transform: translateY(0); }
.privacy-note, .form-message { margin: 9px 0 0; color: #7a8599; font-size: 12px; line-height: 1.45; }
.form-message { min-height: 17px; color: var(--brand-dark); font-weight: 700; }

.site-footer {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: #7b879b;
  font-size: 13px;
}
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--brand-dark); }

.legal-page { width: min(780px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 70px; }
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 48px; }
.legal-top .brand-logo { width: 160px; }
.legal-card { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 20px 60px rgba(20,50,100,.08); }
.legal-card h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -.04em; }
.legal-card p, .legal-card li { color: #596780; line-height: 1.7; }
.legal-card .warning { margin: 22px 0; padding: 16px; border-radius: 14px; background: #fff8e8; color: #835b00; }
.back-link { display: inline-flex; margin-top: 24px; color: var(--brand-dark); text-decoration: none; font-weight: 750; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  .site-header, .site-footer, .hero { width: min(100% - 28px, 1160px); }
  .site-header { align-items: flex-start; gap: 14px; }
  .brand-logo { width: 145px; margin-top: 4px; }
  .header-actions { flex-direction: column; align-items: flex-end; gap: 8px; }
  .status-pill { min-height: 34px; font-size: 12px; }
  .hero { padding: 38px 0 62px; }
  .hero-mark-wrap { width: 70px; height: 70px; border-radius: 20px; }
  .hero-mark { width: 58px; height: 58px; }
  h1 { font-size: clamp(42px, 13vw, 66px); }
  .launch-card, .notify { border-radius: 22px; padding: 20px; }
  .fintra-logo { width: min(330px, 100%); }
  .notify-form { grid-template-columns: 1fr; }
  .notify-form button { width: 100%; }
  .site-footer { min-height: 96px; flex-direction: column; justify-content: center; }
}

@media (max-width: 460px) {
  .site-header { min-height: 118px; }
  .brand-logo { width: 132px; }
  .language-switcher button { min-width: 34px; }
  .status-pill { max-width: 190px; text-align: left; }
  .launch-topline { align-items: flex-start; }
  .product-meta { gap: 6px; }
}

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