:root {
  color-scheme: light;
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-muted: #eef2f8;
  --ink: #172033;
  --ink-secondary: #657087;
  --ink-tertiary: #a5adbc;
  --accent: #4c6fff;
  --accent-dark: #3859eb;
  --accent-deep: #2745c7;
  --accent-light: #e9edff;
  --accent-soft: #f3f5ff;
  --success: #22b573;
  --success-light: #e6f8f0;
  --hint-surface: #eef9f3;
  --hint-border: #8fe1bf;
  --warning: #f4a340;
  --warning-light: #fff4e5;
  --danger: #f06464;
  --danger-light: #fff0f0;
  --border: #e5e9f1;
  --path-guide: #dce2ec;
  --shadow-rgb: 31, 49, 87;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Arial, sans-serif;
  --radius-card: 24px;
  --radius-button: 14px;
  --radius-pill: 999px;
  --shadow-card: 0 14px 42px rgba(var(--shadow-rgb), 0.08);
  --shadow-float: 0 18px 50px rgba(var(--shadow-rgb), 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 8%, rgba(76, 111, 255, 0.09), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(34, 181, 115, 0.08), transparent 25rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: var(--accent-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
.table-wrap:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-shell--narrow {
  width: min(920px, calc(100% - 32px));
}

.site-header {
  padding: 24px 0 8px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 10px 12px 10px 10px;
  border: 1px solid rgba(229, 233, 241, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 32px rgba(var(--shadow-rgb), 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(var(--shadow-rgb), 0.12);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 12px;
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

main {
  padding: 24px 0 72px;
}

.hero,
.card,
.feature-card,
.legal-link,
.screenshot-card {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
}

.hero-home {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.72fr);
  min-height: 650px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(36px, 7vw, 78px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px var(--success-light);
  content: "";
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.12;
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(48px, 7vw, 78px);
  font-weight: 950;
  letter-spacing: -0.048em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 16px;
  color: var(--ink-secondary);
}

.hero-lede {
  max-width: 570px;
  margin-bottom: 26px;
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.actions--center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  background: var(--accent-dark);
  box-shadow: 0 9px 22px rgba(76, 111, 255, 0.25);
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--accent-deep);
  box-shadow: 0 12px 28px rgba(76, 111, 255, 0.3);
}

.button--secondary {
  border-color: var(--border);
  background: var(--surface-muted);
  box-shadow: none;
  color: var(--ink);
}

.button--secondary:hover {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.button svg,
.icon-circle svg,
.legal-icon svg,
.feature-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 750;
  list-style: none;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row li::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  content: "";
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: 650px;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle, var(--path-guide) 2px, transparent 2.4px) 0 0 / 31px 31px,
    linear-gradient(145deg, var(--accent-soft), var(--hint-surface));
}

.phone-stage::before,
.phone-stage::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.phone-stage::before {
  width: 330px;
  height: 330px;
  border: 65px solid rgba(76, 111, 255, 0.08);
}

.phone-stage::after {
  right: -70px;
  bottom: -60px;
  width: 240px;
  height: 240px;
  background: rgba(34, 181, 115, 0.1);
}

.phone {
  position: relative;
  z-index: 2;
  width: min(302px, 74%);
  padding: 9px;
  border: 8px solid var(--ink);
  border-radius: 42px;
  background: var(--ink);
  box-shadow: 0 30px 64px rgba(var(--shadow-rgb), 0.28);
  transform: rotate(2deg);
}

.phone::before {
  position: absolute;
  z-index: 3;
  top: 7px;
  left: 50%;
  width: 72px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: var(--ink);
  content: "";
}

.phone img {
  width: 100%;
  border-radius: 27px;
}

.float-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-float);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  backdrop-filter: blur(12px);
}

.float-chip--level {
  top: 86px;
  left: 22px;
}

.float-chip--hint {
  right: 18px;
  bottom: 100px;
}

.chip-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-light);
}

.chip-dot--green {
  background: var(--success);
  box-shadow: 0 0 0 5px var(--success-light);
}

.section {
  padding-top: 78px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading p {
  max-width: 520px;
  margin: 0;
}

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

.feature-card {
  min-height: 220px;
  padding: 28px;
  border-radius: var(--radius-card);
}

.feature-icon,
.legal-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  border-radius: 15px;
  background: var(--accent-light);
  color: var(--accent-dark);
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--success-light);
  color: var(--success);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--warning-light);
  color: #c9790e;
}

.feature-card p {
  margin: 0;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.screenshot-card {
  overflow: hidden;
  padding: 9px;
  border-radius: 28px;
}

.screenshot-card img {
  width: 100%;
  border-radius: 20px;
  background: var(--accent-soft);
}

.screenshot-card figcaption {
  padding: 14px 10px 8px;
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.legal-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 118px;
  padding: 20px;
  border-radius: var(--radius-card);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.legal-link:hover {
  transform: translateY(-3px);
  border-color: rgba(76, 111, 255, 0.32);
}

.legal-link .legal-icon {
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 14px;
}

.legal-link strong,
.legal-link span {
  display: block;
}

.legal-link strong {
  font-size: 16px;
}

.legal-link span {
  color: var(--ink-secondary);
  font-size: 13px;
}

.chevron {
  color: var(--ink-tertiary);
  font-size: 24px;
  line-height: 1;
}

.page-stack {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.page-stack > * {
  min-width: 0;
}

.page-hero,
.card {
  border-radius: var(--radius-card);
}

.page-hero {
  padding: clamp(30px, 6vw, 58px);
  border-color: rgba(76, 111, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(76, 111, 255, 0.055), rgba(34, 181, 115, 0.04)),
    var(--surface);
}

.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 68px);
}

.page-hero p:last-child,
.card p:last-child {
  margin-bottom: 0;
}

.card {
  padding: clamp(24px, 4vw, 36px);
}

.card h2 {
  font-size: clamp(25px, 3vw, 32px);
}

.card h3:not(:first-child) {
  margin-top: 28px;
}

.card ul,
.card ol {
  margin: 0;
  padding-left: 22px;
  color: var(--ink-secondary);
}

.card li + li {
  margin-top: 9px;
}

.check-list {
  padding-left: 0 !important;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 29px;
}

.check-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--hint-border);
  content: "";
}

.note {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--hint-border);
  border-radius: 16px;
  background: var(--hint-surface);
  color: var(--ink-secondary);
}

.note strong {
  color: var(--ink);
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
}

table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 15px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-muted);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

td {
  color: var(--ink-secondary);
}

tr:last-child td {
  border-bottom: 0;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.topic {
  padding: 19px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--bg);
}

.topic p {
  margin: 0;
  font-size: 14px;
}

.contact-address {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.site-footer {
  padding: 0 0 38px;
}

.footer-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  border-top: 1px solid var(--border);
  color: var(--ink-secondary);
  font-size: 13px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.footer-brand strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.footer-links a {
  color: var(--ink-secondary);
  font-weight: 750;
}

.error-page {
  display: grid;
  min-height: 62vh;
  place-items: center;
}

.error-card {
  max-width: 660px;
  text-align: center;
}

.error-code {
  display: block;
  color: var(--accent);
  font-size: clamp(80px, 18vw, 150px);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

@media (max-width: 920px) {
  .hero-home {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    height: 620px;
  }

  .feature-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-shell,
  .site-shell--narrow {
    width: min(100% - 20px, 920px);
  }

  .site-header {
    padding-top: 10px;
  }

  .nav {
    display: block;
    padding: 10px;
  }

  .brand {
    padding-inline: 4px;
  }

  .nav-links {
    justify-content: flex-start;
    margin-top: 8px;
    border-top: 1px solid var(--border);
    padding-top: 8px;
  }

  .nav-links a {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0 8px;
    font-size: 13px;
  }

  main {
    padding-top: 12px;
  }

  .hero {
    border-radius: 25px;
  }

  .hero-copy {
    padding: 36px 24px 40px;
  }

  h1 {
    font-size: clamp(46px, 15vw, 66px);
  }

  .button {
    width: 100%;
  }

  .phone-stage {
    height: 570px;
  }

  .phone {
    width: min(276px, 76%);
  }

  .float-chip--level {
    top: 56px;
  }

  .float-chip--hint {
    right: 10px;
    bottom: 56px;
  }

  .section {
    padding-top: 58px;
  }

  .section-heading {
    display: block;
  }

  .screenshot-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin-right: -10px;
    padding: 4px 10px 18px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .screenshot-card {
    flex: 0 0 min(76vw, 290px);
    scroll-snap-align: start;
  }

  .page-hero,
  .card {
    padding: 25px 21px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .footer-card {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: #fff;
  }

  .site-header,
  .site-footer,
  .actions {
    display: none;
  }

  main {
    padding: 0;
  }

  .card,
  .hero {
    break-inside: avoid;
    box-shadow: none;
  }
}
