/* ============================================================
   RPN Voice — Response Phone Network Voice
   Two Valley Studio · Fairfield Kr8tive LLC
   Self-contained: no external fonts, no CDN, no network calls.
   ============================================================ */

:root{
  /* LIGHT identity — LOCKED by Derek 2026-08-20: white field, blue wave,
     navy type, per his "VOICE INTELLIGENCE FOR BUSINESS" mockup. This
     supersedes the dark/mint palette from 2026-08-19 (which itself declared
     the light variant superseded — Derek ruled the other way; the layout and
     content of that pass are kept, only the palette reverts). --accent is
     the brand blue; --status stays a separate deeper hue for live/system
     indicators so it never reads as a second brand accent. */
  --ink:        #F7FAFD;
  --ink-2:      #FFFFFF;
  --surface:    #FFFFFF;
  --surface-2:  #EFF5FB;
  --line:       #D8E4F0;
  --line-soft:  #E6EEF6;

  --text:       #14284B;
  --text-dim:   #44597B;
  --text-faint: #7C8DA6;

  --accent:      #2E90D9;
  --accent-deep: #1B6FB5;
  --accent-soft: rgba(46,144,217,.10);
  --status:      #1B6FB5;

  --radius:     14px;
  --radius-lg:  20px;

  --maxw:       1160px;
  --pad:        clamp(20px, 5vw, 40px);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --shadow: 0 24px 50px -22px rgba(27,68,120,.25);
}

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

html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--ink);
  color:var(--text);
  font-family:var(--sans);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img,svg{ max-width:100%; }
a{ color:inherit; }

.skip{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--accent); color:#FFFFFF; padding:10px 16px; border-radius:0 0 10px 0;
  font-weight:600; text-decoration:none;
}
.skip:focus{ left:0; }

:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
  border-radius:6px;
}

/* ---------- layout ---------- */
.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--pad); }
.wrap--narrow{ max-width:840px; }

.section{ padding:clamp(64px, 9vw, 118px) 0; }
.section--alt{
  background:
    radial-gradient(1200px 400px at 50% 0%, rgba(46,144,217,.05), transparent 70%),
    var(--ink-2);
  border-block:1px solid var(--line-soft);
}

/* ---------- type ---------- */
.h1{
  font-size:clamp(2.35rem, 5vw, 3.75rem);
  line-height:1.05;
  letter-spacing:-.033em;
  font-weight:700;
  margin:0 0 22px;
}
.h1 em{
  font-style:normal;
  color:var(--accent);
  background:linear-gradient(180deg,#3FA0E0,var(--accent-deep));
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
}
.h2{
  font-size:clamp(1.7rem, 3.5vw, 2.6rem);
  line-height:1.14;
  letter-spacing:-.026em;
  font-weight:680;
  margin:0;
  max-width:22ch;
}
.h2--center{ max-width:100%; text-align:center; }
.h3{
  font-size:clamp(1.28rem,2.3vw,1.6rem);
  line-height:1.22; letter-spacing:-.018em; font-weight:660; margin:0 0 8px;
}
.h4{
  font-size:1.075rem; line-height:1.35; letter-spacing:-.012em;
  font-weight:660; margin:0 0 8px; color:var(--text);
}
p{ margin:0 0 14px; color:var(--text-dim); }
p:last-child{ margin-bottom:0; }
strong{ color:var(--text); font-weight:640; }

.kicker{
  font-size:.735rem; letter-spacing:.16em; text-transform:uppercase;
  font-weight:700; color:var(--accent); margin:0 0 14px;
}
.kicker--center{ text-align:center; }

.sechead{ margin-bottom:clamp(34px,5vw,54px); max-width:760px; }

/* ---------- buttons ---------- */
.btn{
  --btn-bg:linear-gradient(180deg,#3FA0E0,var(--accent-deep));
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  background:var(--btn-bg); color:#FFFFFF;
  font-weight:660; font-size:.97rem; letter-spacing:-.005em;
  padding:13px 24px; border-radius:11px; border:1px solid rgba(46,144,217,.4);
  text-decoration:none; cursor:pointer;
  box-shadow:0 8px 22px -10px rgba(46,144,217,.45);
  transition:transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn:hover{ transform:translateY(-1.5px); box-shadow:0 14px 30px -12px rgba(46,144,217,.6); filter:saturate(1.05); }
.btn:active{ transform:translateY(0); }
.btn--ghost{
  background:transparent; color:var(--text);
  border:1px solid var(--line); box-shadow:none;
}
.btn--ghost:hover{ background:var(--surface); border-color:#B9CDE2; box-shadow:none; }
.btn--sm{ padding:9px 16px; font-size:.87rem; }
.btn--lg{ padding:16px 30px; font-size:1.03rem; }
.btn--full{ width:100%; }

/* ---------- nav ---------- */
.nav{
  position:sticky; top:0; z-index:60;
  background:rgba(255,255,255,.85);
  backdrop-filter:saturate(150%) blur(14px);
  -webkit-backdrop-filter:saturate(150%) blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .2s ease, background .2s ease;
}
.nav.is-stuck{ border-bottom-color:var(--line-soft); background:rgba(255,255,255,.96); }
.nav__inner{ display:flex; align-items:center; gap:20px; height:66px; }

.brand{ display:inline-flex; align-items:center; gap:9px; text-decoration:none; color:var(--text); flex:0 0 auto; }
.brand__mark{ color:var(--accent); display:inline-flex; }
.brand__word{ font-weight:740; letter-spacing:-.02em; font-size:1.11rem; }
.brand__word-thin{ font-weight:420; color:var(--text-dim); }

.nav__links{ display:flex; gap:26px; margin-left:auto; }
.nav__links a{
  text-decoration:none; color:var(--text-dim); font-size:.92rem; font-weight:520;
  transition:color .15s ease;
}
.nav__links a:hover{ color:var(--text); }
.nav__inner > .btn{ flex:0 0 auto; }

@media (max-width:860px){
  .nav__links{ display:none; }
  .nav__inner > .btn{ margin-left:auto; }
}

/* ---------- hero ---------- */
.hero{ position:relative; padding:clamp(48px,7vw,88px) 0 clamp(52px,6vw,78px); overflow:hidden; }
.hero__glow{
  position:absolute; inset:-30% -10% auto -10%; height:820px; pointer-events:none;
  background:
    radial-gradient(680px 380px at 22% 12%, rgba(46,144,217,.14), transparent 62%),
    radial-gradient(620px 420px at 82% 6%, rgba(77,139,255,.09), transparent 60%);
  filter:blur(4px);
}
.hero__grid{
  position:relative;
  display:grid; grid-template-columns:1.12fr .88fr; gap:clamp(32px,5vw,64px);
  align-items:center;
}
@media (max-width:940px){ .hero__grid{ grid-template-columns:1fr; } }

.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-size:.78rem; font-weight:620; letter-spacing:.045em;
  color:var(--text-dim); background:var(--surface);
  border:1px solid var(--line); border-radius:999px; padding:6px 14px 6px 11px;
  margin:0 0 26px;
}
.dot{
  width:7px; height:7px; border-radius:50%; background:var(--accent);
  box-shadow:0 0 0 0 rgba(46,144,217,.55); animation:pulse 2.6s infinite;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(46,144,217,.5); }
  70%{ box-shadow:0 0 0 8px rgba(46,144,217,0); }
  100%{ box-shadow:0 0 0 0 rgba(46,144,217,0); }
}
@media (prefers-reduced-motion: reduce){ .dot{ animation:none; } }

.lede{ font-size:clamp(1.02rem,1.7vw,1.16rem); max-width:56ch; margin-bottom:30px; }
.hero__cta{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:20px; }
.hero__note{ font-size:.9rem; color:var(--text-faint); }

/* ---------- call card ---------- */
.callcard{
  background:linear-gradient(180deg,var(--surface),var(--ink-2));
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.callcard__bar{
  display:flex; align-items:center; gap:10px;
  padding:13px 16px; border-bottom:1px solid var(--line-soft);
  background:rgba(255,255,255,.02);
}
.callcard__led{
  width:9px; height:9px; border-radius:50%; background:var(--accent); flex:0 0 auto;
  transition:background .3s ease;
}
.callcard__led.is-live{ background:var(--status); }
.callcard__led.is-end{ background:#9AA9BD; }
.callcard__status{ font-size:.82rem; font-weight:620; letter-spacing:.02em; color:var(--text-dim); }
.callcard__time{ margin-left:auto; font-family:var(--mono); font-size:.78rem; color:var(--text-faint); }

/* fixed height so appending lines scrolls inside the card instead of
   growing it and shifting the hero around mid-animation */
.callcard__body{
  padding:20px 18px;
  height:352px;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#C4D4E5 transparent;
  display:flex; flex-direction:column; gap:12px;
  font-size:.94rem;
}
.callcard__body::-webkit-scrollbar{ width:6px; }
.callcard__body::-webkit-scrollbar-thumb{ background:#C4D4E5; border-radius:99px; }
.callcard__body::-webkit-scrollbar-track{ background:transparent; }
@media (max-width:420px){ .callcard__body{ height:300px; } }

.line{
  display:flex; flex-direction:column; gap:4px; flex:0 0 auto;
  animation:rise .34s ease both;
}
@keyframes rise{ from{ opacity:0; transform:translateY(7px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .line{ animation:none; } }

.line__who{
  font-size:.66rem; letter-spacing:.13em; text-transform:uppercase; font-weight:700;
}
.line--agent .line__who{ color:var(--accent); }
.line--caller .line__who{ color:var(--status); }
.line--sys .line__who{ color:var(--status); }

.line__txt{
  background:var(--surface-2); border:1px solid var(--line-soft);
  border-radius:12px; padding:10px 13px; color:var(--text);
  line-height:1.5; align-self:flex-start; max-width:94%;
}
.line--caller .line__txt{ background:#EAF3FB; border-color:#CFE1F1; align-self:flex-end; text-align:left; }
.line--sys .line__txt{
  background:rgba(46,144,217,.07); border-color:rgba(46,144,217,.22);
  color:#177A50; font-family:var(--mono); font-size:.79rem; white-space:pre-line;
}
.cursor{
  display:inline-block; width:7px; height:1.05em; vertical-align:-2px;
  background:var(--accent); margin-left:2px; animation:blink 1s steps(2) infinite;
}
@keyframes blink{ 50%{ opacity:0; } }

.callcard__foot{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  padding:13px 16px; border-top:1px solid var(--line-soft);
  background:rgba(255,255,255,.02);
}
.seg{ display:flex; background:var(--ink); border:1px solid var(--line); border-radius:9px; padding:3px; gap:3px; }
.seg__btn{
  font:inherit; font-size:.79rem; font-weight:590; cursor:pointer;
  background:transparent; color:var(--text-dim); border:0;
  padding:6px 11px; border-radius:7px; transition:background .15s, color .15s;
}
.seg__btn:hover{ color:var(--text); }
.seg__btn.is-on{ background:var(--accent-soft); color:var(--accent); }
.replay{
  margin-left:auto; font:inherit; font-size:.79rem; font-weight:590; cursor:pointer;
  background:transparent; color:var(--text-faint); border:1px solid var(--line);
  padding:6px 12px; border-radius:8px; transition:color .15s, border-color .15s;
}
.replay:hover{ color:var(--text); border-color:#B9CDE2; }

/* ---------- generic grids ---------- */
.cols3{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(20px,3vw,36px); }
@media (max-width:800px){ .cols3{ grid-template-columns:1fr; gap:26px; } }
.stack{ padding-top:18px; border-top:2px solid var(--line); }

/* ---------- honest block ---------- */
.honest{
  margin-top:clamp(38px,5vw,58px);
  background:linear-gradient(135deg, rgba(46,144,217,.07), rgba(46,144,217,.015));
  border:1px solid rgba(46,144,217,.22);
  border-left:3px solid var(--accent);
  border-radius:var(--radius);
  padding:clamp(22px,3vw,32px);
}
.honest--tight{ margin-top:34px; }
.honest__tag{
  font-size:.72rem; letter-spacing:.15em; text-transform:uppercase; font-weight:700;
  color:var(--accent); margin:0 0 12px;
}
.honest p{ max-width:74ch; }

/* ---------- steps ---------- */
.steps{
  list-style:none; margin:0; padding:0;
  display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(20px,3vw,32px);
}
@media (max-width:860px){ .steps{ grid-template-columns:1fr; } }
.step{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius); padding:26px 24px 24px; position:relative;
}
.step__n{
  display:block; font-family:var(--mono); font-size:.8rem; font-weight:700;
  color:var(--accent); letter-spacing:.1em; margin-bottom:14px;
}

.sms{
  margin-top:clamp(30px,4vw,44px);
  background:var(--ink); border:1px solid var(--line); border-radius:var(--radius);
  padding:20px 22px; max-width:520px;
}
.sms__label{
  font-size:.72rem; letter-spacing:.13em; text-transform:uppercase;
  font-weight:700; color:var(--text-faint); margin:0 0 12px;
}
.sms__body{
  margin:0; font-family:var(--mono); font-size:.83rem; line-height:1.75;
  color:var(--text); white-space:pre-wrap; word-break:break-word;
}

/* ---------- cards ---------- */
.cards{ display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(16px,2vw,22px); }
@media (max-width:1000px){ .cards{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .cards{ grid-template-columns:1fr; } }
.card{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius); padding:24px 22px;
  transition:border-color .18s ease, transform .18s ease;
}
.card:hover{ border-color:#B9CDE2; transform:translateY(-2px); }
.card__ico{
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:11px;
  background:var(--accent-soft); color:var(--accent);
  border:1px solid rgba(46,144,217,.24);
  margin-bottom:16px;
}
.card p{ font-size:.94rem; }

/* ---------- limits ---------- */
.limits{
  margin-top:clamp(40px,5vw,62px);
  display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(24px,4vw,48px);
  padding-top:clamp(34px,4vw,46px); border-top:1px solid var(--line);
}
@media (max-width:900px){ .limits{ grid-template-columns:1fr; } }
.limits__head p{ font-size:.95rem; }
.limits__list{ list-style:none; margin:0; padding:0; display:grid; gap:14px; }
.limits__list li{
  position:relative; padding-left:30px; color:var(--text-dim); font-size:.97rem; line-height:1.6;
}
.limits__list li::before{
  content:""; position:absolute; left:0; top:.55em;
  width:14px; height:2px; border-radius:2px; background:var(--accent); opacity:.85;
}

/* ---------- pricing ---------- */
.tiers{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(18px,2.4vw,26px); align-items:start; }
@media (max-width:960px){ .tiers{ grid-template-columns:1fr; max-width:520px; margin-inline:auto; } }

.tier{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius-lg); padding:28px 26px 26px;
  display:flex; flex-direction:column; height:100%;
}
.tier--feature{
  background:linear-gradient(180deg,var(--surface-2),var(--surface));
  border-color:rgba(46,144,217,.4);
  box-shadow:0 20px 50px -24px rgba(46,144,217,.28);
  position:relative;
}
.tier__flag{
  position:absolute; top:-11px; left:26px;
  background:linear-gradient(180deg,#3FA0E0,var(--accent-deep)); color:#FFFFFF;
  font-size:.68rem; font-weight:730; letter-spacing:.08em; text-transform:uppercase;
  padding:4px 11px; border-radius:999px;
}
.tier__name{ font-size:1.22rem; font-weight:680; letter-spacing:-.018em; margin:0 0 8px; }
.tier__for{ font-size:.9rem; min-height:3.2em; margin-bottom:18px; }
.tier__price{ margin:0 0 2px; display:flex; align-items:baseline; gap:7px; }
.tier__price--sub{ margin-bottom:6px; }
.tier__amt{ font-size:2rem; font-weight:720; letter-spacing:-.03em; color:var(--text); line-height:1.1; }
.tier__unit{ font-size:.88rem; color:var(--text-faint); font-weight:560; }
.tier__quote{ font-size:1.62rem; font-weight:680; letter-spacing:-.02em; color:var(--accent); line-height:1.35; }
.tier__pricenote{ font-size:.79rem; color:var(--text-faint); margin:2px 0 0; }

.tier__list{ list-style:none; margin:22px 0 26px; padding:0; display:grid; gap:11px; }
.tier__list li{
  position:relative; padding-left:26px; font-size:.93rem; color:var(--text-dim); line-height:1.5;
}
.tier__list li::before{
  content:""; position:absolute; left:2px; top:.42em; width:11px; height:6px;
  border-left:2px solid var(--accent); border-bottom:2px solid var(--accent);
  transform:rotate(-45deg); border-radius:1px;
}
.tier .btn{ margin-top:auto; }

/* ---------- faq ---------- */
.faq{ display:grid; gap:10px; }
.qa{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius); overflow:hidden;
}
.qa[open]{ border-color:#B9CDE2; }
.qa summary{
  list-style:none; cursor:pointer; padding:18px 52px 18px 22px; position:relative;
  font-weight:620; font-size:1rem; letter-spacing:-.01em; color:var(--text);
}
.qa summary::-webkit-details-marker{ display:none; }
.qa summary::after{
  content:""; position:absolute; right:22px; top:50%; width:10px; height:10px;
  border-right:2px solid var(--accent); border-bottom:2px solid var(--accent);
  transform:translateY(-70%) rotate(45deg); transition:transform .2s ease;
}
.qa[open] summary::after{ transform:translateY(-30%) rotate(-135deg); }
.qa summary:hover{ background:rgba(255,255,255,.025); }
.qa__body{ padding:0 22px 22px; }
.qa__body p{ font-size:.96rem; }
.qa__body blockquote{
  margin:0 0 14px; padding:13px 16px;
  background:var(--ink); border-left:3px solid var(--accent); border-radius:0 10px 10px 0;
  color:var(--text); font-size:.95rem; line-height:1.55;
}

/* ---------- cta ---------- */
.cta{
  padding:clamp(64px,9vw,110px) 0;
  background:
    radial-gradient(760px 340px at 50% 8%, rgba(46,144,217,.1), transparent 66%),
    var(--ink-2);
  border-top:1px solid var(--line-soft);
  text-align:center;
}
.cta__lede{ font-size:1.05rem; max-width:60ch; margin:20px auto 30px; }
.cta__row{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:16px; margin-bottom:26px;
}
.cta__addr{ font-size:.92rem; color:var(--text-faint); }
.cta__addr a{ color:var(--text-dim); text-decoration:underline; text-underline-offset:3px; }
.cta__addr a:hover{ color:var(--accent); }
.cta__scarce{
  font-size:.91rem; color:var(--text-faint); max-width:56ch; margin-inline:auto;
  padding-top:22px; border-top:1px solid var(--line-soft);
}

/* ---------- footer ---------- */
.foot{ background:var(--ink); border-top:1px solid var(--line-soft); padding-top:clamp(44px,6vw,62px); }
.foot__inner{
  display:grid; grid-template-columns:1.4fr 1fr; gap:32px; padding-bottom:34px;
}
@media (max-width:760px){ .foot__inner{ grid-template-columns:1fr; gap:26px; } }
.brand--foot{ margin-bottom:14px; }
.foot__legal{ font-size:.86rem; color:var(--text-faint); max-width:52ch; margin:0; }
.foot__links{ display:flex; flex-wrap:wrap; gap:8px 24px; align-content:start; }
@media (min-width:761px){ .foot__links{ justify-content:flex-end; } }
.foot__links a{
  font-size:.9rem; color:var(--text-dim); text-decoration:none;
}
.foot__links a:hover{ color:var(--accent); }

.foot__base{
  display:flex; flex-wrap:wrap; gap:10px 24px; justify-content:space-between; align-items:center;
  border-top:1px solid var(--line-soft); padding-block:20px 26px;
}
.foot__copy, .foot__credit{ font-size:.84rem; color:var(--text-faint); margin:0; }
.foot__credit a{
  color:var(--text-dim); text-decoration:none;
  border-bottom:1px solid rgba(46,144,217,.3); padding-bottom:1px;
}
.foot__credit a:hover{ color:var(--accent); border-bottom-color:var(--accent); }

/* ---------- small screens ---------- */
@media (max-width:420px){
  body{ font-size:16px; }
  .btn{ padding:12px 18px; font-size:.93rem; }
  .hero__cta .btn{ flex:1 1 100%; }
  .callcard__foot{ gap:8px; }
  .seg__btn{ padding:6px 9px; font-size:.75rem; }
  .replay{ font-size:.75rem; }
  .tier{ padding:24px 20px; }
  .qa summary{ padding:16px 44px 16px 18px; font-size:.95rem; }
  .qa__body{ padding:0 18px 18px; }
}

/* brand mark as image: white disc so the mark reads on the dark nav
   regardless of which color the mark itself is drawn in — kept, since it
   still functions correctly under the new palette. The mark artwork
   (rpn-mark.png, og-image.png, favicon.png) is still the old blue wave and
   needs its own recolor pass — flagged separately, not done here. */
.brand__mark--img { background:#fff; border-radius:50%; overflow:hidden; display:inline-flex; }
.brand__mark--img img { width:30px; height:30px; display:block; border-radius:50%; }

/* mockup positioning elements */
.hero__kicker{ font-size:.72rem; letter-spacing:.28em; text-transform:uppercase; color:var(--accent-deep); margin:0 0 14px; }
.hero__caps{ font-size:.78rem; letter-spacing:.24em; color:var(--text-dim); margin-top:18px; }

/* hero brand stamp — the wave mark opens the section */
.hero__mark{ display:block; width:76px; height:76px; border-radius:50%;
  margin:0 0 18px; box-shadow:0 12px 30px -12px rgba(27,68,120,.35); }
