/* Progress365 redesign 2026 — home page styles (extracted from Redesign.html) */

:root {
  --bg: oklch(0.97 0.012 95);
  --bg-2: oklch(0.94 0.018 95);
  --ink: oklch(0.22 0.04 155);
  --ink-2: oklch(0.45 0.03 155);
  --line: oklch(0.88 0.02 105);
  --line-2: oklch(0.92 0.015 100);
  --accent: oklch(0.62 0.13 152);
  --accent-2: oklch(0.78 0.12 152);
  --accent-soft: oklch(0.92 0.04 152);
  --accent-ink: oklch(0.98 0.01 152);
  --warm: oklch(0.78 0.12 65);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --r-xs: 8px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;
}
[data-theme="dark"] {
  --bg: oklch(0.20 0.02 155);
  --bg-2: oklch(0.25 0.022 155);
  --ink: oklch(0.96 0.01 95);
  --ink-2: oklch(0.74 0.015 95);
  --line: oklch(0.34 0.02 155);
  --line-2: oklch(0.28 0.02 155);
  --accent: oklch(0.74 0.14 152);
  --accent-2: oklch(0.62 0.12 152);
  --accent-soft: oklch(0.32 0.05 152);
  --accent-ink: oklch(0.16 0.04 155);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.grid-bg {
  position: fixed; inset: 0;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(180deg, transparent 0%, black 20%, black 80%, transparent 100%);
}

.container { max-width: 1440px; margin: 0 auto; padding: 0 48px; position: relative; z-index: 1; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* TOP BAR */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 18px; letter-spacing: -0.02em;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; font-size: 11px;
  letter-spacing: -0.02em;
  position: relative; overflow: hidden;
}
.logo-mark::after {
  content: ""; position: absolute; right: 4px; top: 4px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--warm);
}
.logo em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.nav { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.nav a { position: relative; padding: 4px 0; color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav a.active { color: var(--ink); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: var(--accent); border-radius: 999px;
}
.top-cta { display: flex; align-items: center; gap: 12px; }
.phone-tag { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  border: 1px solid transparent;
  transition: transform .15s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 oklch(from var(--accent) calc(l - 0.1) c h) inset, 0 6px 18px -6px oklch(from var(--accent) l c h / 0.5); }
.btn-primary:hover { background: oklch(from var(--accent) calc(l - 0.04) c h); color: var(--accent-ink); }
.btn-ghost { background: var(--bg); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--accent-soft); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 900px) { .nav, .phone-tag { display: none; } }

/* HERO SLIDER */
.hero { padding: 40px 0 180px; position: relative; }
.hero-slider { position: relative; min-height: 560px; }
.hero-slide {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 56px;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
@media (max-width: 900px) {
  .hero-slider { min-height: 820px; }
  .hero-slide { grid-template-columns: 1fr; gap: 28px; align-content: start; }
}
@media (max-width: 600px) {
  .hero-slider { min-height: 740px; }
  .hero-slide { gap: 24px; }
}
@media (max-width: 480px) {
  .hero-slider { min-height: 680px; }
}

.hero-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg-2);
  height: 100%;
  min-height: 480px;
  position: relative;
  border: 1px solid var(--line);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.hero-photo-tag {
  position: absolute; left: 20px; bottom: 20px;
  background: oklch(from var(--bg) l c h / 0.92);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 8px 14px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-photo-tag::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s infinite;
}

.hero-meta {
  display: flex; gap: 24px; align-items: center; margin-bottom: 40px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: 0.08em;
  flex-wrap: wrap;
}
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-meta .live { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .live .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: oklch(0.7 0.2 145);
  box-shadow: 0 0 0 0 oklch(0.7 0.2 145 / 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.7 0.2 145 / 0.6); }
  70% { box-shadow: 0 0 0 12px oklch(0.7 0.2 145 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.7 0.2 145 / 0); }
}

.hero-content { display: flex; flex-direction: column; justify-content: center; }

.hero-title {
  font-family: var(--sans);
  font-size: clamp(40px, 6.5vw, 96px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero-title-mark {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.05em;
  font-size: 1.15em;
  line-height: 1;
}
.hero-title em { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--accent); }

.hero-lede {
  font-size: 18px; line-height: 1.55; color: var(--ink-2);
  max-width: 52ch; text-wrap: pretty;
}
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.hero-controls {
  position: absolute; left: 0; right: 0; bottom: -84px;
  display: flex; align-items: center; gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) { .hero-controls { position: relative; bottom: auto; margin-top: 32px; } }
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 36px; height: 4px; border-radius: 999px;
  background: var(--line); border: 0;
  cursor: pointer; padding: 0;
  transition: background .25s, width .25s;
}
.hero-dot.active { background: var(--accent); width: 56px; }
.hero-arrows { display: flex; gap: 8px; margin-left: auto; }
.hero-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg);
  display: grid; place-items: center;
  color: var(--ink); cursor: pointer;
  transition: all .25s;
  font-size: 18px;
}
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.hero-counter {
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* TICKER */
.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-2);
}
.ticker-track {
  display: flex; gap: 48px; padding: 18px 0;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 13px; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.ticker-item .accent { color: var(--accent); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SECTIONS */
.section { padding: 120px 0; position: relative; }
.section-head {
  display: grid; grid-template-columns: 1fr 2fr; gap: 48px;
  margin-bottom: 64px; align-items: end;
}
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }
.eyebrow {
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.12em;
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); }
.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
  text-wrap: balance;
}
.section-title em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.section-sub {
  font-size: 17px; color: var(--ink-2); line-height: 1.55;
  max-width: 60ch; text-wrap: pretty;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.service-card {
  grid-column: span 4;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  background: var(--bg);
  position: relative;
  cursor: pointer;
  transition: background .25s, transform .25s, border-color .25s, box-shadow .25s;
  min-height: 240px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.service-card:hover { background: var(--accent-soft); border-color: var(--accent-2); transform: translateY(-3px); }
.service-card.featured {
  grid-column: span 8;
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  border-radius: var(--r-xl);
}
.service-card.featured:hover { background: oklch(from var(--accent) calc(l - 0.04) c h); }
.service-num { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.service-card.featured .service-num { color: oklch(from var(--accent-ink) l c h / 0.7); }
.service-name {
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-top: 16px;
  text-wrap: balance;
}
.service-card.featured .service-name { font-size: 36px; font-weight: 400; }
.service-card.featured .service-name em { font-family: var(--serif); font-style: italic; color: var(--warm); }
.service-bottom {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-top: 24px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.service-card.featured .service-bottom { color: oklch(from var(--accent-ink) l c h / 0.7); }
.service-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: all .25s;
  background: var(--bg);
  color: var(--ink);
}
.service-card:hover .service-arrow {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
  transform: rotate(-45deg);
}
.service-card.featured .service-arrow {
  background: oklch(from var(--accent-ink) l c h / 0.12);
  border-color: oklch(from var(--accent-ink) l c h / 0.25);
  color: var(--accent-ink);
}
@media (max-width: 900px) {
  .service-card, .service-card.featured { grid-column: span 12; }
  .service-card.featured .service-name { font-size: 28px; }
}

/* GIS DETAILS */
.gis-details { padding: 0 0 120px; }
.gis-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gis-item {
  grid-column: span 4;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 24px;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  transition: all .25s;
}
.gis-item:hover { background: var(--accent-soft); border-color: var(--accent-2); }
.gis-item.wide { grid-column: span 8; background: var(--bg-2); }
.gis-item.wide:hover { background: var(--accent-soft); }
@media (max-width: 900px) { .gis-item, .gis-item.wide { grid-column: span 12; } }
.gis-item-num {
  font-family: var(--mono); font-size: 11px;
  color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.gis-item-name {
  font-size: 18px; font-weight: 500;
  line-height: 1.25; letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.gis-item.wide .gis-item-name { font-size: 28px; font-weight: 400; letter-spacing: -0.02em; }
.gis-item.wide .gis-item-name em { font-family: var(--serif); font-style: italic; color: var(--accent); }
.gis-item-desc { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.gis-item-tag {
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-2);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.gis-item-tag .accent-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  display: inline-block; margin-right: 6px; vertical-align: middle;
}

/* METRICS */
.metrics { padding: 24px 0 120px; position: relative; }
.metrics-inner {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  overflow: hidden;
  position: relative;
}
.metrics-inner::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, oklch(from var(--accent) l c h / 0.5), transparent 70%);
  pointer-events: none;
}
.metrics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative; z-index: 1;
}
@media (max-width: 720px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 600px) {
  .metrics { padding: 16px 0 80px; }
  .metrics-inner { padding: 36px 20px; border-radius: var(--r-lg); }
  .metrics-grid { gap: 12px; }
}
.metric {
  background: oklch(from var(--ink) calc(l + 0.06) c h);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 200px;
  justify-content: space-between;
  position: relative;
}
@media (max-width: 720px) {
  .metric { padding: 22px 18px; min-height: 140px; gap: 8px; border-radius: var(--r-md); }
  .metric-num { font-size: clamp(38px, 10vw, 54px) !important; }
  .metric-label { font-size: 11px; }
}
@media (max-width: 480px) {
  .metric { padding: 18px 14px; min-height: 124px; }
  .metric-num { font-size: clamp(32px, 11vw, 44px) !important; }
  .metric-label br { display: none; }
  .metric-label { font-size: 10px; line-height: 1.35; }
}
.metric-num {
  font-family: var(--sans);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.metric-num em { font-family: var(--serif); font-style: italic; color: var(--accent-2); font-weight: 400; }
.metric-label {
  font-family: var(--mono); font-size: 12px;
  color: oklch(from var(--bg) l c h / 0.65);
  text-transform: uppercase; letter-spacing: 0.06em;
  line-height: 1.4;
}

/* WHY */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
.why-list { display: flex; flex-direction: column; gap: 12px; }
.why-row {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 24px; align-items: center;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  cursor: pointer;
  transition: all .25s;
}
.why-row:hover { background: var(--accent-soft); border-color: var(--accent-2); transform: translateX(4px); }
.why-row:hover .why-name { color: var(--accent); }
.why-num { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.why-name {
  font-size: 24px; font-weight: 500; letter-spacing: -0.02em;
  transition: color .2s;
}
.why-name span {
  display: block; font-size: 14px; font-weight: 400;
  color: var(--ink-2); margin-top: 6px;
  letter-spacing: 0;
}
.why-icon { color: var(--ink-2); }

.why-visual {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 48px;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  margin-left: 24px;
}
@media (max-width: 900px) { .why-visual { margin-left: 0; margin-top: 24px; } }
.why-visual-quote {
  font-family: var(--serif); font-style: italic;
  font-size: 32px; line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.why-visual-quote::before {
  content: "\201C"; font-size: 80px; line-height: 0;
  color: var(--accent); display: block;
  margin-bottom: 16px;
}
.why-visual-attr { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.why-visual-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; font-size: 16px;
}
.why-visual-name { font-weight: 600; font-size: 14px; }
.why-visual-role {
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* PRICING */
.pricing-bar {
  display: flex; gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 32px;
  width: fit-content;
  border-radius: 999px;
  padding: 4px;
  background: var(--bg-2);
}
.pricing-tab {
  padding: 8px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  background: transparent; border: 0; color: var(--ink-2);
  transition: all .2s;
}
.pricing-tab.active { background: var(--accent); color: var(--accent-ink); }
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: transform .25s, border-color .2s;
  position: relative;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--accent-2); box-shadow: 0 12px 40px -16px oklch(from var(--accent) l c h / 0.4); }
.price-card.popular {
  background: var(--accent); color: var(--accent-ink);
  border-color: var(--accent);
  border-radius: var(--r-xl);
}
.price-card.popular .price-name { color: oklch(from var(--accent-ink) l c h / 0.85); }
.price-tag-pop {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--warm); color: var(--ink);
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 6px 14px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.price-name {
  font-family: var(--mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.price-amount { font-size: 56px; font-weight: 300; letter-spacing: -0.04em; line-height: 1; }
.price-amount sub {
  font-size: 14px; font-weight: 400;
  color: var(--ink-2); vertical-align: middle;
  margin-left: 4px;
}
.price-card.popular .price-amount sub { color: oklch(from var(--accent-ink) l c h / 0.7); }
.price-scope {
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin: 16px 0 24px;
  padding: 10px 14px;
  background: var(--bg-2);
  border-radius: var(--r-pill);
  text-align: center;
}
.price-card.popular .price-scope { background: oklch(from var(--accent-ink) l c h / 0.15); color: oklch(from var(--accent-ink) l c h / 0.85); }
.price-feats { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.price-feats li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0; font-size: 14px; line-height: 1.4;
  color: var(--ink-2);
}
.price-card.popular .price-feats li { color: oklch(from var(--accent-ink) l c h / 0.85); }
.price-feats li::before {
  content: ""; flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 1px;
  background: var(--accent-soft);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%231f6b3f' d='M6.5 11.5L3 8l1.4-1.4 2.1 2.1 5.1-5.1L13 5l-6.5 6.5z'/></svg>");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
}
.price-card.popular .price-feats li::before { background-color: oklch(from var(--accent-ink) l c h / 0.18); }
.price-cta {
  display: block; text-align: center;
  padding: 14px; border-radius: var(--r-pill);
  background: var(--ink); border: 0;
  color: var(--bg); font-weight: 600; font-size: 14px;
  transition: all .2s;
}
.price-cta:hover { background: var(--accent); color: var(--accent-ink); }
.price-card.popular .price-cta { background: var(--ink); color: var(--bg); }
.price-card.popular .price-cta:hover { background: var(--warm); color: var(--ink); }

/* TRUST */
.trust-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 900px) { .trust-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .trust-row { grid-template-columns: repeat(2, 1fr); } }
.trust-cell {
  aspect-ratio: 16/10;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  display: grid; place-items: center;
  padding: 24px;
  font-family: var(--mono); font-weight: 500;
  color: var(--ink-2);
  transition: all .25s;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.trust-cell:hover { background: var(--accent-soft); color: var(--ink); border-color: var(--accent-2); }

/* BLOG */
.blog-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.post {
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: transform .25s;
}
.post:hover { transform: translateY(-4px); }
.post-img {
  aspect-ratio: 16/10;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.post.featured .post-img { aspect-ratio: 16/9; }
.post-img-placeholder {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    var(--line-2) 0,
    var(--line-2) 8px,
    transparent 8px,
    transparent 24px
  );
  opacity: 0.6;
}
.post-img-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--bg); color: var(--ink);
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line);
}
.post-img-glyph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic;
  font-size: 96px; color: var(--accent);
  opacity: 0.85;
}
.post-meta {
  display: flex; gap: 12px;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-2);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.post-title {
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.2;
  margin: 0;
  text-wrap: balance;
}
.post.featured .post-title { font-size: 32px; font-weight: 400; }
.post-excerpt { font-size: 14px; color: var(--ink-2); margin-top: 12px; line-height: 1.5; }

/* CTA */
.cta-band { padding: 24px 0 96px; }
@media (max-width: 600px) { .cta-band { padding: 8px 0 64px; } }
.cta-inner {
  background: var(--accent-soft);
  border-radius: var(--r-xl);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) { .cta-inner { padding: 56px 32px; border-radius: var(--r-lg); } }
@media (max-width: 600px) { .cta-inner { padding: 36px 20px; } }
@media (max-width: 480px) { .cta-inner { padding: 28px 16px; border-radius: var(--r-md); } }
.cta-inner::before {
  content: ""; position: absolute; right: -100px; bottom: -100px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, oklch(from var(--accent) l c h / 0.25), transparent 70%);
  pointer-events: none;
}
.cta-grid {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px;
  align-items: center;
  position: relative;
}
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; gap: 32px; } }
.cta-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300; letter-spacing: -0.04em; line-height: 0.95;
  margin: 0;
  text-wrap: balance;
}
.cta-title em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.cta-form {
  display: flex; flex-direction: column; gap: 16px;
  background: var(--bg); padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px -30px oklch(from var(--ink) l c h / 0.25);
}
@media (max-width: 600px) {
  .cta-form { padding: 22px 18px; gap: 14px; border-radius: var(--r-md); }
  .cta-form input, .cta-form select { padding: 11px 16px; font-size: 16px; } /* ≥16px чтобы iOS не зумил при фокусе */
  .cta-submit { padding: 14px 20px; font-size: 15px; }
  .cta-title { font-size: clamp(34px, 9vw, 48px) !important; line-height: 1.05; }
}
@media (max-width: 480px) {
  .cta-form { padding: 18px 14px; gap: 12px; }
  .cta-form input, .cta-form select { padding: 10px 14px; }
  .cta-form select { padding-right: 38px; background-position: right 14px center; }
}
.cta-form-row { display: flex; flex-direction: column; gap: 6px; }
.cta-form label {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-2);
}
.cta-form input, .cta-form select {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 12px 18px; font-size: 15px; font-family: inherit; line-height: 1.4;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.cta-form input:focus,
.cta-form select:focus { border-color: var(--accent); background: var(--bg); }

.cta-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%237a7569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px 7px;
}
.cta-form select::-ms-expand { display: none; }
.cta-form select:hover { border-color: var(--ink-2); }
.cta-form select:invalid:not(:focus) { color: var(--ink-2); }
.cta-form select option { color: var(--ink); background: var(--bg); }
.cta-form select option[disabled] { color: var(--ink-2); }

/* CUSTOM SELECT — site-styled replacement for native <option> popup */
.p365-select { position: relative; }
.p365-select__native {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  /* keeps form submission semantics; visually hidden under the trigger */
}
.p365-select__trigger {
  width: 100%; box-sizing: border-box;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 12px 18px; font-size: 15px; font-family: inherit; line-height: 1.4;
  color: var(--ink);
  cursor: pointer; outline: none; text-align: left;
  transition: border-color .15s ease, background-color .15s ease;
}
.p365-select__trigger:hover { border-color: var(--ink-2); }
.p365-select.is-open .p365-select__trigger,
.p365-select__trigger:focus-visible { border-color: var(--accent); background: var(--bg); }
.p365-select__trigger.is-placeholder { color: var(--ink-2); }
.p365-select__caret {
  flex: 0 0 auto;
  width: 14px; height: 8px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%237a7569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
  transition: transform .2s ease;
}
.p365-select.is-open .p365-select__caret { transform: rotate(180deg); }

.p365-select__panel {
  position: fixed; top: -9999px; left: -9999px;
  margin: 0; padding: 8px;
  list-style: none;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px -20px oklch(from var(--ink) l c h / 0.28);
  max-height: 320px; overflow-y: auto;
  z-index: 1000; /* portals above any sibling section */
  opacity: 0; transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}
.p365-select.is-open .p365-select__panel {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.p365-option {
  display: block;
  padding: 11px 16px;
  border-radius: var(--r-pill);
  font-size: 14px; line-height: 1.35; color: var(--ink);
  cursor: pointer; user-select: none;
  transition: background-color .12s ease, color .12s ease;
}
.p365-option:hover, .p365-option.is-active {
  background: var(--accent-soft); color: var(--accent);
}
.p365-option.is-selected {
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600;
}
.p365-option.is-selected.is-active { background: var(--accent); color: var(--accent-ink); }
.p365-option[data-disabled] { opacity: 0.55; cursor: default; }
.p365-option[data-disabled]:hover { background: transparent; color: var(--ink-2); }

@media (max-width: 600px) {
  .p365-select__panel { max-height: 260px; padding: 6px; }
  .p365-option { padding: 10px 14px; font-size: 14px; }
}

.cta-honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; height: 0; width: 0; }

.cta-form-status {
  margin: 4px 0 0;
  font-family: var(--mono); font-size: 12px; line-height: 1.4;
  color: var(--ink-2);
  min-height: 1em;
}
.cta-form-status.is-error   { color: oklch(0.55 0.2 25); }
.cta-form-status.is-success { color: oklch(0.55 0.16 145); }

.cta-submit:disabled { opacity: 0.6; cursor: progress; transform: none; }

.cta-submit {
  margin-top: 12px;
  background: var(--accent); color: var(--accent-ink);
  border: 0; padding: 16px 24px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px;
  transition: background .2s, transform .15s;
  box-shadow: 0 8px 24px -10px oklch(from var(--accent) l c h / 0.6);
}
.cta-submit:hover { background: oklch(from var(--accent) calc(l - 0.04) c h); transform: translateY(-2px); }
.cta-submit.success { background: oklch(0.7 0.18 145); color: white; }

/* FOOTER */
footer {
  background: var(--ink); color: var(--bg);
  padding: 80px 0 32px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid oklch(from var(--ink) calc(l + 0.12) c h);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-brand-name {
  font-size: 28px; font-weight: 300;
  letter-spacing: -0.03em; margin-bottom: 16px;
}
.footer-brand-name em { font-family: var(--serif); font-style: italic; color: var(--accent-2); }
.footer-brand-desc {
  font-size: 14px; color: oklch(from var(--bg) l c h / 0.7);
  line-height: 1.5; max-width: 32ch;
}
.footer-col h4 {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: oklch(from var(--bg) l c h / 0.6);
  margin: 0 0 20px; font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-family: var(--mono); font-size: 11px;
  color: oklch(from var(--bg) l c h / 0.5);
  text-transform: uppercase; letter-spacing: 0.08em;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-wordmark {
  font-size: clamp(80px, 16vw, 240px);
  font-weight: 300; letter-spacing: -0.05em; line-height: 0.85;
  margin: 64px 0 32px;
  color: oklch(from var(--ink) calc(l + 0.14) c h);
  user-select: none;
}
.footer-wordmark em { font-family: var(--serif); font-style: italic; color: var(--accent-2); font-weight: 400; }
