/* Kratos XT marketing site. Plain CSS, no build step. */

:root {
  --bg: #0A0B0E;
  --bg-2: #0E1014;
  --band: #111318;
  --ink: #F2F3F5;
  --ink-2: #C9CDD3;
  --muted: #9CA3AD;
  --faint: #6B7280;
  --red: #FF3B30;
  --red-soft: rgba(255, 59, 48, .14);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .07);
  --radius: 24px;
  --wrap: 1180px;
  --gutter: 24px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

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

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}
.skip:focus { top: 12px; }

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

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.xt { color: var(--red); }

/* ---------- navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 14, .72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-end { display: flex; align-items: center; gap: 28px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font: 600 15px/1 "Outfit", system-ui, sans-serif;
  white-space: nowrap;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: var(--ink); color: var(--bg); }
.btn-light:hover { box-shadow: 0 8px 28px rgba(255, 255, 255, .12); }
.btn-ghost {
  background: var(--glass);
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--glass-2); }

/* Apple-style "Download on the App Store" badge, drawn in HTML. */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 20px 0 16px;
  border-radius: 13px;
  background: #000;
  border: 1px solid #A6A6A6;
  color: #fff;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.appstore:hover {
  transform: translateY(-2px);
  border-color: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .5);
}
.appstore svg { width: 26px; height: 26px; flex: none; fill: currentColor; margin-top: -3px; }
.appstore span { display: flex; flex-direction: column; line-height: 1; text-align: left; }
.appstore small { font-size: 11px; font-weight: 500; letter-spacing: .02em; margin-bottom: 3px; }
.appstore strong { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }

/* ---------- shared type ---------- */

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
}

.h2 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.sub {
  margin: 16px auto 0;
  max-width: 620px;
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
}

.section { padding: 112px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.band {
  background:
    radial-gradient(900px 420px at 50% 115%, rgba(255, 59, 48, .16), transparent 70%),
    var(--band);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 0;
  background:
    radial-gradient(700px 520px at 80% 40%, rgba(255, 59, 48, .13), transparent 70%),
    radial-gradient(900px 600px at 10% -10%, rgba(255, 255, 255, .04), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: 48px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}

.hero h1 {
  margin: 26px 0 0;
  font-weight: 600;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.03;
  letter-spacing: -.035em;
}
.hero h1 .line { display: block; }

.lead {
  margin: 26px 0 0;
  max-width: 540px;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}

.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
}
.hero-proof strong { display: block; color: var(--ink); font-weight: 600; }
.proof-icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: none;
  border-radius: 12px;
  background: var(--glass);
  border: 1px solid var(--line);
  color: var(--ink);
}
.proof-icon svg { width: 20px; height: 20px; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0 20px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 8% 4%;
  background: radial-gradient(closest-side, rgba(255, 59, 48, .32), transparent);
  filter: blur(30px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  border-radius: 10.8% / 5.04%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .06),
    0 40px 80px -20px rgba(0, 0, 0, .8),
    0 18px 40px rgba(0, 0, 0, .45);
  background: #000;
}
.phone img { width: 100%; height: auto; border-radius: inherit; }
.hero .phone { width: 340px; }

.chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px 11px 11px;
  border-radius: 18px;
  background: rgba(22, 24, 30, .72);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  font-size: 13px;
  line-height: 1.3;
  color: var(--muted);
  text-align: left;
  white-space: nowrap;
}
.chip strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.chip-icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 11px;
  background: var(--red-soft);
  color: var(--red);
}
.chip-icon svg { width: 18px; height: 18px; }
.chip-a { top: 31%; left: -4%; animation: floaty 5s ease-in-out infinite; }
.chip-b { bottom: 18%; right: -3%; animation: floaty2 6s ease-in-out infinite; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes floaty2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 34px;
  margin-top: 56px;
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
}
.strip-label { font-size: 14px; color: var(--faint); }
.strip-item { font-size: 17px; font-weight: 500; color: var(--ink-2); }

/* ---------- how it works ---------- */

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

.card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.step-num {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  color: rgba(255, 255, 255, .08);
}
.step.is-accent {
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(255, 59, 48, .26), transparent 70%),
    var(--glass);
  border-color: rgba(255, 59, 48, .35);
}
.step.is-accent .step-num { color: rgba(255, 59, 48, .45); }

.icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--glass-2);
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.icon svg { width: 22px; height: 22px; }
.icon.red { background: var(--red); border-color: transparent; color: #fff; }

.card h3 {
  margin: 22px 0 8px;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.card p { margin: 0; font-size: 16px; font-weight: 300; line-height: 1.6; color: var(--muted); }

/* ---------- a look inside ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  max-width: 1020px;
  margin: 0 auto;
}
.shot { margin: 0; text-align: center; }
.shot .phone { max-width: 230px; margin: 0 auto; }
.shot figcaption { margin-top: 22px; }
.shot strong { display: block; font-size: 17px; font-weight: 600; }
.shot span { font-size: 15px; font-weight: 300; color: var(--muted); }

/* ---------- features ---------- */

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 28px; transition: border-color .25s, background .25s, transform .25s; }
.feature:hover { border-color: var(--line-2); background: var(--glass-2); transform: translateY(-2px); }
.feature h3 { font-size: 19px; margin-top: 20px; }
.feature p { font-size: 15.5px; }
.feature .icon { width: 44px; height: 44px; border-radius: 13px; background: var(--red-soft); border-color: rgba(255, 59, 48, .2); color: var(--red); }
.feature .icon svg { width: 21px; height: 21px; }

/* ---------- split sections ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 72px;
}
.split.reverse { grid-template-columns: 380px minmax(0, 1fr); }
.split.reverse .split-visual { order: -1; }
.split .h2 { max-width: 620px; }
.split .sub { margin-left: 0; margin-right: 0; }

.checks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; align-items: center; gap: 13px; font-size: 17px; color: var(--ink-2); }
.tick {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  flex: none;
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red);
}
.tick svg { width: 15px; height: 15px; }

.split-visual { position: relative; display: flex; justify-content: center; }
.split-visual::before {
  content: "";
  position: absolute;
  inset: 10% 0;
  background: radial-gradient(closest-side, rgba(255, 59, 48, .22), transparent);
  filter: blur(24px);
}
.split-visual .phone { width: 290px; }
.split-visual .chip { bottom: 12%; left: -6%; right: auto; top: auto; }

/* ---------- price ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}
.plan { padding: 34px; }
.plan h3 { margin: 0; font-size: 19px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 6px; }
.price b { font-size: 52px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.price span { font-size: 16px; color: var(--muted); }
.plan > p { margin-bottom: 22px; }
.plan .checks { margin: 0 0 30px; gap: 12px; }
.plan .checks li { font-size: 16px; }
.plan .btn { width: 100%; height: 50px; }
.plan.is-accent {
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(255, 59, 48, .24), transparent 70%),
    var(--glass);
  border-color: rgba(255, 59, 48, .35);
}
.badge {
  position: absolute;
  top: 22px; right: 22px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- faq ---------- */

.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.qa { padding: 24px 26px; border-radius: 20px; }
.qa h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: 0; }
.qa p { font-size: 16px; }
.qa a, .prose a, .link { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255, 59, 48, .7); text-underline-offset: 3px; }
.qa a:hover, .prose a:hover, .link:hover { text-decoration-color: var(--red); }

/* ---------- final call to action ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: 80px 32px;
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(700px 380px at 50% 120%, rgba(255, 59, 48, .38), transparent 70%),
    linear-gradient(180deg, #15171D, #0F1116);
  border: 1px solid var(--line-2);
}
.cta-mark {
  width: 180px;
  height: 180px;
  margin: -12px auto 8px;
}
.cta .h2 { position: relative; }
.cta .sub { position: relative; color: var(--ink-2); }
.cta .hero-ctas { justify-content: center; position: relative; }
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .06);
  pointer-events: none;
}
.ring-a { width: 420px; height: 420px; top: -210px; right: -120px; }
.ring-b { width: 300px; height: 300px; bottom: -170px; left: -90px; }

/* ---------- footer ---------- */

.footer { margin-top: 96px; background: var(--bg-2); border-top: 1px solid var(--line); }
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding: 56px 0 44px;
}
.footer-about p { margin: 16px 0 0; max-width: 320px; font-size: 15px; font-weight: 300; color: var(--muted); }
.footer-cols { display: flex; gap: 56px; }
.footer-cols h2 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
}
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-cols a { font-size: 15px; color: var(--ink-2); transition: color .2s; }
.footer-cols a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--faint);
}

/* ---------- legal / support pages ---------- */

.page-hero {
  padding: 84px 0 40px;
  text-align: center;
  background: radial-gradient(700px 360px at 50% 0%, rgba(255, 59, 48, .12), transparent 70%);
}
.page-hero h1 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -.03em;
}
.page-hero .sub { margin-top: 14px; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin: 44px 0 10px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.prose p, .prose li { color: var(--ink-2); font-weight: 300; }
.prose p { margin: 0 0 12px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: normal; color: var(--ink); font-weight: 500; }
.prose .card p { margin: 0; }
.prose .card { padding: 24px 26px; }
.prose .muted { margin-top: 36px; font-size: 15px; color: var(--muted); }
.callout {
  background:
    radial-gradient(400px 220px at 100% 0%, rgba(255, 59, 48, .2), transparent 70%),
    var(--glass);
  border-color: rgba(255, 59, 48, .3);
}

.support-list { display: grid; gap: 14px; }
.support-list .qa p { margin: 0; }
.contact { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.contact p { flex: 1 1 320px; }

/* ---------- entrance motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 32px; }
  .hero .phone { width: 300px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .split, .split.reverse { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
  .split.reverse { grid-template-columns: 320px minmax(0, 1fr); }
  .split-visual .phone { width: 260px; }
}

@media (max-width: 900px) {
  .nav-links { gap: 20px; }
  .nav-end { gap: 20px; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-proof { text-align: left; }
  .hero-visual { margin: 12px auto 0; width: fit-content; }
  .split-visual { width: fit-content; margin: 0 auto; }
  .steps { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .gallery {
    display: flex;
    gap: 18px;
    max-width: none;
    margin: 0 calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 210px; scroll-snap-align: center; }
  .split, .split.reverse { grid-template-columns: minmax(0, 1fr); gap: 48px; text-align: center; }
  .split .h2, .split .sub { margin-left: auto; margin-right: auto; }
  .split.reverse .split-visual { order: 0; }
  .split .checks { justify-content: center; }
  .split .checks li { text-align: left; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .footer-top { flex-direction: column; }
}

@media (max-width: 760px) {
  .nav-inner { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 10px; row-gap: 8px; }
  .nav-end { display: contents; }
  .nav-end .btn { order: 2; height: 38px; padding: 0 16px; font-size: 14px; }
  .nav-end nav { order: 3; width: 100%; min-width: 0; }
  .nav-links {
    width: 100%;
    gap: 22px;
    overflow-x: auto;
    padding: 4px 2px 2px;
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; font-size: 14px; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { flex-wrap: wrap; gap: 32px 48px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(38px, 11vw, 46px); }
  .lead { font-size: 17px; }
  .hero .phone { width: min(270px, 78vw); }
  .chip { padding: 9px 13px 9px 9px; font-size: 12px; }
  .chip strong { font-size: 13px; }
  .chip-icon { width: 30px; height: 30px; }
  .chip-a { left: 0; top: 33%; }
  .chip-b { right: 0; bottom: 12%; }
  .strip { gap: 10px 22px; margin-top: 40px; }
  .strip-label { width: 100%; text-align: center; }
  .strip-item { font-size: 15px; }
  .card { padding: 24px; }
  .plan { padding: 28px 24px; }
  .cta { padding: 56px 20px; border-radius: 26px; }
  .cta-mark { width: 140px; height: 140px; }
  .split-visual .phone { width: min(250px, 72vw); }
  .split-visual .chip { left: 0; }
  .page-hero { padding-top: 56px; }
  .qa { padding: 20px; }
  .contact .btn { width: 100%; }
}

.qa .qa-title { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: 0; }
.prose .qa p { margin: 0; }
.prose a.btn-light { color: var(--bg); text-decoration: none; }
