/* Kootu marketing page — the public face at "/", built on the same tokens the
   Flutter app and the admin panel share. Fonts come from kootu-fonts.css. */

:root {
  --cream: #fbf6ef;
  --cream-warm: #f9f2e8;
  --surface: #ffffff;
  --surface-soft: #fffcf7;

  --navy: #14295b;
  --navy-deep: #0e1e44;
  --heading: #17315f;

  --saffron: #e8752a;
  --rust: #c0562a;

  --text: #1f2937;
  --muted: #6b7280;
  --faint: #9aa3af;
  --border: #ede3d5;
  --divider: #f1e9dd;

  --shadow-sm: 0 2px 8px rgba(20, 41, 91, .06);
  --shadow-md: 0 12px 32px -8px rgba(20, 41, 91, .14);
  --shadow-lg: 0 40px 80px -30px rgba(20, 41, 91, .38);

  --r-card: 18px;
  --r-lg: 28px;
  --pill: 999px;

  --maxw: 1140px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  color: var(--heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -.01em;
}

p { margin: 0; }

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.display {
  font-family: 'Playfair', Georgia, serif;
  font-weight: 700;
  letter-spacing: -.02em;
}

:focus-visible {
  outline: 3px solid var(--saffron);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 0;
  top: -60px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--navy);
  color: #fff;
  border-radius: 0 0 12px 0;
}

.skip-link:focus { top: 0; }

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 239, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--divider);
  box-shadow: 0 6px 24px -18px rgba(20, 41, 91, .5);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: contain;
  /* background: #fcf6ee; */
  box-shadow: var(--shadow-sm);
}

.brand-name {
  font-family: 'Playfair', Georgia, serif;
  font-size: 25px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}

.nav-links a { position: relative; padding-block: 4px; }

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--saffron);
  transition: right .25s ease;
}

.nav-links a:hover::after { right: 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding-inline: 22px;
  border: 0;
  border-radius: var(--pill);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.btn svg { flex: none; }

.btn-primary {
  background: var(--saffron);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(232, 117, 42, .85);
}

.btn-primary:hover {
  background: var(--rust);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(192, 86, 42, .9);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: #ddcdb5;
  transform: translateY(-2px);
}

.btn-sm { height: 40px; padding-inline: 18px; font-size: 14px; }

/* ----------------------------------------------------------- store badges */

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 198px;
  padding: 11px 22px 11px 18px;
  border-radius: 15px;
  background: var(--navy);
  color: #fff;
  border: 1.5px solid var(--navy);
  box-shadow: 0 14px 30px -16px rgba(14, 30, 68, .95);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.store-badge:hover {
  background: var(--navy-deep);
  transform: translateY(-3px);
  box-shadow: 0 20px 36px -18px rgba(14, 30, 68, 1);
}

.store-badge svg { flex: none; }

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.store-badge-text small {
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .72;
}

.store-badge-text strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.store-badge.is-soon {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
  box-shadow: none;
  cursor: default;
}

.store-badge.is-soon:hover { transform: none; background: transparent; }

.store-badge.on-dark {
  background: #fff;
  color: var(--navy-deep);
  border-color: #fff;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .8);
}

.store-badge.on-dark:hover { background: #fff; }

.store-badge.on-dark.is-soon {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .34);
}

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

.hero {
  position: relative;
  padding: clamp(44px, 6vw, 88px) 0 clamp(52px, 7vw, 96px);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  width: 620px;
  height: 620px;
  top: -230px;
  right: -180px;
  background: radial-gradient(circle, rgba(232, 117, 42, .26), transparent 66%);
}

.hero::after {
  width: 560px;
  height: 560px;
  bottom: -300px;
  left: -220px;
  background: radial-gradient(circle, rgba(20, 41, 91, .18), transparent 66%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 10px;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 4px rgba(232, 117, 42, .18);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.06;
}

.hero h1 .accent {
  color: var(--saffron);
  font-style: italic;
}

.hero-sub {
  margin-top: 20px;
  max-width: 31em;
  font-size: clamp(16px, 1.5vw, 18.5px);
  color: var(--muted);
}

.hero .store-row { margin-top: 32px; }

.hero-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

/* Initial-letter avatars. The page carries no third-party photography, so
   nothing here needs a licence or an attribution line. */
.avatar-stack { display: flex; flex: none; }

.avatar-stack span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 3px solid var(--cream);
  margin-left: -12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.avatar-stack span:first-child { margin-left: 0; }

.hero-social p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.hero-social strong { color: var(--navy); font-weight: 600; }

/* ----------------------------------------------------------- phone mockup */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 6% 10% 2%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(232, 117, 42, .22), transparent 68%);
  filter: blur(40px);
}

.phone {
  position: relative;
  width: min(310px, 82vw);
  aspect-ratio: 310 / 630;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(165deg, #1c355f, #0c1a3c 60%, #182c56);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  border-radius: var(--pill);
  background: #0a1633;
  z-index: 3;
}

.phone-screen {
  height: 100%;
  border-radius: 36px;
  background: var(--cream);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 40px 14px 14px;
  gap: 11px;
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 2px;
}

.app-bar-brand {
  font-family: 'Playfair', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

.app-bar-bell {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.app-bar-bell::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--saffron);
  border: 1.5px solid var(--surface);
}

.app-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding-inline: 12px;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--faint);
  font-size: 11.5px;
}

.app-chips {
  display: flex;
  gap: 6px;
  overflow: hidden;
}

.app-chip {
  padding: 5px 11px;
  border-radius: var(--pill);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.app-card {
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.app-poster {
  position: relative;
  height: 94px;
  display: flex;
  align-items: flex-end;
  /* Right-aligned: the floating "2BHK" card clips the poster's left edge. */
  justify-content: flex-end;
  padding: 9px;
  background: linear-gradient(135deg, #f2a95f, #e8752a 46%, #c0562a);
}

.app-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 22% 28%, rgba(255, 255, 255, .3), transparent 44%),
    radial-gradient(circle at 80% 72%, rgba(255, 255, 255, .2), transparent 42%);
}

.app-poster-date {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .95);
  line-height: 1.1;
}

.app-poster-date b { font-size: 15px; font-weight: 700; color: var(--navy); }

.app-poster-date small {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rust);
}

.app-card-body { padding: 9px 11px 11px; }

.app-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--pill);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .02em;
}

.app-card-body h4 {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
}

.app-meta {
  margin-top: 3px;
  font-size: 10px;
  color: var(--muted);
}

.app-card-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
}

.app-card-foot .avatar-stack span {
  width: 20px;
  height: 20px;
  border-width: 2px;
  border-color: var(--surface);
  margin-left: -7px;
  font-size: 8.5px;
}

.app-card-foot > span { font-size: 10px; color: var(--muted); }

.app-rsvp {
  margin-left: auto;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: var(--saffron);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}

.app-post {
  display: flex;
  gap: 9px;
  padding: 11px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.app-post-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  flex: none;
}

.app-stay-thumb {
  width: 46px;
  height: 42px;
  border-radius: 10px;
  flex: none;
  background: linear-gradient(140deg, #b79bf7, #7c4de0);
}

.app-post-name { font-size: 11px; font-weight: 600; color: var(--navy); }
.app-post-name span { font-weight: 400; color: var(--faint); }
.app-post-body { margin-top: 3px; font-size: 10.5px; color: var(--text); line-height: 1.45; }
.app-post-foot { margin-top: 7px; font-size: 9.5px; color: var(--muted); }

.app-tabbar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  padding-top: 11px;
  border-top: 1px solid var(--divider);
}

.app-tabbar span {
  width: 22px;
  height: 4px;
  border-radius: var(--pill);
  background: var(--divider);
}

.app-tabbar span:first-child { background: var(--saffron); width: 26px; }

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  animation: float 8s ease-in-out infinite;
}

.float-card strong { display: block; font-size: 13px; color: var(--navy); font-weight: 600; }
.float-card small { font-size: 11.5px; color: var(--muted); }

.float-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex: none;
}

/* Deliberately clipped by the phone's edge — but over artwork, never over the
   mock UI's own text. */
.float-a { top: 29%; left: -5%; animation-delay: -2s; }
.float-b { bottom: 6%; right: -6%; animation-delay: -4.5s; }

/* ------------------------------------------------------------------ stats */

.stats-wrap { position: relative; z-index: 2; margin-top: -34px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 28px 22px;
  border-radius: var(--r-lg);
  background: var(--surface-soft);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.stat { text-align: center; padding-inline: 12px; }
.stat + .stat { border-left: 1px solid var(--divider); }

.stat-num {
  font-family: 'Playfair', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.stat-num i { font-style: normal; color: var(--saffron); }

.stat-label {
  margin-top: 9px;
  font-size: 13px;
  color: var(--muted);
}

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

.section { padding: clamp(60px, 7.5vw, 100px) 0; }
.section-alt { background: var(--cream-warm); }

.section-head { max-width: 660px; margin-inline: auto; text-align: center; }

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--pill);
  background: rgba(232, 117, 42, .12);
  color: var(--rust);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.section-head h2 {
  margin-top: 18px;
  font-size: clamp(30px, 4vw, 44px);
}

.section-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

/* ---------------------------------------------------------------- modules */

.module-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
  gap: 22px;
}

.module-card {
  position: relative;
  padding: 30px 26px 32px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.module-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--accent-bg);
  opacity: .5;
  transition: transform .35s ease;
}

.module-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #e2d3bd;
}

.module-card:hover::after { transform: scale(1.25); }

.module-card > * { position: relative; z-index: 1; }

.module-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--accent-bg);
  color: var(--accent-fg);
}

.module-card h3 {
  margin-top: 20px;
  font-size: 21px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.soon-pill {
  padding: 3px 10px;
  border-radius: var(--pill);
  background: var(--accent-bg);
  color: var(--accent-fg);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.module-card > p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.module-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
  font-size: 14px;
}

.module-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.module-list li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border-radius: 50%;
  background-color: var(--accent-bg);
  background-image: radial-gradient(circle at center, var(--accent-fg) 0 3px, transparent 3.5px);
}

/* ------------------------------------------------------------------ steps */

.steps {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(244px, 1fr));
  gap: 26px;
}

.step {
  padding: 30px 26px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: 'Playfair', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

.step h3 { margin-top: 18px; font-size: 19px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* --------------------------------------------------------------- showcase */

.showcase {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.showcase-copy h2 { font-size: clamp(30px, 3.6vw, 42px); }
.showcase-copy > p { margin-top: 18px; color: var(--muted); font-size: 17px; }

.value-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}

.value-list li { display: flex; gap: 16px; }

.value-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(232, 117, 42, .12);
  color: var(--rust);
}

.value-list h4 { font-size: 17px; }
.value-list p { margin-top: 5px; color: var(--muted); font-size: 15px; }

.collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 152px;
  gap: 16px;
}

.tile {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(150deg, var(--tile-a), var(--tile-b));
  box-shadow: var(--shadow-md);
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 26% 24%, rgba(255, 255, 255, .26), transparent 46%),
    radial-gradient(circle at 82% 80%, rgba(255, 255, 255, .16), transparent 44%);
}

.tile svg {
  position: relative;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  opacity: .95;
}

.collage .tile:nth-child(1) { grid-row: span 2; }
.collage .tile:nth-child(3) { grid-row: span 2; }

.tile figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(14, 30, 68, .5);
  backdrop-filter: blur(6px);
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
}

/* ---------------------------------------------------------------- contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-copy h2 { margin-top: 18px; font-size: clamp(30px, 3.6vw, 42px); }
.contact-copy > p { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 34ch; }

.contact-facts {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 22px;
}

.contact-facts li { display: flex; gap: 16px; }
.contact-facts h4 { font-size: 16px; }
.contact-facts p { margin-top: 4px; color: var(--muted); font-size: 14.5px; }

.link {
  color: var(--rust);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.link:hover { color: var(--saffron); }

.contact-card {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.contact-form { display: grid; gap: 18px; }

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--surface-soft);
  font: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.field textarea {
  min-height: 138px;
  resize: vertical;
  line-height: 1.6;
}

.field ::placeholder { color: var(--faint); }

.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
}

/* One focus treatment, not two: the ring replaces the page-wide outline. */
.contact-card :is(input, select, textarea):focus,
.contact-card :is(input, select, textarea):focus-visible {
  outline: none;
  border-color: var(--saffron);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(232, 117, 42, .16);
}

.field :is(input, select, textarea)[aria-invalid="true"] { border-color: #e2464b; }

.field-error {
  margin-top: 7px;
  font-size: 13px;
  font-weight: 500;
  color: #c53034;
}

/* The honeypot: out of sight for people, still a filled-in field for bots. */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form-note { font-size: 13px; color: var(--muted); }

.alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.55;
}

.alert svg { flex: none; margin-top: 2px; }

.alert-ok {
  background: #e7f5ed;
  border: 1px solid #bfe4d1;
  color: #14663f;
}

.alert-bad {
  background: #fdecec;
  border: 1px solid #f6cfd0;
  color: #a4282c;
}

.alert .link { color: inherit; }

/* --------------------------------------------------------------- cta band */

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #16305f, #0c1a3c 55%, #1b2f5e);
  color: #fff;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.cta-band::before {
  width: 460px;
  height: 460px;
  top: -200px;
  left: -120px;
  background: radial-gradient(circle, rgba(232, 117, 42, .45), transparent 65%);
}

.cta-band::after {
  width: 420px;
  height: 420px;
  bottom: -220px;
  right: -100px;
  background: radial-gradient(circle, rgba(90, 140, 255, .3), transparent 65%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  /* padding-block, not the shorthand: this element also carries .shell, whose
     padding-inline is the page gutter. A shorthand here would reset it to 0
     and the content would run to the screen edge below 1140px. */
  padding-block: clamp(58px, 7.5vw, 92px);
  text-align: center;
}

.cta-inner h2 {
  color: #fff;
  font-size: clamp(30px, 4.2vw, 48px);
  max-width: 17ch;
  margin-inline: auto;
}

.cta-inner > p {
  margin: 20px auto 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
}

.cta-inner .store-row { margin-top: 36px; justify-content: center; }

.cta-note {
  margin-top: 26px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .58);
}

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

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .72);
  font-size: 14.5px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  /* padding-block keeps .shell's page gutter — see the note on .cta-inner. */
  padding-block: 62px 44px;
}

.site-footer .brand-name { color: #fff; }
.site-footer .brand-mark { background: rgba(255, 255, 255, .1); box-shadow: none; }

.footer-about {
  margin-top: 18px;
  max-width: 34ch;
  color: rgba(255, 255, 255, .6);
}

.footer-col h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-col ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.footer-col a { color: rgba(255, 255, 255, .72); transition: color .2s ease; }
.footer-col a:hover { color: var(--saffron); }

.footer-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  padding-block: 22px 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .5);
  font-size: 13.5px;
}

.footer-credit { margin-left: auto; }

.footer-credit a {
  color: rgba(255, 255, 255, .82);
  font-weight: 600;
  transition: color .2s ease;
}

.footer-credit a:hover { color: var(--saffron); }

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

@media (max-width: 980px) {
  .hero-inner,
  .showcase,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }

  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero .store-row,
  .hero-social { justify-content: center; }
  .hero-social { flex-direction: column; text-align: center; gap: 10px; }
  .hero-visual { order: -1; margin-bottom: 14px; }
  .float-a { left: 0; }
  .float-b { right: 0; }

  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 4px; }
  .stat:nth-child(3) { border-left: 0; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .nav { height: 66px; }
  .nav-cta { display: none; }
  .store-badge { flex: 1 1 100%; min-width: 0; justify-content: center; }
  .float-card { display: none; }
  .stats-wrap { margin-top: -20px; }
  .stats { padding: 24px 14px; }
  .collage { grid-auto-rows: 124px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .form-foot .btn { width: 100%; }
  /* Desktop's 62/44px footer padding and 34px column gap are far too airy
     once the four blocks stack into one column on a phone. */
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-block: 40px 30px;
  }

  .footer-bottom { padding-block: 18px 24px; }
  .footer-credit { margin-left: 0; }
  .footer-about { margin-top: 14px; }
  .footer-col ul { margin-top: 14px; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
