:root {
  --navy: #000080;
  --navy-deep: #000060;
  --yellow: #ffe000;
  --ink: #14181f;
  --muted: #586173;
  --detail: #6e7686;
  --line: #e3e6ec;
  --paper: #f6f7fa;
  --white: #ffffff;
  --maxw: 960px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}

a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 2px;
  min-height: 68px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
}
.brand .mark {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 4px 9px;
  font-size: 18px;
  letter-spacing: 1.5px;
  color: var(--yellow);
}
.brand:hover { text-decoration: none; }
.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 500;
  margin-left: 22px;
}
.nav a:hover { color: var(--white); text-decoration: none; }

/* Hero */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}
.hero .kicker {
  color: var(--yellow);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
/* The koru frieze closing the hero — the app's own motif, watermark-quiet. */
.hero-koru {
  margin-top: 56px;
  padding: 0 0 8px;
  opacity: 0.14;
  pointer-events: none;
}
.hero-koru img {
  display: block;
  width: min(860px, 92%);
  margin: 0 auto;
  height: auto;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.hero h1 .accent { color: var(--yellow); }
.hero p.lead {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 0 32px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--white);
  color: var(--ink);
  border-radius: 12px;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.15;
}
.store-badge svg { flex: none; }
.store-badge .small { font-size: 11px; font-weight: 500; color: var(--muted); display: block; line-height: 1; margin-bottom: 3px; }
.store-badge.disabled { opacity: 0.65; cursor: default; }
a.store-badge:hover { text-decoration: none; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 15px;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); text-decoration: none; }

/* Sections */
section { padding: 64px 0; }
h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 12px; }
.section-sub { color: var(--muted); font-size: 18px; margin: 0 0 40px; max-width: 640px; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  background: var(--white);
}
.card .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--yellow);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  margin-bottom: 16px;
}
.card h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }

/* Screenshots stub */
.shots { background: var(--paper); }
.shots-strip {
  display: grid;
  /* Two-up minimum even on phones — four full-width towers would swallow
     the page; a stub only needs to hold the label. */
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 840px;
}
.phone-stub {
  aspect-ratio: 9 / 19;
  border-radius: 24px;
  border: 8px solid var(--ink);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 16px;
}

/* About SRN */
.about { background: var(--white); }
.about-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 8px 0 28px;
}
.about-fact {
  flex: 1 1 180px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  background: var(--paper);
}
.about-fact strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.about-fact span { color: var(--muted); font-size: 15px; }
.about-link { font-weight: 600; }

/* Legal / content pages */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: 36px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; }
.doc .updated { color: var(--detail); font-size: 15px; margin: 0 0 8px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; }
.doc h3 { font-size: 18px; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc a { text-decoration: underline; }

.draft-banner {
  background: #fff6c2;
  border: 1px solid var(--navy);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 32px;
  font-size: 15px;
  color: var(--ink);
}
.draft-banner strong { color: var(--navy-deep); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--detail);
  font-size: 14px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.site-footer .links a { color: var(--muted); margin-left: 18px; }
.site-footer .links a:first-child { margin-left: 0; }

@media (max-width: 640px) {
  .hero h1 { font-size: 34px; }
  .hero p.lead { font-size: 18px; }
  h2 { font-size: 26px; }
  .nav a { margin-left: 16px; }
}
