/* ==========================================================================
   CyberProdigy LLC — site stylesheet
   Modern responsive redesign, 2026. No frameworks, no external assets.
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #081120;
  --navy-900: #0c1a30;
  --navy-800: #12233f;
  --navy-700: #1b3255;
  --brand-400: #38bdf8;
  --brand-500: #0ea5e9;
  --brand-600: #0284c7;
  --brand-700: #036ba1;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;

  /* Neutrals */
  --bg: #f4f7fa;
  --surface: #ffffff;
  --line: #dde5ee;
  --ink-900: #10203a;
  --ink-700: #33455f;
  --ink-500: #5b6b82;
  --ink-300: #93a3b8;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 58, 0.06), 0 1px 6px rgba(16, 32, 58, 0.05);
  --shadow-md: 0 4px 12px rgba(16, 32, 58, 0.08), 0 2px 4px rgba(16, 32, 58, 0.05);
  --shadow-lg: 0 20px 45px rgba(8, 17, 32, 0.22);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bg);
}

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

a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  line-height: 1.2;
  color: var(--ink-900);
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-600);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 17, 32, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  border-radius: 9px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.brand-mark svg { width: 16px; height: 16px; fill: #fff; }

.brand span b { color: var(--brand-400); font-weight: 700; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.6rem;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; fill: #fff; display: block; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  color: #d4deec;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); text-decoration: none; }
.site-nav a[aria-current="page"] { color: #fff; background: rgba(14, 165, 233, 0.28); }

.site-nav a.nav-cta {
  color: #08111f;
  background: var(--amber-400);
}
.site-nav a.nav-cta:hover { background: var(--amber-500); color: #08111f; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    padding: 0.5rem 1.25rem 1rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { border-radius: var(--radius-sm); padding: 0.75rem 0.9rem; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(14, 165, 233, 0.28), transparent 60%),
    radial-gradient(700px 380px at -5% 110%, rgba(245, 158, 11, 0.12), transparent 55%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #e8eef7;
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-400);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  max-width: 17ch;
  margin-bottom: 0.4em;
}
.hero h1 em {
  font-style: normal;
  color: var(--brand-400);
}

.hero p.lede {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: #b9c7da;
  max-width: 56ch;
  margin: 0 0 2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 24px rgba(14, 165, 233, 0.45); color: #fff; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: #e8eef7;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 760px;
}
.hero-stats div {
  background: rgba(12, 26, 48, 0.75);
  padding: 1rem 1.25rem;
}
.hero-stats strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.hero-stats span { color: #9fb0c7; font-size: 0.86rem; }

/* --------------------------------------------------------------------------
   Featured-on strip
   -------------------------------------------------------------------------- */
.press-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.press-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  padding: 1rem 0;
  text-align: center;
}
.press-strip p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.press-strip img { height: 34px; width: auto; }
.press-strip a.watch {
  font-weight: 700;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 4rem 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 2.25rem; }
.section-head h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
}
.section-head p { color: var(--ink-500); margin: 0; font-size: 1.05rem; }

/* Category filter */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.filter-btn {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-btn:hover { border-color: var(--brand-500); color: var(--brand-600); }
.filter-btn.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

/* --------------------------------------------------------------------------
   App cards
   -------------------------------------------------------------------------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}

.app-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.app-card.hidden { display: none; }

.app-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(160deg, #eef4fa, #e2ecf5);
  padding: 1.4rem 1rem 0;
  height: 190px;
  overflow: hidden;
}
.app-card-media img {
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: top;
  border-radius: 12px 12px 0 0;
  border: 1px solid var(--line);
  border-bottom: 0;
  box-shadow: 0 6px 18px rgba(16, 32, 58, 0.16);
}

/* Icon-led card media (app icon instead of screenshot) */
.app-card-media.icon-tile {
  height: 150px;
  padding: 0;
}
.app-card-media.icon-tile img {
  height: auto;
  width: 92px;
  border-radius: 21px;
  border: 0;
  box-shadow: 0 10px 24px rgba(16, 32, 58, 0.22), 0 2px 6px rgba(16, 32, 58, 0.12);
  transition: transform 0.18s ease;
}
.app-card:hover .app-card-media.icon-tile img { transform: scale(1.05); }

/* App icon on detail pages */
.app-icon {
  width: 76px;
  height: 76px;
  border-radius: 17px;
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}

.app-card-body {
  padding: 1.25rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }

.chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
}
.chip.amber {
  color: #92600a;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.4);
}

.price {
  font-weight: 800;
  color: var(--ink-900);
  font-size: 0.98rem;
  white-space: nowrap;
}

.app-card h3 { font-size: 1.22rem; font-weight: 750; margin: 0; }
.app-card h3 a { color: inherit; }
.app-card h3 a:hover { color: var(--brand-600); text-decoration: none; }

.app-card p.blurb {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.94rem;
  flex: 1;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.learn-more {
  font-weight: 700;
  font-size: 0.92rem;
  margin-left: auto;
  white-space: nowrap;
}
.learn-more::after { content: " →"; }

/* --------------------------------------------------------------------------
   Store buttons
   -------------------------------------------------------------------------- */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--navy-950);
  color: #fff;
  border: 1px solid var(--navy-950);
  border-radius: 10px;
  padding: 0.42rem 0.85rem 0.42rem 0.7rem;
  line-height: 1.1;
  transition: background 0.15s ease, transform 0.15s ease;
}
.store-btn:hover { background: var(--navy-700); color: #fff; text-decoration: none; transform: translateY(-1px); }
.store-btn svg { width: 18px; height: 18px; fill: #fff; flex: none; }
.store-btn small {
  display: block;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.75;
  text-transform: uppercase;
}
.store-btn b { font-size: 0.88rem; font-weight: 700; letter-spacing: -0.01em; }

.store-btn.lg { padding: 0.6rem 1.15rem 0.6rem 0.95rem; border-radius: 12px; }
.store-btn.lg svg { width: 24px; height: 24px; }
.store-btn.lg small { font-size: 0.66rem; }
.store-btn.lg b { font-size: 1.05rem; }

.store-btn.light {
  background: #fff;
  color: var(--ink-900);
  border-color: var(--line);
}
.store-btn.light svg { fill: var(--ink-900); }
.store-btn.light:hover { background: var(--bg); color: var(--ink-900); }

/* --------------------------------------------------------------------------
   Split feature band (home about teaser)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

.checklist { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  color: var(--ink-700);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.14) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="%230284c7" d="M6.4 12.2 2.7 8.5l1.4-1.4 2.3 2.3 5.5-5.6 1.4 1.4z"/></svg>') center/70% no-repeat;
}

.stat-panel {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: #dbe6f4;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.stat-panel h3 { color: #fff; font-size: 1.25rem; }
.stat-panel dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 1.5rem 0 0; }
.stat-panel dt { font-size: 1.7rem; font-weight: 800; color: var(--brand-400); letter-spacing: -0.02em; }
.stat-panel dd { margin: 0; font-size: 0.88rem; color: #a9bad2; }

/* --------------------------------------------------------------------------
   Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #e8eef7;
  padding: 3rem 0 2.5rem;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin: 0.35rem 0 0.35rem; }
.page-hero p { color: #b9c7da; max-width: 62ch; margin: 0; font-size: 1.05rem; }

.breadcrumb {
  font-size: 0.85rem;
  color: #8ca0bc;
}
.breadcrumb a { color: #b9c7da; }
.breadcrumb span { margin: 0 0.4rem; opacity: 0.6; }

/* --------------------------------------------------------------------------
   App detail pages
   -------------------------------------------------------------------------- */
.app-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 820px) { .app-hero { grid-template-columns: 1fr; } }

.app-hero-info .chip { margin-bottom: 0.9rem; }
.app-hero-info h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; }
.app-hero-info .tagline {
  font-size: 1.15rem;
  color: var(--brand-700);
  font-weight: 650;
  margin: 0 0 1rem;
}
.app-hero-info p { color: var(--ink-700); }

.buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin: 1.4rem 0 0.4rem;
}
.buy-row .price {
  font-size: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1rem;
}

.platform-note { font-size: 0.85rem; color: var(--ink-500); margin-top: 0.6rem; }

.app-hero-shot {
  justify-self: center;
  max-width: 320px;
  width: 100%;
}
.app-hero-shot img {
  width: 100%;
  border-radius: 22px;
  border: 6px solid var(--navy-950);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.app-hero-shot figcaption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-500);
  margin-top: 0.6rem;
}

/* Feature list on detail pages */
.feature-cols {
  columns: 2;
  column-gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 700px) { .feature-cols { columns: 1; } }
.feature-cols li {
  break-inside: avoid;
  position: relative;
  padding: 0.35rem 0 0.35rem 2rem;
  color: var(--ink-700);
}
.feature-cols li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.14) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="%230284c7" d="M6.4 12.2 2.7 8.5l1.4-1.4 2.3 2.3 5.5-5.6 1.4 1.4z"/></svg>') center/70% no-repeat;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.gallery-grid a {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gallery-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-grid img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; }
.gallery-grid a.wide { grid-column: span 2; }
.gallery-grid a.wide img { aspect-ratio: 16 / 10; }
@media (max-width: 480px) { .gallery-grid a.wide { grid-column: span 1; } }

/* Self-hosted portrait app preview */
.video-portrait video {
  display: block;
  width: min(340px, 100%);
  border-radius: 22px;
  border: 6px solid var(--navy-950);
  box-shadow: var(--shadow-lg);
  background: #000;
}

/* Video embed */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 760px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--navy-950);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* FAQ */
.faq-list { display: grid; gap: 0.8rem; max-width: 820px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 3rem 1rem 1.25rem;
  list-style: none;
  position: relative;
  color: var(--ink-900);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--brand-600);
  transition: transform 0.15s ease;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details > div {
  padding: 0 1.25rem 1.1rem;
  color: var(--ink-700);
}
.faq-list details > div p { margin: 0 0 0.6em; }
.faq-list details > div p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(56, 189, 248, 0.25), transparent 60%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: #e8eef7;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band h2 { color: #fff; margin: 0 0 0.25rem; font-size: 1.5rem; }
.cta-band p { margin: 0; color: #b9c7da; }
.cta-band .buy-row { margin: 0; }

/* Fine print */
.fine-print {
  font-size: 0.82rem;
  color: var(--ink-500);
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  max-width: 820px;
}
.fine-print p { margin: 0 0 0.5em; }

/* --------------------------------------------------------------------------
   Prose pages (about / privacy / contact)
   -------------------------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.55rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.prose p, .prose li { color: var(--ink-700); }
.prose .updated { font-size: 0.85rem; color: var(--ink-500); }

.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.info-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(14, 165, 233, 0.12);
  margin-bottom: 1rem;
}
.info-card .icon svg { width: 20px; height: 20px; fill: var(--brand-600); }
.info-card h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.info-card p { margin: 0 0 0.75rem; color: var(--ink-500); font-size: 0.94rem; }
.info-card a.big-link { font-weight: 700; font-size: 1.02rem; word-break: break-all; }

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  display: grid;
  gap: 1.1rem;
}
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 620px) { .contact-form .row { grid-template-columns: 1fr; } }

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--ink-900);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}
.contact-form textarea { resize: vertical; min-height: 140px; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.15rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.notice.success {
  background: #e7f8ef;
  border: 1px solid #9fdfbe;
  color: #14663c;
}
.notice.error {
  background: #fdeeee;
  border: 1px solid #f2b3b3;
  color: #9c2121;
}
.notice.info {
  background: #fff7e8;
  border: 1px solid #f0d9a8;
  color: #8a5b06;
}
.notice.info a { color: inherit; font-weight: 700; text-decoration: underline; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: #a9bad2;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3rem 0 2rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

.site-footer .brand { font-size: 1.1rem; margin-bottom: 0.75rem; }
.site-footer p { font-size: 0.92rem; margin: 0.5rem 0 0; max-width: 40ch; }

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer ul a { color: #c3d0e2; font-size: 0.95rem; }
.site-footer ul a:hover { color: #fff; }

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: #7f92ac;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}
.footer-bottom a { color: #a9bad2; }
