/* KiraLocum marketing site — plain HTML/CSS styled in Material Design's
   visual language (MUI's elevation system, type scale, shape, and
   component conventions), no MUI/React runtime. Palette matches the
   in-app "Ocean" theme, since that's the palette already baked into the
   screenshot assets this page embeds. */

:root {
  --primary: #2c5e9e;
  --primary-dark: #1e3d6b;
  --primary-light: #5995dd;
  --on-primary: #f6f8f8;

  --success: #3d7a3f;
  --error: #b23b2e;

  --bg: #f6f8f8;
  --paper: #ffffff;
  --divider: #d0dae4;

  --text: #1e3d6b;
  --text-secondary: #55677a;
  /* Darkened from #8b9aa8 (~2.7:1 on --bg, fails AA) to clear 4.5:1 at the
     13px/11px sizes this is actually used at (hero note, footer, stat
     labels, legal meta): ~4.9:1 on --bg, ~5.2:1 on --paper. */
  --text-muted: #5c6e81;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* MUI's own elevation shadow values (Material Design's umbra/penumbra/
     ambient triad), z-index 1 / 2 / 4 / 8 / 16. */
  --elevation-1: 0px 2px 1px -1px rgba(30, 61, 107, 0.1), 0px 1px 1px 0px rgba(30, 61, 107, 0.08),
    0px 1px 3px 0px rgba(30, 61, 107, 0.1);
  --elevation-2: 0px 3px 3px -2px rgba(30, 61, 107, 0.1), 0px 3px 4px 0px rgba(30, 61, 107, 0.08),
    0px 1px 8px 0px rgba(30, 61, 107, 0.08);
  --elevation-4: 0px 2px 4px -1px rgba(30, 61, 107, 0.12), 0px 4px 5px 0px rgba(30, 61, 107, 0.08),
    0px 1px 10px 0px rgba(30, 61, 107, 0.08);
  --elevation-8: 0px 5px 5px -3px rgba(30, 61, 107, 0.12), 0px 8px 10px 1px rgba(30, 61, 107, 0.08),
    0px 3px 14px 2px rgba(30, 61, 107, 0.08);
  --elevation-16: 0px 8px 10px -5px rgba(30, 61, 107, 0.14), 0px 16px 24px 2px rgba(30, 61, 107, 0.08),
    0px 6px 30px 5px rgba(30, 61, 107, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  /* Belt-and-suspenders: the real fix is min-width: 0 on grid items (see
     .hero-copy/.feature-row below), but this keeps any future overflow
     from ever becoming a visible horizontal scrollbar. */
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography (MUI's type scale) ---------- */

h1,
h2,
h3,
h4 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

.display {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.1;
  font-weight: 800;
}

h2.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
}

h3.card-title {
  font-size: 1.375rem;
  line-height: 1.3;
}

.subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

p {
  color: var(--text-secondary);
  margin: 0;
}

/* ---------- Buttons (MUI Button) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-contained {
  background: var(--primary-dark);
  color: var(--on-primary);
  box-shadow: var(--elevation-2);
}

.btn-contained:hover {
  background: #16304f;
  box-shadow: var(--elevation-4);
}

.btn-outlined {
  background: transparent;
  color: var(--primary-dark);
  border: 1.5px solid var(--divider);
}

.btn-outlined:hover {
  background: rgba(44, 94, 158, 0.06);
  border-color: var(--primary);
}

.btn-large {
  padding: 14px 30px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Chips (MUI Chip) ---------- */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(44, 94, 158, 0.1);
  color: var(--primary-dark);
}

.chip-outline {
  background: transparent;
  border: 1px solid var(--divider);
  color: var(--text-secondary);
}

/* ---------- Cards (MUI Paper / Card) ---------- */

.card {
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--elevation-1);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card-hover:hover {
  box-shadow: var(--elevation-8);
  transform: translateY(-4px);
}

/* ---------- App bar ---------- */

.appbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 248, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.appbar.scrolled {
  box-shadow: var(--elevation-1);
  border-bottom-color: var(--divider);
}

.appbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--primary-dark);
}

.appbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 60px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Grid items default to min-width: auto, which floors their track at the
   content's min-content size — for .hero-copy that's the widest unbreakable
   word in the h1, which on a narrow phone is wider than the track itself
   and pushes the whole grid past the viewport instead of just wrapping. */
.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-copy h1 {
  margin-top: 16px;
}

.hero-copy .subtitle {
  margin-top: 20px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-note a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.hero-note a:hover {
  text-decoration: underline;
}

/* App Store / Google Play badges: dark pill with the store mark and a
   two-line label, sized to sit beside each other like the official badges. */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 20px 8px 16px;
  border-radius: var(--radius-sm);
  background: #111;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--elevation-2);
  transition: box-shadow 0.2s ease, transform 0.15s ease, background-color 0.2s ease;
}

.store-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.store-btn-text small {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

a.store-btn:hover {
  background: #000;
  box-shadow: var(--elevation-4);
}

a.store-btn:active {
  transform: scale(0.98);
}

/* Not a link yet: muted and flat so it doesn't read as tappable. */
.store-btn-soon {
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--divider);
  box-shadow: none;
  cursor: default;
}

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

/* Floating stat cards over the hero screenshot — MUI Paper, elevation 8 */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  box-shadow: var(--elevation-8);
  padding: 12px 16px;
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}

.float-card .stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.float-card .stat-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.float-card .stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.float-card-owed {
  top: 8%;
  left: -6%;
}

.float-card-paid {
  bottom: 12%;
  right: -8%;
  animation-delay: 1.4s;
}

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

/* ---------- Phone frame (CSS-built iPhone 17 Pro-style mockup) ----------
   A titanium-edge bezel (diagonal metal gradient + inner ring for depth),
   a properly-proportioned Dynamic Island (percentage-sized off the frame,
   not a fixed px notch), physical side buttons, and a soft diagonal glass
   sheen over the screen glass itself — no external mockup image needed. */

.phone {
  position: relative;
  width: 280px;
  background: linear-gradient(155deg, #4b4b4e 0%, #232325 20%, #0a0a0b 48%, #201f21 76%, #47474a 100%);
  border-radius: 52px;
  padding: 5px;
  box-shadow: var(--elevation-16);
  flex-shrink: 0;
}

/* The inner dark ring between the metal edge and the glass — real phones
   have a slim black chassis lip before the display starts. */
.phone::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 47px;
  box-shadow: inset 0 0 0 2.5px #000;
  pointer-events: none;
  z-index: 2;
}

.phone-btn {
  position: absolute;
  background: linear-gradient(180deg, #38383b, #0a0a0b);
  border-radius: 2px 0 0 2px;
}

.phone-btn-power {
  right: -3px;
  top: 20%;
  width: 3px;
  height: 13%;
  border-radius: 0 2px 2px 0;
}

.phone-btn-vol-up {
  left: -3px;
  top: 13.5%;
  width: 3px;
  height: 7%;
}

.phone-btn-vol-down {
  left: -3px;
  top: 22%;
  width: 3px;
  height: 7%;
}

.phone-screen {
  position: relative;
  width: 100%;
  /* On the inner box, not the padded outer one — so object-fit: cover
     below never has to crop a sliver off the real screenshot to fill a
     box whose ratio drifted from the fixed-px bezel padding. */
  aspect-ratio: 1206 / 2622;
  border-radius: 47px;
  overflow: hidden;
  background: var(--bg);
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* A faint diagonal glass sheen sitting over the screenshot — reads as
   light catching the display glass rather than a flat printed image. */
.phone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 16%, rgba(255, 255, 255, 0) 82%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
  z-index: 3;
}

.phone-notch {
  position: absolute;
  top: 2.3%;
  left: 50%;
  transform: translateX(-50%);
  width: 27%;
  height: 3.3%;
  min-height: 20px;
  background: #000;
  border-radius: 999px;
  z-index: 4;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* The Dynamic Island's own camera lens — a small dark-on-black dot with a
   faint highlight, the one detail that most reads as "not just a pill". */
.phone-notch::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 18%;
  transform: translateY(-50%);
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2c3b4d 0%, #060708 70%);
}

.phone-lg {
  width: 320px;
}

/* ---------- Logo strip ---------- */

.trust-strip {
  padding: 8px 0 56px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
}

.trust-item .icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(44, 94, 158, 0.1);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 2px;
}

.trust-item span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* ---------- Feature rows (alternating) ---------- */

.section {
  padding: 88px 0;
}

.section-header {
  max-width: 620px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-header .subtitle {
  margin-top: 14px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-row > * {
  min-width: 0;
}

.feature-row + .feature-row {
  margin-top: 96px;
}

.feature-row.reverse .feature-visual {
  order: 2;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.feature-copy .eyebrow {
  margin-bottom: 12px;
}

.feature-copy h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.feature-copy .subtitle {
  font-size: 1.0625rem;
}

.feature-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.feature-list .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(61, 122, 63, 0.12);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Icon-feature grid (tax/expenses/etc) ---------- */

.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.icon-card {
  padding: 32px 28px;
}

.icon-card .icon-badge-lg {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(44, 94, 158, 0.1);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.icon-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.icon-card p {
  font-size: 0.9375rem;
}

/* ---------- Pricing ---------- */

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: -24px 0 48px;
}

.switch {
  position: relative;
  width: 46px;
  height: 26px;
  background: var(--divider);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease;
}

.switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--elevation-1);
  transition: transform 0.2s ease;
}

.switch.on {
  background: var(--primary);
}

.switch.on::after {
  transform: translateX(20px);
}

.pricing-toggle .save-badge {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--success);
  background: rgba(61, 122, 63, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  background: var(--primary-dark);
  color: var(--on-primary);
  box-shadow: var(--elevation-8);
}

.pricing-card.featured .plan-name,
.pricing-card.featured .plan-desc,
.pricing-card.featured .price,
.pricing-card.featured .price-period {
  color: var(--on-primary);
}

.pricing-card.featured .feature-list li {
  color: rgba(246, 248, 248, 0.85);
}

.pricing-card.featured .check {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.badge-recommended {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: var(--elevation-2);
}

.plan-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 6px;
  min-height: 40px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 20px;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
}

.price-period {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-card .btn {
  margin-top: 28px;
}

.pricing-card .feature-list {
  margin-top: 28px;
}

.price-yearly {
  display: none;
}

.pricing-toggle.yearly-active ~ .pricing-grid .price-monthly,
.showing-yearly .price-monthly {
  display: none;
}

.showing-yearly .price-yearly {
  display: flex;
}

/* ---------- FAQ (native <details>, MUI Accordion look) ---------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--paper);
  border-radius: var(--radius-sm);
  box-shadow: var(--elevation-1);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .plus {
  transition: transform 0.2s ease;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary .plus {
  transform: rotate(45deg);
}

.faq-item .faq-body {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.faq-item .faq-body a {
  color: var(--primary);
  font-weight: 600;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--primary-dark);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: var(--on-primary);
  margin: 0 24px;
}

.cta-banner h2 {
  color: var(--on-primary);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.cta-banner p {
  color: rgba(246, 248, 248, 0.8);
  max-width: 480px;
  margin: 16px auto 0;
}

.cta-banner .hero-actions {
  justify-content: center;
  margin-top: 28px;
}

.cta-banner .btn-outlined {
  color: var(--on-primary);
  border-color: rgba(246, 248, 248, 0.4);
}

.cta-banner .btn-outlined:hover {
  background: rgba(246, 248, 248, 0.1);
}

.cta-banner .btn-contained {
  background: var(--on-primary);
  color: var(--primary-dark);
}

.cta-banner .btn-contained:hover {
  background: #ffffff;
}

/* ---------- Footer ---------- */

footer {
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--divider);
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.875rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.footer-col a:hover {
  color: var(--primary-dark);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Legal / support pages ---------- */

.legal-page {
  padding: 56px 0 96px;
}

.legal-page .container {
  max-width: 780px;
}

.legal-page h1 {
  font-size: 2rem;
}

.legal-meta {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-body {
  margin-top: 40px;
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--elevation-1);
  padding: 40px 48px;
}

.legal-body h2 {
  font-size: 1.25rem;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body p,
.legal-body li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.legal-body ul {
  padding-left: 20px;
  margin: 12px 0;
}

.legal-body strong {
  color: var(--text);
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.support-card {
  padding: 28px;
  text-align: center;
}

.support-card .icon-badge-lg {
  margin: 0 auto 16px;
}

.support-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.support-card p {
  font-size: 0.875rem;
}

.support-card .btn {
  margin-top: 20px;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse .feature-visual {
    order: 0;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 24px;
  }

  .trust-grid,
  .icon-grid,
  .pricing-grid,
  .support-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .appbar-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .trust-grid,
  .icon-grid,
  .pricing-grid,
  .support-cards {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .cta-banner {
    margin: 0 16px;
    padding: 48px 24px;
  }

  .legal-body {
    padding: 28px 24px;
  }

  .float-card {
    display: none;
  }
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--paper);
  border-top: 1px solid var(--divider);
  padding: 12px 24px 20px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
}

.mobile-nav a:last-child {
  border-bottom: none;
}
