/* EzGym marketing site. Matches iOS Theme accent #F04820 */

:root {
  color-scheme: light dark;
  --paper: #f2f3f5;
  --card: #ffffff;
  --ink: #16181d;
  --ink-soft: #5c626c;
  --line: #e2e4e8;
  --accent: #f04820;
  --accent-soft: #fde4dc;
  --accent-ink: #ffffff;
  --shadow: 0 4px 18px rgba(22, 24, 29, 0.06);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 720px;
  --max-wide: 960px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111214;
    --card: #1c1e22;
    --ink: #f3f4f6;
    --ink-soft: #a1a6b0;
    --line: #2c3036;
    --accent: #ff7a45;
    --accent-soft: #4a2218;
    --accent-ink: #111214;
    --shadow: 0 4px 22px rgba(0, 0, 0, 0.35);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.wrap {
  width: min(100% - 2rem, var(--max-wide));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  width: min(100% - 2rem, var(--max-wide));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  align-items: center;
}

.nav a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 560;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--accent);
}

/* Hero / landing */

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 820px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 750;
}

.lede {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 36rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 650;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: default;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  filter: brightness(1.05);
  color: var(--accent-ink);
}

.btn-ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.btn-ghost:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  color: var(--ink);
}

.phone {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1.25rem 1.15rem 1.4rem;
  max-width: 320px;
  margin-inline: auto;
}

.phone-bar {
  height: 6px;
  width: 72px;
  border-radius: 999px;
  background: var(--line);
  margin: 0 auto 1.1rem;
}

.phone-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.35rem;
}

.phone h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.chip {
  font-size: 0.78rem;
  font-weight: 650;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.fake-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.fake-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.8rem;
  background: var(--paper);
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  font-size: 0.9rem;
}

.fake-list .meta {
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Sections */

.section {
  padding: 2.25rem 0;
}

.section-head {
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 40rem;
}

.cards {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 700px) {
  .cards.three {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards.two {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.icon-dot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.note {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  font-size: 0.95rem;
}

.note strong {
  color: var(--accent);
}

/* Legal / prose pages */

.page-hero {
  padding: 2.5rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.75rem;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3.5vw, 2.2rem);
  letter-spacing: -0.03em;
}

.page-hero .meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.prose {
  padding-bottom: 3rem;
}

.prose h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}

.prose h3 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1.02rem;
}

.prose p,
.prose li {
  color: var(--ink);
}

.prose p {
  margin: 0 0 0.9rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose li::marker {
  color: var(--accent);
}

.prose .muted {
  color: var(--ink-soft);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
  margin-top: 1rem;
}

.site-footer .inner {
  width: min(100% - 2rem, var(--max-wide));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 560;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-copy {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin: 0;
}

/* Utility */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.button {
  display: inline-block;
  padding: 0.65rem 1.1rem;
  background: var(--accent);
  color: var(--accent-ink) !important;
  border: none;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
}

.button:hover {
  filter: brightness(1.05);
  text-decoration: none !important;
}
