:root {
  --navy: #082f5e;
  --navy-deep: #041b35;
  --blue: #0b69bd;
  --orange: #e96818;
  --orange-dark: #9a4512;
  --teal: #087f73;
  --gold: #b47b08;
  --ink: #172033;
  --muted: #596679;
  --line: #d8e2ec;
  --soft: #f4f7fb;
  --warm: #fff8ef;
  --white: #fff;
  --shadow: 0 16px 42px rgba(8, 47, 94, .12);
  --shadow-soft: 0 8px 24px rgba(8, 47, 94, .08);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.62;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #0b5dab; outline-offset: 3px; }
.cta :focus-visible,
.site-footer :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px #082f5e; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 9999;
  padding: 11px 15px;
  color: #fff;
  background: #000;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  width: min(1460px, calc(100% - 32px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--navy);
  font-size: 1.03rem;
  font-weight: 850;
  text-decoration: none;
}
.brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; }
.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}
.primary-nav a {
  padding: 9px 10px;
  color: #27364a;
  border-radius: 9px;
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
}
.primary-nav a:hover,
.primary-nav a[aria-current] { color: var(--navy); background: #eaf2fb; }
.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 9px 13px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-weight: 750;
  cursor: pointer;
}
.breadcrumbs { padding: 13px 0; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { font-weight: 750; }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(233, 104, 24, .18), transparent 27%),
    radial-gradient(circle at 12% 85%, rgba(11, 105, 189, .15), transparent 30%),
    linear-gradient(135deg, #f2f7fc 0%, #fff 50%, #fff7ed 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, .86fr);
  align-items: center;
  gap: 64px;
  padding: 80px 0;
}
.eyebrow,
.kicker {
  color: var(--orange-dark);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; color: var(--navy); line-height: 1.14; }
h1 {
  max-width: 780px;
  margin: 14px 0 22px;
  font-size: clamp(2.55rem, 5.4vw, 5rem);
  letter-spacing: -.045em;
}
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); letter-spacing: -.025em; }
h3 { font-size: 1.3rem; }
.lead { max-width: 760px; color: #38485e; font-size: clamp(1.08rem, 1.7vw, 1.28rem); }
.hero-note { max-width: 700px; color: var(--muted); }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 21px;
  color: #fff;
  background: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(8, 47, 94, .15);
  font-weight: 800;
  text-decoration: none;
}
.button:hover { transform: translateY(-1px); text-decoration: none; }
.button.secondary { color: var(--navy); background: #fff; border-color: #b8c8da; box-shadow: none; }
.button.orange { background: #a84209; border-color: #a84209; }
.button.disabled { color: #5c6470; background: #eef1f4; border-color: #d6dce3; box-shadow: none; cursor: default; }

.icon-cluster {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(8, 47, 94, .12);
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.icon-cluster::before {
  content: "One ecosystem";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  padding: 8px 13px;
  color: #fff;
  background: var(--navy-deep);
  border: 4px solid #fff;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  font-size: .78rem;
  font-weight: 850;
  white-space: nowrap;
}
.icon-cluster img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24%;
  box-shadow: 0 12px 25px rgba(8, 34, 65, .2);
}

.section { padding: 82px 0; }
.section.alt { background: var(--soft); border-block: 1px solid var(--line); }
.section.warm { background: var(--warm); border-block: 1px solid #f0dcc5; }
.section-heading { max-width: 850px; margin: 0 auto 38px; text-align: center; }
.section-heading p { margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }

.choice-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.choice {
  display: block;
  padding: 24px;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--accent, var(--blue));
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
.choice:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.choice strong { display: block; margin-bottom: 7px; color: var(--navy); font-size: 1.1rem; }
.choice p { margin: 0; color: var(--muted); }

.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.app-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 24px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.app-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--accent, var(--blue));
}
.app-card-icon { width: 124px; height: 124px; object-fit: cover; border-radius: 25%; box-shadow: 0 12px 24px rgba(6, 31, 59, .2); }
.app-card h3 { margin: 8px 0 6px; font-size: 1.48rem; }
.app-card p { color: var(--muted); }
.app-card ul { padding-left: 19px; color: #39485d; }
.app-card li + li { margin-top: 5px; }
.role { color: var(--accent, var(--blue)); font-size: .78rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  margin: 0 0 8px;
  color: #176044;
  background: #e8f7ef;
  border-radius: 999px;
  font-size: .77rem;
  font-weight: 850;
}
.status.coming { color: #755000; background: #fff1c7; }
.card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.text-link { font-weight: 800; }

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.compare-table { width: 100%; min-width: 840px; border-collapse: collapse; }
.compare-table caption { padding: 18px 20px 12px; color: var(--navy); text-align: left; font-size: 1.2rem; font-weight: 850; }
.compare-table th,
.compare-table td { padding: 16px 18px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { color: var(--navy); background: #edf4fb; }
.compare-table tbody th { color: var(--navy); background: #fbfdff; white-space: nowrap; }

.journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: journey;
}
.journey-step { position: relative; padding: 28px 25px; background: #fff; border-block: 1px solid var(--line); }
.journey-step:first-child { border-left: 1px solid var(--line); border-radius: 18px 0 0 18px; }
.journey-step:last-child { border-right: 1px solid var(--line); border-radius: 0 18px 18px 0; }
.journey-step + .journey-step { border-left: 1px solid var(--line); }
.journey-step::before {
  counter-increment: journey;
  content: "0" counter(journey);
  display: block;
  margin-bottom: 12px;
  color: var(--orange-dark);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.journey-step p { margin-bottom: 0; color: var(--muted); }

.detail-hero .hero-inner { min-height: 600px; }
.detail-visual { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 22px; }
.detail-icon { width: 150px; border-radius: 25%; box-shadow: 0 16px 34px rgba(8, 47, 94, .25); }
.phone {
  max-width: 260px;
  margin: auto;
  padding: 8px;
  background: #071016;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.phone img { width: 100%; border-radius: 23px; }
.cycle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cycle-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.cycle-card b { display: block; margin-bottom: 8px; color: var(--teal); font-size: 1.22rem; }
.cycle-card p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr); align-items: center; gap: 58px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.feature { padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-soft); }
.feature p { margin-bottom: 0; color: var(--muted); }
.callout { padding: 25px; background: #fff7e9; border-left: 6px solid var(--gold); border-radius: 0 15px 15px 0; }
.privacy-panel { padding: 32px; background: #edf9f6; border: 1px solid #b8e2d9; border-radius: var(--radius); }
.screenshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.screenshot-grid figure { margin: 0; }
.screenshot-grid .phone { max-width: 280px; }
.screenshot-grid figcaption { margin-top: 13px; color: var(--muted); text-align: center; }

.cta {
  padding: 76px 0;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--navy-deep), var(--blue));
}
.cta h2 { color: #fff; }
.cta p { max-width: 760px; margin: 0 auto; color: #deebf8; font-size: 1.1rem; }
.cta .buttons { justify-content: center; }
.cta .button { color: var(--navy); background: #fff; border-color: #fff; }
.cta .button.secondary { color: #fff; background: transparent; border-color: rgba(255,255,255,.65); }

.site-footer { padding: 48px 0 24px; color: #dbe8f7; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; }
.site-footer h2,
.site-footer h3 { color: #fff; }
.site-footer p { color: #c8d9ec; }
.footer-links { display: grid; gap: 8px; }
.footer-links a,
.fineprint a { color: #fff; }
.fineprint { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: .9rem; }

@media (max-width: 1470px) {
  .nav-toggle { display: block; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .primary-nav.open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .primary-nav { max-height: calc(100vh - 76px); max-height: calc(100dvh - 76px); overflow-y: auto; }
  .primary-nav a { padding: 11px; }
}

@media (max-width: 1320px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; min-height: auto; }
  .icon-cluster { max-width: 560px; margin: auto; }
  .choice-grid,
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .journey-step { border: 1px solid var(--line); border-radius: 0; }
  .journey-step:first-child { border-radius: 18px 0 0 0; }
  .journey-step:nth-child(2) { border-radius: 0 18px 0 0; }
  .journey-step:nth-child(3) { border-radius: 0 0 0 18px; }
  .journey-step:last-child { border-radius: 0 0 18px 0; }
}

@media (max-width: 780px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .hero-inner { padding: 58px 0; }
  .app-grid,
  .split,
  .feature-grid,
  .screenshot-grid { grid-template-columns: 1fr; }
  .app-card { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 23px; }
  .app-card-icon { width: 96px; height: 96px; }
  .cycle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-visual { max-width: 520px; margin: auto; }
  .split-copy { order: -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .nav-wrap { width: calc(100% - 24px); }
  .brand span { font-size: .9rem; }
  .primary-nav.open { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .choice-grid,
  .journey,
  .cycle-grid { grid-template-columns: 1fr; }
  .journey-step,
  .journey-step:first-child,
  .journey-step:nth-child(2),
  .journey-step:nth-child(3),
  .journey-step:last-child { border-radius: 14px; }
  .journey { gap: 10px; }
  .app-card { grid-template-columns: 1fr; }
  .app-card-icon { width: 108px; height: 108px; }
  .buttons,
  .card-actions { display: grid; }
  .button { width: 100%; text-align: center; }
  .detail-visual { grid-template-columns: 1fr; }
  .detail-icon { width: 122px; margin: auto; }
}

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