:root {
  color-scheme: light;
  --brand: #DC2C2C;
  --brand-soft: #EF4D4D;
  --brand-deep: #B91C3C;
  --brand-wine: #8B1A1A;
  --ink: #1F2937;
  --ink-muted: #6B7280;
  --cream: #FFF5F5;
  --surface: #FFFFFF;
  --border: #F2D6D6;
  --shadow: 0 18px 44px rgba(220, 44, 44, 0.12);
  --shadow-card: 0 8px 28px rgba(185, 28, 60, 0.08);
  --radius: 18px;
  --radius-pill: 999px;
  --font: "SF Pro Text", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 120ms ease;
}

a:hover {
  color: var(--brand-deep);
}

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

/* Layout */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 760px;
}

/* Header */
.site-header {
  padding: 22px 0;
  background: rgba(255, 245, 245, 0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  object-fit: cover;
  display: block;
}

.nav {
  display: flex;
  gap: 26px;
  font-size: 15px;
}

.nav a {
  color: var(--ink);
  font-weight: 500;
}

.nav a:hover {
  color: var(--brand);
}

@media (max-width: 680px) {
  .nav {
    gap: 16px;
    font-size: 14px;
  }
}

/* Hero */
.hero {
  padding: 96px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: radial-gradient(ellipse at top, rgba(220, 44, 44, 0.08), transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 820px) {
  .hero {
    padding: 64px 0 48px;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero h1 {
  font-size: 52px;
  line-height: 1.08;
  margin: 0 0 20px;
  letter-spacing: 0.2px;
  font-weight: 800;
  color: var(--ink);
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 38px;
  }
}

.hero p.lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 120ms ease, box-shadow 180ms ease, background 180ms ease;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  color: white;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(220, 44, 44, 0.2);
}

.btn.ghost {
  background: transparent;
  color: var(--brand);
  border-color: rgba(220, 44, 44, 0.35);
}

.btn.ghost:hover {
  background: rgba(220, 44, 44, 0.08);
}

/* Hero visual */
.phone-card {
  background: var(--surface);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.phone-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 70%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(220, 44, 44, 0.18), transparent);
  pointer-events: none;
}

.phone-card .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  position: relative;
}

.tile {
  padding: 18px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(220, 44, 44, 0.06), rgba(185, 28, 60, 0.04));
  border: 1px solid rgba(220, 44, 44, 0.12);
  text-align: center;
}

.tile .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--brand), var(--brand-deep));
  color: white;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
}

.tile .label {
  font-size: 12px;
  color: var(--ink);
  font-weight: 600;
}

/* Section base */
section.block {
  padding: 72px 0;
}

section.block.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2.section-title {
  font-size: 32px;
  letter-spacing: 0.1px;
  font-weight: 800;
  margin: 0 0 12px;
}

h2.section-title.center {
  text-align: center;
}

p.section-lead {
  color: var(--ink-muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 0 40px;
}

p.section-lead.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 820px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .features {
    grid-template-columns: 1fr;
  }
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(185, 28, 60, 0.12);
}

.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--brand), var(--brand-deep));
  color: white;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.feature p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 820px) {
  .pricing {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

.plan {
  background: var(--surface);
  border-radius: 22px;
  padding: 32px 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  position: relative;
}

.plan.feature-plan {
  border-color: rgba(220, 44, 44, 0.6);
  box-shadow: 0 22px 52px rgba(220, 44, 44, 0.18);
  transform: translateY(-4px);
}

@media (max-width: 820px) {
  .plan.feature-plan {
    transform: none;
  }
}

.plan .badge {
  position: absolute;
  top: -12px;
  right: 22px;
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  color: white;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.plan h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}

.plan .price {
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
  margin: 8px 0 4px;
}

.plan .price small {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-muted);
}

.plan p.plan-note {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 10px 0 0;
}

/* Content pages */
article.content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 44px 52px;
  box-shadow: var(--shadow-card);
  margin: 56px 0 64px;
}

@media (max-width: 620px) {
  article.content {
    padding: 28px 22px 34px;
    margin: 32px 0 48px;
  }
}

article.content h1 {
  font-size: 36px;
  margin: 0 0 6px;
  font-weight: 800;
}

article.content .updated {
  color: var(--ink-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

article.content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 34px 0 10px;
  color: var(--ink);
}

article.content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 22px 0 8px;
}

article.content p,
article.content li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}

article.content p {
  margin: 0 0 14px;
}

article.content ul,
article.content ol {
  padding-left: 22px;
  margin: 4px 0 18px;
}

article.content li {
  margin-bottom: 6px;
}

article.content strong {
  color: var(--brand-deep);
}

article.content blockquote {
  margin: 18px 0;
  padding: 14px 20px;
  background: rgba(220, 44, 44, 0.06);
  border-left: 3px solid var(--brand);
  border-radius: 10px;
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.6;
}

/* Support page */
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 28px;
}

@media (max-width: 680px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.support-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.support-card p {
  margin: 0 0 12px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.55;
}

.support-card a.cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 36px 0 48px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.site-footer .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-muted);
  font-size: 14px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.site-footer nav a {
  color: var(--ink-muted);
}

.site-footer nav a:hover {
  color: var(--brand);
}
