:root {
  color-scheme: light;
  --primary: #144ad2;
  --primary-deep: #0c339b;
  --primary-soft: #dce2ff;
  --ink: #172033;
  --muted: #5e687c;
  --line: #dce1eb;
  --surface: #ffffff;
  --background: #f7f9fe;
  --green: #00a950;
  --purple: #7047eb;
  --orange: #f57c00;
  --shadow: 0 24px 70px rgba(20, 45, 105, 0.13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--ink);
  font-family: Roboto, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  padding: 22px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 7px 20px rgba(20, 74, 210, 0.16);
}

.brand-accent { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--primary); }

.nav-links a[aria-current="page"] {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: #b8c7ff;
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 92px;
}

.hero::before {
  position: absolute;
  top: -300px;
  right: -190px;
  width: 780px;
  height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(89, 132, 255, 0.22), rgba(220, 226, 255, 0) 68%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 8px 13px;
  border: 1px solid #c8d3ff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--primary-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(0, 169, 80, 0.12);
}

h1, h2, h3 { margin-top: 0; line-height: 1.12; }

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(3.15rem, 6vw, 5.75rem);
  font-weight: 850;
  letter-spacing: -0.058em;
}

.gradient-text {
  color: var(--primary);
  background: linear-gradient(110deg, var(--primary-deep), #1e6dff 62%, #7047eb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy {
  max-width: 610px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

.launch-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 750;
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.18);
}

.launch-note { color: var(--muted); font-size: 0.92rem; }

.visual {
  position: relative;
  min-height: 555px;
}

.visual-card {
  position: absolute;
  inset: 24px 0 0 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.metric {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 15px 17px;
  border: 1px solid rgba(220, 226, 255, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(20, 45, 105, 0.15);
  backdrop-filter: blur(12px);
}

.metric-one { top: 2px; right: -12px; }
.metric-two { bottom: 18px; left: -16px; }

.metric-icon {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
}

.metric-icon.blue { background: var(--primary); }
.metric-icon.green { background: var(--green); }
.metric strong, .metric span { display: block; }
.metric strong { font-size: 0.95rem; line-height: 1.3; }
.metric span { color: var(--muted); font-size: 0.75rem; }

.features { padding: 0 0 92px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
}

.feature-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 14px;
}

.feature:nth-child(1) .feature-icon { background: #e4eeff; color: var(--primary); }
.feature:nth-child(2) .feature-icon { background: #ddf8e8; color: var(--green); }
.feature:nth-child(3) .feature-icon { background: #ece4ff; color: var(--purple); }
.feature h2 { margin-bottom: 9px; font-size: 1.12rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 32px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.copyright { margin: 0; color: var(--muted); font-size: 0.86rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }

.legal-main { padding: 40px 0 92px; }

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  justify-content: center;
  gap: 64px;
}

.legal-nav { position: sticky; top: 28px; align-self: start; }
.legal-nav-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-nav a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.legal-nav a:hover, .legal-nav a:focus-visible { color: var(--primary); }

.legal-kicker {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-content h1 {
  margin-bottom: 12px;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
}

.updated { margin: 0 0 38px; color: var(--muted); }

.legal-intro {
  margin-bottom: 42px;
  padding: 22px 24px;
  border-left: 4px solid var(--primary);
  border-radius: 0 16px 16px 0;
  background: var(--primary-soft);
  color: #17254a;
}

.legal-section { scroll-margin-top: 28px; margin-bottom: 38px; }
.legal-section h2 { margin-bottom: 12px; font-size: 1.35rem; letter-spacing: -0.02em; }
.legal-section h3 { margin: 22px 0 8px; font-size: 1.04rem; }
.legal-section p { margin: 0 0 14px; color: #3f495c; }
.legal-section ul { margin: 10px 0 16px; padding-left: 22px; color: #3f495c; }
.legal-section li + li { margin-top: 8px; }
.legal-section a { color: var(--primary); font-weight: 650; }

.contact-card {
  padding: 22px 24px;
  border: 1px solid #c8d3ff;
  border-radius: 18px;
  background: #fff;
}

.contact-card p:last-child { margin-bottom: 0; }

.support-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 44px;
}

.support-action {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.support-action:hover,
.support-action:focus-visible {
  border-color: #b8c7ff;
  box-shadow: 0 12px 30px rgba(20, 74, 210, 0.1);
  transform: translateY(-2px);
}

.support-action-icon {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary);
}

.support-action strong,
.support-action span { display: block; }
.support-action strong { line-height: 1.35; }
.support-action span { margin-top: 2px; color: var(--muted); font-size: 0.84rem; }

.steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: support-step;
}

.steps li {
  position: relative;
  min-height: 42px;
  padding: 3px 0 18px 52px;
  counter-increment: support-step;
}

.steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  content: counter(support-step);
  font-size: 0.85rem;
  font-weight: 800;
}

.faq-list { border-top: 1px solid var(--line); }

.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  padding: 18px 42px 18px 0;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  position: absolute;
  top: 17px;
  right: 4px;
  color: var(--primary);
  content: "+";
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
}

.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -4px 36px 18px 0; }

.about-mark {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 4px 0 34px;
  padding: 22px;
  border: 1px solid #c8d3ff;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, #eef2ff);
}

.about-mark img {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(20, 74, 210, 0.16);
}

.about-mark p { margin: 4px 0 0; color: var(--muted); }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 8px;
}

.fact-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.fact-card strong,
.fact-card span { display: block; }
.fact-card strong { margin-bottom: 4px; font-size: 0.98rem; }
.fact-card span { color: var(--muted); font-size: 0.88rem; }

.deletion-panel {
  margin-top: 28px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(20, 45, 105, 0.08);
}

.deletion-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.deletion-brand img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: 0 9px 24px rgba(20, 74, 210, 0.14);
}

.deletion-brand strong,
.deletion-brand span { display: block; }
.deletion-brand strong { font-size: 1.1rem; }
.deletion-brand span { color: var(--muted); font-size: 0.86rem; }
.deletion-form + .deletion-form { margin-top: 24px; }

.form-step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-weight: 800;
}

.form-step-label > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 0.82rem;
}

.deletion-form label:not(.confirmation-check) {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
}

.deletion-form input[type="email"],
.deletion-form input[type="text"] {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  border: 1px solid #b8c0d0;
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.deletion-form input:focus {
  border-color: var(--primary);
  outline: 3px solid rgba(20, 74, 210, 0.14);
}

.deletion-form input:read-only {
  background: #f1f3f8;
  color: var(--muted);
}

.code-input {
  max-width: 230px;
  font-size: 1.35rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.28em;
  text-align: center;
}

.field-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.primary-form-button,
.danger-form-button {
  min-height: 48px;
  margin-top: 18px;
  padding: 11px 18px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.primary-form-button { background: var(--primary); }
.danger-form-button { background: #ba1a1a; }
.primary-form-button:hover { background: var(--primary-deep); }
.danger-form-button:hover { background: #8f1111; }
.primary-form-button:disabled,
.danger-form-button:disabled { cursor: wait; opacity: 0.62; }

.warning-card {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #ffc8c2;
  border-radius: 14px;
  background: #fff2f0;
  color: #69130d;
}

.warning-card p { margin: 5px 0 0; color: #70322d; }

.confirmation-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #3f495c;
}

.confirmation-check input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 3px;
  accent-color: var(--primary);
}

.form-message {
  min-height: 26px;
  margin: 20px 0 0;
  color: var(--muted);
  font-weight: 650;
}

.form-message-success { color: #00783a; }
.form-message-error { color: #a31515; }

.success-card {
  padding: 18px;
  border: 1px solid #9bdfb9;
  border-radius: 14px;
  background: #e7f8ee;
  color: #075d30;
}

.success-card p { margin: 5px 0 0; color: #226340; }
[hidden] { display: none !important; }

.error-page {
  display: grid;
  min-height: calc(100vh - 180px);
  place-items: center;
  padding: 60px 20px;
  text-align: center;
}

.error-page h1 { margin-bottom: 12px; font-size: clamp(4rem, 12vw, 8rem); color: var(--primary); }
.error-page p { color: var(--muted); }
.button-link {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 20px;
  border-radius: 13px;
  background: var(--primary);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .visual { min-height: 500px; }
  .visual-card { inset: 18px 4% 0; }
  .metric-one { right: 0; }
  .metric-two { left: 0; }
  .legal-layout { grid-template-columns: 1fr; gap: 18px; }
  .legal-nav { position: static; display: none; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, 1160px); }
  .site-header { padding: 16px 0; }
  .nav { align-items: flex-start; flex-direction: column; gap: 14px; }
  .nav-links { width: 100%; gap: 19px; overflow-x: auto; padding: 0 2px 7px; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { flex: 0 0 auto; font-size: 0.82rem; }
  .hero { padding: 42px 0 68px; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.1rem); }
  .visual { min-height: 390px; }
  .visual-card { inset: 12px 0 0; border-radius: 25px; }
  .metric { min-width: 165px; padding: 12px; }
  .metric-one { top: -10px; right: -5px; }
  .metric-two { bottom: 2px; left: -5px; }
  .feature-grid { grid-template-columns: 1fr; }
  .support-actions, .fact-grid { grid-template-columns: 1fr; }
  .about-mark { align-items: flex-start; }
  .about-mark img { width: 68px; height: 68px; border-radius: 18px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .legal-main { padding-top: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
