/* Our Platform hero + typing phone (ported from atlas-platform-hero/OurPlatformHero.module.css) */


.phx-hero {
  --navy: #144579;
  --accent: #c2105f;
  --accent-hover: #a30d50;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: min(92vh, 860px);
  overflow: hidden;
  background: #e6f1fa; 
  display: flex;
  align-items: center;
  font-family: Helvetica, Arial, sans-serif;
}
@supports (height: 100svh) {
  .phx-hero { min-height: min(92svh, 860px); }
}

.phx-video { position: absolute; inset: 0; z-index: -2; }
.phx-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


.phx-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(9, 28, 51, 0.7) 0%, rgba(9, 28, 51, 0.5) 26%, rgba(9, 28, 51, 0) 48%);
}

.phx-inner {
  
  --pad: clamp(20px, 6vw, 120px);
  width: 100%;
  padding: clamp(96px, 12vh, 140px) var(--pad);
}
.phx-headline,
.phx-subline,
.phx-ctas { max-width: min(560px, calc(36vw - var(--pad) - 24px)); }

.phx-headline {
  font-family: "STIX Two Text", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.25rem, 1.2rem + 2.6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.phx-subline {
  margin: 20px 0 0;
  font-size: 1.25rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
.phx-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.phx-primary,
.phx-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.phx-primary { background: var(--accent); color: #fff; }
.phx-primary:hover { background: var(--accent-hover); }
.phx-secondary { background: rgba(255, 255, 255, 0.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.8); }
.phx-secondary:hover { background: #fff; color: var(--navy); }
.phx-primary:focus-visible,
.phx-secondary:focus-visible,
.phx-pause:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.phx-pause {
  position: absolute;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(9, 28, 51, 0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}




@media (max-width: 767px) {
  
  .phx-hero { align-items: flex-end; min-height: 0; height: auto; aspect-ratio: 9 / 16; }
  .phx-shade { background: linear-gradient(0deg, rgba(9, 28, 51, 0.84) 0%, rgba(9, 28, 51, 0.6) 24%, rgba(9, 28, 51, 0) 40%); }
  .phx-inner { --pad: 20px; padding: 0 20px 24px; position: relative; }
  .phx-headline, .phx-subline, .phx-ctas { max-width: none; }
  .phx-headline { font-size: clamp(1.75rem, 1rem + 3.4vw, 2.5rem); }
  .phx-subline { font-size: 1rem; line-height: 1.45; margin-top: 8px; }
  .phx-ctas { margin-top: 14px; gap: 8px; align-items: center; }
  .phx-primary, .phx-secondary { min-height: 44px; padding: 10px 18px; font-size: 1rem; }
  .phx-pause { right: 20px; top: 2px; bottom: auto; } 
  .phx-headline { padding-right: 56px; }
}


.phx-panel-section {
  padding: clamp(48px, 6vw, 96px) clamp(16px, 4vw, 48px);
  background: #fff;
  font-family: Helvetica, Arial, sans-serif;
}
.phx-panel {
  max-width: 1200px;
  margin: 0 auto;
  background: #e6f1fa; 
  border-radius: clamp(24px, 3vw, 40px);
  padding: clamp(40px, 5vw, 72px) clamp(20px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.phx-phone-col { display: flex; justify-content: center; }
.phx-caption-col { max-width: 440px; }
.phx-caption {
  font-family: "STIX Two Text", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #144579;
  margin: 0;
}
.phx-caption-sub { margin: 14px 0 0; font-size: 1.25rem; line-height: 1.5; color: #3a414b; }
@media (max-width: 767px) {
  .phx-panel { grid-template-columns: 1fr; text-align: center; }
  .phx-caption-col { margin: 0 auto; }
}


.phx-phone {
  --pw: clamp(230px, 26vw, 320px);   
  --u: calc(var(--pw) / 425);         
  position: relative;
  width: var(--pw);
  height: calc(884 * var(--u));
  border-radius: calc(71 * var(--u));
  background: linear-gradient(145deg, #5b5d63 0%, #2a2b2f 18%, #1b1c1f 50%, #2c2d31 82%, #62646a 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 calc(30 * var(--u)) calc(60 * var(--u)) calc(-18 * var(--u)) rgba(20, 69, 121, 0.38),
    0 calc(10 * var(--u)) calc(24 * var(--u)) rgba(20, 69, 121, 0.14);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}
.phx-btn { position: absolute; width: calc(4 * var(--u)); border-radius: 2px; background: linear-gradient(90deg, #1d1e21, #55575c 60%, #2a2b2e); }
.phx-b1 { left: calc(-3 * var(--u)); top: calc(150 * var(--u)); height: calc(34 * var(--u)); }
.phx-b2 { left: calc(-3 * var(--u)); top: calc(210 * var(--u)); height: calc(62 * var(--u)); }
.phx-b3 { left: calc(-3 * var(--u)); top: calc(286 * var(--u)); height: calc(62 * var(--u)); }
.phx-b4 { right: calc(-3 * var(--u)); top: calc(232 * var(--u)); height: calc(100 * var(--u)); }
.phx-bezel { position: absolute; inset: calc(4 * var(--u)); border-radius: calc(67 * var(--u)); background: #050506; }
.phx-screen {
  position: absolute;
  left: calc(12 * var(--u));
  top: calc(12 * var(--u));
  width: calc(393 * var(--u));
  height: calc(852 * var(--u));
  border-radius: calc(55 * var(--u));
  overflow: hidden;
  background: #eff2f6;
  color: #0e1116;
  font-size: calc(16 * var(--u));
}
.phx-status { position: absolute; inset: 0 0 auto 0; height: calc(54 * var(--u)); }
.phx-time { position: absolute; left: 0; width: calc(107 * var(--u)); top: calc(17 * var(--u)); text-align: center; font-weight: 600; font-size: calc(17 * var(--u)); line-height: calc(22 * var(--u)); }
.phx-icons { position: absolute; right: calc(32 * var(--u)); top: calc(21 * var(--u)); display: flex; gap: calc(6 * var(--u)); color: #000; }
.phx-icons svg { width: auto; height: calc(12 * var(--u)); fill: currentColor; }
.phx-island { position: absolute; left: calc(133.5 * var(--u)); top: calc(11 * var(--u)); width: calc(126 * var(--u)); height: calc(37 * var(--u)); border-radius: calc(19 * var(--u)); background: #000; }
.phx-home { position: absolute; left: calc(129.5 * var(--u)); bottom: calc(8 * var(--u)); width: calc(134 * var(--u)); height: calc(5 * var(--u)); border-radius: calc(3 * var(--u)); background: #0b0b0c; }

.phx-app { position: absolute; left: 0; right: 0; top: calc(66 * var(--u)); padding: 0 calc(20 * var(--u)); }
.phx-chip { display: inline-flex; align-items: center; gap: calc(6 * var(--u)); padding: 0 calc(10 * var(--u)); height: calc(26 * var(--u)); border-radius: calc(13 * var(--u)); background: #e7f5ec; color: #15703a; font-weight: 600; font-size: calc(13 * var(--u)); }
.phx-chip i { width: calc(7 * var(--u)); height: calc(7 * var(--u)); border-radius: 50%; background: #16a34a; }
.phx-title { margin-top: calc(10 * var(--u)); font-weight: 300; font-size: calc(34 * var(--u)); line-height: calc(40 * var(--u)); letter-spacing: -0.03em; }
.phx-subtitle { color: #5b636e; font-size: calc(15 * var(--u)); line-height: calc(21 * var(--u)); }
.phx-sec { display: flex; justify-content: space-between; margin: calc(16 * var(--u)) calc(4 * var(--u)) calc(8 * var(--u)); color: #5b636e; font-weight: 600; font-size: calc(13 * var(--u)); letter-spacing: 0.03em; text-transform: uppercase; }
.phx-list { background: #fff; border-radius: calc(14 * var(--u)); box-shadow: 0 1px 2px rgba(23, 35, 74, 0.05), 0 calc(6 * var(--u)) calc(18 * var(--u)) rgba(23, 35, 74, 0.07); padding-bottom: calc(8 * var(--u)); }
.phx-row { display: flex; align-items: center; justify-content: space-between; min-height: calc(46 * var(--u)); margin-left: calc(14 * var(--u)); padding-right: calc(14 * var(--u)); border-bottom: 0.5px solid #e2e5ea; font-weight: 500; font-size: calc(16 * var(--u)); }
.phx-done { color: #15703a; font-weight: 600; font-size: calc(13 * var(--u)); }
.phx-careful { display: flex; gap: calc(10 * var(--u)); align-items: flex-start; margin: calc(8 * var(--u)) calc(12 * var(--u)) 0; padding: calc(12 * var(--u)) calc(14 * var(--u)); border-radius: calc(12 * var(--u)); background: #e9ebef; color: #3a414b; font-size: calc(15 * var(--u)); line-height: calc(21 * var(--u)); }
.phx-careful svg { flex: none; width: calc(18 * var(--u)); height: calc(18 * var(--u)); margin-top: calc(1.5 * var(--u)); }
.phx-jot { margin: 0 calc(4 * var(--u)) calc(6 * var(--u)); color: #3a414b; font-weight: 500; font-size: calc(14 * var(--u)); line-height: calc(19 * var(--u)); animation: phxJotIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes phxJotIn { from { opacity: 0; transform: translateY(calc(6 * var(--u))); } to { opacity: 1; transform: none; } }
.phx-input { background: #fff; border-radius: calc(12 * var(--u)); padding: calc(14 * var(--u)); min-height: calc(74 * var(--u)); font-size: calc(17 * var(--u)); line-height: calc(23 * var(--u)); }
.phx-ph { color: #646b77; }
.phx-caret { display: inline-block; width: calc(2 * var(--u)); height: calc(22 * var(--u)); margin-left: 1px; vertical-align: calc(-4 * var(--u)); border-radius: 1px; background: #2f6be0; animation: phxBlink 1.06s steps(1, end) infinite; }
@keyframes phxBlink { 50% { opacity: 0; } }
.phx-add { margin-top: calc(12 * var(--u)); min-height: calc(52 * var(--u)); border-radius: 999px; background: #e9ebef; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: calc(17 * var(--u)); opacity: 0.5; transition: transform 0.12s ease, opacity 0.2s ease, background-color 0.12s ease; }
.phx-add.on { opacity: 1; }
.phx-add.pressed { transform: scale(0.97); background: #dfe2e7; }

@media (prefers-reduced-motion: reduce) {
  .phx-caret, .phx-jot { animation: none; }
  .phx-add { transition: none; }
}

/* site integration */
.phx-hero .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.phx-hero{min-height:min(calc(92vh - var(--header-h)),820px)}
.phx-pause .i-play{display:none}.phx-pause[aria-pressed="true"] .i-play{display:block}.phx-pause[aria-pressed="true"] .i-pause{display:none}
.phx-input .phx-ph{display:inline}.phx-input.typing .phx-ph{display:none}
.phx-input.saved .phx-caret{display:none}
.phx-row[data-last]{border-bottom:0}
.phx-headline{color:#fff}
@media (min-width:768px){.phx-hero{min-height:0;height:min(calc(92vh - var(--header-h)),820px,56.25vw)}}
@media (min-width:768px){.phx-hero{height:min(56.25vw,1000px)}}

/* ---------- In-app calling section ---------- */
.calls-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:clamp(32px,5vw,72px);align-items:center}
.calls-phone-col{display:flex;justify-content:center;background:radial-gradient(120% 100% at 30% 15%,#fff 0%,var(--panel-blue) 60%,#B9DCF0 100%);border-radius:var(--r-xl);padding:clamp(32px,4vw,56px) 16px}
.call-phone .phx-screen{background:#EEF2F7}
.call-ui{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",Inter,Helvetica,Arial,sans-serif}
.call-avatar{margin-top:calc(270 * var(--u));width:calc(110 * var(--u));height:calc(110 * var(--u));border-radius:50%;background:#FDF0E1;color:#9A3F0C;display:grid;place-items:center;font-weight:600;font-size:calc(46 * var(--u))}
.call-name{margin-top:calc(22 * var(--u));font-size:calc(34 * var(--u));color:#0E1116;letter-spacing:-.01em}
.call-sub{margin-top:calc(6 * var(--u));font-size:calc(15 * var(--u));color:#5B636E}
.call-actions{position:absolute;bottom:calc(70 * var(--u));left:0;right:0;display:flex;justify-content:space-around;padding:0 calc(40 * var(--u))}
.call-btn{display:flex;flex-direction:column;align-items:center;gap:calc(8 * var(--u));font-size:calc(14 * var(--u));color:#3A414B}
.call-circle{width:calc(64 * var(--u));height:calc(64 * var(--u));border-radius:50%;display:grid;place-items:center}
.call-circle svg{width:calc(26 * var(--u));height:calc(26 * var(--u))}
.call-circle.decline{background:#C62E2E}.call-circle.answer{background:#178040}
@media (prefers-reduced-motion:no-preference){.call-circle.answer{animation:ringPulse 1.8s ease-out infinite}@keyframes ringPulse{0%{box-shadow:0 0 0 0 rgb(23 128 64/.45)}70%{box-shadow:0 0 0 calc(18 * var(--u)) rgb(23 128 64/0)}100%{box-shadow:0 0 0 0 rgb(23 128 64/0)}}}
.calls-list{margin-top:24px}
.calls-list li{font-weight:400;color:var(--body);line-height:1.5}
.calls-list b{color:var(--ink)}
.grow-card{margin-top:clamp(40px,5vw,64px);display:grid;grid-template-columns:1fr 1.6fr;gap:32px;align-items:start;background:var(--panel-butter);border-radius:28px;padding:clamp(28px,4vw,44px)}
.grow-card h3{margin-top:4px}
.grow-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.grow-list li{background:#fff;border-radius:18px;padding:18px;font-size:.95rem;color:var(--body)}
.grow-list b{display:block;color:var(--ink);margin-bottom:6px;font-size:1rem}
@media (max-width:1000px){.grow-card{grid-template-columns:1fr}.grow-list{grid-template-columns:1fr}}
@media (max-width:900px){.calls-grid{grid-template-columns:1fr}}
.grow-card{grid-template-columns:1fr;gap:20px}.grow-card h3{max-width:none}

/* ---------- Screen-sharing story ---------- */
.share-story{margin-top:clamp(56px,7vw,104px);display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(32px,5vw,72px);align-items:center}
.share-text h2{margin-bottom:18px}
.story-time{font:600 clamp(1.6rem,1.2rem + 1vw,2.2rem)/1 var(--font-display);color:var(--accent);margin-bottom:10px}
.share-text .lead{max-width:44ch}
.story-p{margin-top:14px;font-size:1.08rem;max-width:50ch}
.story-kicker{margin-top:20px;font:500 1.25rem/1.4 var(--font-display);color:var(--atlas-navy)}
.share-visual{position:relative;display:flex;justify-content:center;background:radial-gradient(120% 100% at 70% 15%,#fff 0%,var(--panel-apricot) 60%,#F6D2B4 100%);border-radius:var(--r-xl);padding:clamp(32px,4vw,56px) 16px}
.share-phone .phx-screen{background:#EEF2F7;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",Inter,Helvetica,Arial,sans-serif}
.ss-bar{position:absolute;left:calc(8 * var(--u));right:calc(8 * var(--u));top:calc(58 * var(--u));background:#C62E2E;color:#fff;border-radius:calc(16 * var(--u));padding:calc(12 * var(--u)) calc(14 * var(--u));display:flex;align-items:center;justify-content:space-between;gap:calc(10 * var(--u));font-weight:600;font-size:calc(14 * var(--u));line-height:1.25}
.ss-stop{background:#fff;color:#C62E2E;border-radius:999px;padding:calc(7 * var(--u)) calc(12 * var(--u));white-space:nowrap;font-size:calc(13 * var(--u))}
.ss-app{position:absolute;left:0;right:0;top:calc(128 * var(--u));padding:0 calc(16 * var(--u))}
.ss-kicker{color:#5B636E;font-weight:600;font-size:calc(12 * var(--u));letter-spacing:.05em;text-transform:uppercase;margin:calc(14 * var(--u)) calc(4 * var(--u)) calc(6 * var(--u))}
.ss-app > .ss-kicker:first-child{margin-top:0}
.ss-row{display:flex;justify-content:space-between}
.ss-name{font-size:calc(30 * var(--u));font-weight:300;letter-spacing:-.02em;color:#0E1116;line-height:1.1}
.ss-time{color:#5B636E;font-size:calc(14 * var(--u));margin-top:calc(2 * var(--u))}
.ss-note{margin-top:calc(12 * var(--u));background:#E7EBF0;border-radius:calc(12 * var(--u));padding:calc(10 * var(--u)) calc(12 * var(--u));display:flex;gap:calc(8 * var(--u));align-items:center;font-size:calc(13 * var(--u));color:#3A414B}
.ss-note svg{width:calc(16 * var(--u));height:calc(16 * var(--u));flex:none}
.ss-list{background:#fff;border-radius:calc(14 * var(--u));box-shadow:0 1px 2px rgba(23,35,74,.05)}
.ss-list div{padding:calc(11 * var(--u)) calc(14 * var(--u));font-size:calc(14 * var(--u));color:#0E1116;border-bottom:.5px solid #E2E5EA}
.ss-list div:last-child{border-bottom:0}
.ss-confirm div{font-size:calc(13 * var(--u));line-height:1.35}
.ss-oncall{margin-top:calc(10 * var(--u));background:#E3F3E8;color:#15703A;border-radius:999px;padding:calc(5 * var(--u)) calc(10 * var(--u));font-size:calc(11.5 * var(--u));font-weight:600;display:flex;align-items:center;gap:calc(6 * var(--u))}
.ss-oncall i{width:calc(7 * var(--u));height:calc(7 * var(--u));border-radius:50%;background:#16A34A}
.ss-clock{margin-top:calc(8 * var(--u));background:#0F3A6B;color:#fff;border-radius:999px;text-align:center;padding:calc(14 * var(--u));font-weight:600;font-size:calc(16 * var(--u))}
.ss-bubble{position:absolute;left:clamp(8px,4%,40px);bottom:clamp(40px,14%,90px);max-width:240px;background:#FFF6D6;border-radius:18px;padding:14px 16px;font:500 1.05rem/1.35 var(--font-display);color:var(--ink);box-shadow:var(--shadow-float)}
.ss-who{display:block;font:600 .72rem/1.2 var(--font-body);letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
@media (prefers-reduced-motion:no-preference){.ss-clock{animation:ssPulse 2.4s ease-in-out infinite}@keyframes ssPulse{0%,100%{box-shadow:0 0 0 0 rgb(15 58 107/.0)}50%{box-shadow:0 0 0 calc(6 * var(--u)) rgb(15 58 107/.18)}}}
@media (max-width:900px){.share-story{grid-template-columns:1fr}.ss-bubble{position:static;margin:16px auto 0;max-width:none}.share-visual{flex-direction:column;align-items:center}}
@media (min-width:901px){.ss-bubble{bottom:auto;top:30%;left:clamp(4px,2%,24px);max-width:200px}}
