:root {
  --ink: #152244;
  --muted: #52617f;
  --paper: #ffffff;
  --wash: #f6f8ff;
  --blue: #087ce9;
  --blue-dark: #075ec0;
  --pink: #ef3e92;
  --yellow: #ffcb20;
  --green: #1f9d5d;
  --line: #dfe6f3;
  --shadow: 0 18px 50px rgba(29, 51, 101, 0.13);
  --radius: 24px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-rounded, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: #8b1772;
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid rgba(8, 124, 233, 0.3);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(223, 230, 243, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  box-shadow: 0 7px 18px rgba(28, 62, 129, 0.18);
}

.nav-list {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 750;
  text-decoration: none;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--blue-dark);
  background: #eaf4ff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  background:
    radial-gradient(circle at 11% 15%, rgba(255, 203, 32, 0.26), transparent 21%),
    radial-gradient(circle at 90% 5%, rgba(239, 62, 146, 0.16), transparent 27%),
    linear-gradient(145deg, #f8fbff 0%, #eff7ff 55%, #fff5fa 100%);
}

.hero::after {
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 330px;
  height: 330px;
  border: 55px solid rgba(8, 124, 233, 0.06);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 52px;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.3rem, 7vw, 5.8rem);
  letter-spacing: -0.065em;
}

.hero h1 {
  background: linear-gradient(120deg, #ed2f8b 0%, #8d32ce 45%, #087ce9 90%);
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  max-width: 650px;
  margin: 20px 0 12px;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.hero-copy {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.status-pill {
  display: inline-flex;
  margin-top: 26px;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid #b8ddca;
  border-radius: 999px;
  color: #17693f;
  background: #edf9f2;
  font-size: 0.88rem;
  font-weight: 800;
}

.status-pill::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.hero-visual {
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 2.048 / 1;
  object-fit: cover;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--wash);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2,
.content-card h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
}

.feature-grid,
.info-grid,
.link-grid {
  display: grid;
  gap: 20px;
}

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

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

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

.card,
.link-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 53, 100, 0.06);
}

.card::before {
  display: block;
  width: 44px;
  height: 7px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--yellow), var(--blue));
  content: "";
}

.card h3,
.link-card h3 {
  font-size: 1.2rem;
}

.card p,
.link-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.app-details {
  display: grid;
  margin: 22px 0 0;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr);
}

.app-details dt {
  color: var(--muted);
  font-weight: 700;
}

.app-details dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 850;
}

.showcase {
  display: grid;
  align-items: center;
  gap: 60px;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.48fr);
}

.phone-frame {
  width: min(100%, 355px);
  margin-inline: auto;
  padding: 11px;
  border: 1px solid #27334a;
  border-radius: 30px;
  background: #0a101b;
  box-shadow: 0 24px 55px rgba(17, 31, 65, 0.25);
}

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

.link-card {
  display: block;
  min-height: 190px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.link-card:hover {
  border-color: #9bcdf8;
  color: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.link-card .arrow {
  display: inline-flex;
  margin-top: 22px;
  color: var(--blue-dark);
  font-weight: 850;
}

.support-band {
  padding: 38px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(120deg, #172451, #0d74d7 60%, #0e91d9);
  box-shadow: var(--shadow);
}

.support-band h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.support-band p {
  margin: 12px 0 0;
  color: #e8f4ff;
}

.support-band a {
  color: #fff;
  font-weight: 850;
}

.site-footer {
  padding: 35px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

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

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 18px;
  list-style: none;
}

.footer-links a {
  font-weight: 700;
}

.legal-hero {
  padding: 66px 0 44px;
  background:
    radial-gradient(circle at 88% 10%, rgba(239, 62, 146, 0.13), transparent 25%),
    linear-gradient(145deg, #f7fbff, #fff8fc);
}

.legal-hero h1 {
  max-width: 900px;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
}

.legal-hero p {
  margin: 18px 0 0;
  color: var(--muted);
}

.legal-wrap {
  width: min(calc(100% - 40px), 860px);
  margin-inline: auto;
  padding: 56px 0 88px;
}

.content-card {
  padding: clamp(25px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 45px rgba(32, 54, 100, 0.08);
}

.content-card > :first-child {
  margin-top: 0;
}

.content-card h2 {
  margin-top: 44px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.content-card p,
.content-card ul {
  color: #42516f;
}

.content-card ul {
  padding-left: 1.25em;
}

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

.notice {
  margin: 26px 0;
  padding: 20px 22px;
  border-left: 5px solid var(--blue);
  border-radius: 0 14px 14px 0;
  background: #eef7ff;
}

.back-link {
  display: inline-flex;
  margin-top: 34px;
  align-items: center;
  gap: 8px;
  font-weight: 850;
}

.error-page {
  display: grid;
  min-height: 100vh;
  padding: 28px;
  place-items: center;
  text-align: center;
  background: linear-gradient(145deg, #eff8ff, #fff5fa);
}

.error-card {
  width: min(100%, 680px);
  padding: clamp(30px, 7vw, 70px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.error-card img {
  width: 120px;
  margin: 0 auto 24px;
  border-radius: 28px;
}

.error-code {
  margin: 0;
  color: var(--pink);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.error-card h1 {
  margin-top: 8px;
  font-size: clamp(2.3rem, 8vw, 4.5rem);
}

.button {
  display: inline-flex;
  margin-top: 22px;
  padding: 12px 19px;
  border-radius: 12px;
  color: #fff;
  background: var(--blue-dark);
  font-weight: 850;
  text-decoration: none;
}

.button:hover {
  color: #fff;
  background: #8840bd;
}

@media (max-width: 880px) {
  .header-inner {
    min-height: auto;
    padding: 13px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .nav-list {
    width: 100%;
    justify-content: flex-start;
  }

  .nav-list a {
    padding: 7px 9px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-grid,
  .showcase {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    transform: none;
  }

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

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .container,
  .legal-wrap {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand img {
    width: 43px;
    height: 43px;
    border-radius: 12px;
  }

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

  .nav-list a {
    text-align: center;
  }

  .hero {
    padding: 46px 0 58px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.5rem);
  }

  .section {
    padding: 64px 0;
  }

  .info-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .link-card {
    padding: 23px;
  }

  .support-band {
    padding: 28px 23px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .legal-hero {
    padding: 48px 0 34px;
  }

  .legal-hero h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
    overflow-wrap: anywhere;
  }

  .legal-wrap {
    padding: 34px 0 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

