/* Datum Foundry Nine — /services/datum-telephony/ (static page on site.css + work.css tokens; no canvas) */

.tel { background: var(--bg); }
.tel .page-top { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Quiet atmosphere instead of the particle canvas */
.tel main { position: relative; }
.tel main::before {
  content: '';
  position: absolute;
  inset: -80px 0 auto;
  height: 900px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 30%, rgba(215, 175, 164, 0.10), transparent 70%),
    radial-gradient(50% 45% at 15% 10%, rgba(196, 206, 184, 0.07), transparent 70%);
}

/* ── Hero ────────────────────────────────────────────────── */

.tel-hero {
  display: grid;
  gap: 40px;
  align-items: center;
  padding: clamp(48px, 9vw, 120px) 0 0;
}
.tel-hero h1 {
  margin: 22px 0 26px;
  font: 400 clamp(44px, 7vw, 92px)/0.98 var(--serif);
  letter-spacing: -0.035em;
  font-variation-settings: 'opsz' 72;
  color: var(--cream);
  text-wrap: balance;
}
.tel-price { margin: 26px 0 0; font: 400 15px/1.5 var(--mono); letter-spacing: 0.02em; color: var(--ink-2); }
.tel-price strong { font: 400 clamp(26px, 2.4vw, 32px)/1 var(--serif); letter-spacing: -0.02em; color: var(--cream); }
.tel-price span { margin: 0 8px; color: var(--ink-3); }

/* A voice waveform in the sage-to-rose of the brand */
.tel-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.7vw, 9px);
  height: clamp(160px, 22vw, 300px);
  padding: 0 4%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(58, 72, 63, 0.55), rgba(27, 32, 28, 0.9));
}
.tel-wave span {
  flex: 1;
  max-width: 10px;
  height: var(--h, 30%);
  border-radius: 999px;
  background: linear-gradient(to top, var(--sage), var(--rose));
  opacity: 0.85;
  transform-origin: center;
  animation: tel-talk 1.6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.11s);
}
.tel-wave span:nth-child(1)  { --h: 14%; --i: 1; }
.tel-wave span:nth-child(2)  { --h: 26%; --i: 2; }
.tel-wave span:nth-child(3)  { --h: 42%; --i: 3; }
.tel-wave span:nth-child(4)  { --h: 30%; --i: 4; }
.tel-wave span:nth-child(5)  { --h: 58%; --i: 5; }
.tel-wave span:nth-child(6)  { --h: 76%; --i: 6; }
.tel-wave span:nth-child(7)  { --h: 50%; --i: 7; }
.tel-wave span:nth-child(8)  { --h: 88%; --i: 8; }
.tel-wave span:nth-child(9)  { --h: 64%; --i: 9; }
.tel-wave span:nth-child(10) { --h: 40%; --i: 10; }
.tel-wave span:nth-child(11) { --h: 72%; --i: 11; }
.tel-wave span:nth-child(12) { --h: 96%; --i: 12; }
.tel-wave span:nth-child(13) { --h: 80%; --i: 13; }
.tel-wave span:nth-child(14) { --h: 54%; --i: 14; }
.tel-wave span:nth-child(15) { --h: 68%; --i: 15; }
.tel-wave span:nth-child(16) { --h: 44%; --i: 16; }
.tel-wave span:nth-child(17) { --h: 84%; --i: 17; }
.tel-wave span:nth-child(18) { --h: 60%; --i: 18; }
.tel-wave span:nth-child(19) { --h: 36%; --i: 19; }
.tel-wave span:nth-child(20) { --h: 48%; --i: 20; }
.tel-wave span:nth-child(21) { --h: 28%; --i: 21; }
.tel-wave span:nth-child(22) { --h: 38%; --i: 22; }
.tel-wave span:nth-child(23) { --h: 20%; --i: 23; }
.tel-wave span:nth-child(24) { --h: 12%; --i: 24; }
@keyframes tel-talk {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}

.tel-strip { margin-left: auto; margin-right: auto; }

/* ── Sections ────────────────────────────────────────────── */

.tel-section { padding: clamp(64px, 9vw, 120px) 0 0; scroll-margin-top: 24px; }
.tel-section h2 { max-width: 16em; }
.tel-section > .lede { margin-bottom: 8px; }
.tel-section .lines { margin-top: 40px; }

/* After-call email card */
.tel-mail { display: grid; gap: 40px; align-items: center; }
.tel-card {
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(58, 72, 63, 0.6), rgba(24, 29, 26, 0.95));
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8);
}
.tel-card__head { display: grid; gap: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tel-card__k, .tel-spec__k { font: 500 11px/1.2 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); }
.tel-card__t { font: 400 clamp(24px, 2.2vw, 30px)/1.1 var(--serif); letter-spacing: -0.02em; color: var(--cream); }
.tel-card__rows { margin: 0; padding: 16px 0; display: grid; gap: 10px; border-bottom: 1px solid var(--line); }
.tel-card__rows div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.tel-card__rows dt { font: 500 11px/1.9 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.tel-card__rows dd { margin: 0; font-size: 15px; color: var(--cream); }
.tel-card__line { margin: 14px 0 0; font: 400 13.5px/1.55 var(--mono); color: var(--ink-2); }
.tel-card__line b { display: inline-block; min-width: 64px; font-weight: 500; color: var(--sage); }
.tel-card figcaption { margin: 18px 0 0; font-size: 12.5px; color: var(--ink-3); }

/* Spec grid */
.tel-spec { display: grid; grid-template-columns: 1fr; gap: 1px; margin-top: 40px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--line); }
.tel-spec__item { padding: 28px 26px 30px; background: var(--bg); }
.tel-spec__item h3 { margin: 14px 0 10px; font: 400 26px/1.15 var(--serif); color: var(--cream); }
.tel-spec__item p { margin: 0; font-size: 15px; color: var(--ink-2); text-wrap: pretty; }

/* Steps */
.tel-steps { display: grid; grid-template-columns: 1fr; gap: 28px; margin: 40px 0 0; padding: 0; list-style: none; counter-reset: none; }
.tel-steps li { padding-top: 20px; border-top: 1px solid var(--line-2); }
.tel-steps h3 { margin: 0 0 10px; font: 400 23px/1.2 var(--serif); color: var(--cream); }
.tel-steps p { margin: 0; font-size: 15px; color: var(--ink-2); }
.tel-steps .line__n { margin-bottom: 14px; color: var(--rose); }
.tel .line__n { color: var(--rose); }

/* Pricing */
.tel-offer { padding-bottom: clamp(64px, 9vw, 120px); }
.tel-prices { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
.tel-price-card { padding: 30px 28px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(20, 24, 21, 0.55); }
.tel-price-card--month { border-color: rgba(215, 175, 164, 0.45); background: linear-gradient(160deg, rgba(58, 72, 63, 0.5), rgba(24, 29, 26, 0.9)); }
.tel-price-card__n { margin: 16px 0 4px; font: 400 clamp(56px, 6vw, 76px)/1 var(--serif); letter-spacing: -0.03em; color: var(--cream); }
.tel-price-card__n small { margin-left: 6px; font: 400 15px/1 var(--mono); letter-spacing: 0; color: var(--ink-3); }
.tel-price-card__what { margin: 0 0 20px; font: 500 12px/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }
.tel-price-card ul { margin: 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.tel-price-card li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink-2); }
.tel-price-card li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }
.tel-price-card--best { position: relative; border-color: var(--rose); box-shadow: 0 0 0 1px var(--rose), 0 24px 60px -30px rgba(215, 175, 164, 0.5); }
.tel-badge { position: absolute; top: -12px; right: 22px; padding: 5px 12px; border-radius: 999px; background: var(--rose); color: #141815; font: 600 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.tel-upgrade { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.tel-upgrade strong, .tel-price-card li strong { color: var(--cream); font-weight: 600; }
.tel-offer__note { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-3); }
.tel-launch { margin-top: 32px; padding: 18px 22px; border: 1px solid rgba(215, 175, 164, 0.45); border-radius: 12px; background: rgba(215, 175, 164, 0.08); }
.tel-launch p { margin: 8px 0 0; color: var(--ink-2); }
.tel-launch strong { color: var(--cream); }
.tel-was { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: 1px; }
.tel-offer-flag { margin: 8px 0 0; font-size: 14px; color: var(--ink-3); }
.tel-offer-flag strong { color: var(--cream); }
.tel-brand { margin: 22px 0 0; font-size: 14.5px; color: var(--ink-3); max-width: 46ch; }
.tel-brand a, .tel .closing__who a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

.tel .closing__promise { border-left-color: var(--rose); }

/* ── Breakpoints: phone < 640 · tablet 640–1023 · desktop ≥ 1024 ── */

@media (max-width: 639px) {
  .tel-hero .actions, .tel-offer .actions { flex-direction: column; align-items: stretch; }
  .tel-hero .actions .btn, .tel-offer .actions .btn { justify-content: center; text-align: center; }
  .tel-wave { height: 140px; }
  .tel-card { padding: 22px 20px; }
  .tel-card__rows div { grid-template-columns: 1fr; gap: 2px; }
}

@media (min-width: 640px) {
  .tel-spec { grid-template-columns: 1fr 1fr; }
  .tel-steps { grid-template-columns: 1fr 1fr; }
  .tel-prices { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .tel-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: clamp(32px, 5vw, 72px); }
  .tel-mail { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); column-gap: clamp(32px, 5vw, 72px); }
  .tel-steps { grid-template-columns: repeat(4, 1fr); }
  .tel .lines { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .tel-wave span { animation: none; }
}
