/* Dialed website. Dark like the app (and AbMaxx's site): near-black, white, one blue. */
:root {
  --bg: #050507;
  --bg-2: #0c0d12;
  --line: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --muted: #9ba2b3;
  --faint: #5c6276;
  --blue: #2f6bff;
  --blue-bright: #4c86ff;
  --radius: 18px;
  --max: 1120px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
/* Fine grain, like the app's splash and paywall. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  z-index: 0;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
main, header, footer { position: relative; z-index: 1; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.blue { color: var(--blue-bright); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(5, 5, 7, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 4px; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; margin: 0 -4px 0 -8px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 600; font-size: 15px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--blue-bright); transform: translateY(-1px); }

/* App Store badge (drawn to Apple's badge proportions) */
.appstore {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 18px; border-radius: 13px;
  background: #000; border: 1px solid rgba(255, 255, 255, 0.55); color: #fff;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.appstore:hover { transform: translateY(-2px); border-color: #fff; }
.appstore svg { width: 26px; height: 26px; fill: #fff; margin-top: -3px; }
.appstore span { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.appstore small { font-size: 11px; font-weight: 500; letter-spacing: 0.01em; }
.appstore strong { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }

/* Hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  color: var(--blue-bright); text-transform: uppercase; margin-bottom: 18px;
}
h1 {
  font-size: clamp(48px, 7vw, 84px); line-height: 0.98; letter-spacing: -0.045em;
  font-weight: 800; margin: 0 0 22px;
}
.lede { font-size: 19px; color: var(--muted); max-width: 30em; margin: 0 0 32px; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: var(--faint); margin-top: 18px; }

/* Three dark phones, AbMaxx-style: the main screen in front, two tilted behind it */
.stage { position: relative; display: flex; justify-content: center; }
.stage::before {
  content: ""; position: absolute; width: 560px; height: 560px; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(47, 107, 255, 0.30), rgba(47, 107, 255, 0.07) 45%, transparent 70%);
  z-index: 0;
}
.phones { position: relative; z-index: 1; width: 100%; max-width: 540px; height: 640px; }
.phone {
  --w: 290px;
  position: absolute; width: var(--w); aspect-ratio: 590 / 1280;
  /* Titanium edge (the border) around a black bezel (the padding), like a real iPhone. */
  border: 3px solid transparent; padding: calc(var(--w) * 0.026); border-radius: calc(var(--w) * 0.175);
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(150deg, #7a7e87 0%, #2b2d33 16%, #141519 45%, #2a2c32 78%, #767a83 100%) border-box;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75);
}
/* Side buttons: power on the right, action and volume on the left. */
.phone::before, .phone::after {
  content: ""; position: absolute; width: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #3d4047, #1a1b1f);
}
.phone::before { right: -6px; top: 27%; height: 12%; }
.phone::after {
  left: -6px; top: 17%; height: 4.5%;
  box-shadow: 0 calc(var(--w) * 0.2) 0 #2c2e34, 0 calc(var(--w) * 0.36) 0 #2c2e34;
}
.screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * 0.145); overflow: hidden; background: #000; }
.screen img { width: 100%; height: 100%; object-fit: cover; }
/* Dynamic Island and status bar (the screenshots come without them). */
.screen::after {
  content: ""; position: absolute; top: calc(var(--w) * 0.036); left: 50%; transform: translateX(-50%);
  width: 32%; height: calc(var(--w) * 0.09); border-radius: 999px; background: #000;
}
.sb {
  position: absolute; top: calc(var(--w) * 0.05); left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 calc(var(--w) * 0.085) 0 calc(var(--w) * 0.11);
  font-size: calc(var(--w) * 0.05); font-weight: 600; color: #fff; letter-spacing: -0.01em;
}
.sb svg { height: calc(var(--w) * 0.042); width: auto; fill: #fff; }
.phone.main { --w: 290px; left: 50%; top: 0; transform: translateX(-50%); z-index: 3; }
.phone.side { --w: 232px; top: 70px; z-index: 1; filter: brightness(0.5); }
.phone.left { left: 0; transform: rotate(-8deg); }
.phone.right { right: 0; transform: rotate(8deg); }

/* Sections */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
h2 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; margin: 0 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
.rule { border-top: 1px solid var(--line); }

/* How it works: three steps, no boxes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-num { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: var(--blue-bright); }
.step h3 { font-size: 24px; letter-spacing: -0.03em; margin: 10px 0 8px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }

/* Benefits, as on the paywall */
.benefits { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.benefit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.benefit-list li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; }
.tick {
  width: 26px; height: 26px; border-radius: 50%; background: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.tick svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 3; fill: none; }
.benefit-list strong { display: block; font-size: 21px; letter-spacing: -0.02em; }
.benefit-list span { color: var(--muted); }
.lock-hero { display: flex; justify-content: center; position: relative; }
.lock-hero::before {
  content: ""; position: absolute; inset: 10%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.28), transparent 65%);
}
.lock-hero img { position: relative; width: min(340px, 80%); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary {
  cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; letter-spacing: -0.01em;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue-bright); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Final call to action */
.cta { text-align: center; }
.cta img { width: 120px; margin: 0 auto 8px; }
.cta p { color: var(--muted); font-size: 18px; margin: 0 0 30px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-links, .socials { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.foot-links a:hover, .socials a:hover { color: var(--text); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.copy { width: 100%; color: var(--faint); font-size: 13px; }

/* Legal and support pages */
.page { padding: 64px 0 96px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(40px, 6vw, 60px); }
.page .updated { color: var(--faint); margin: -8px 0 40px; }
.page h2 { font-size: 24px; letter-spacing: -0.02em; margin: 44px 0 12px; }
.page h3 { font-size: 18px; margin: 26px 0 8px; }
.page p, .page li { color: #c8ccd6; }
.page ul { padding-left: 22px; }
.page li { margin: 6px 0; }
.page a { color: var(--blue-bright); }
.page table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.page th, .page td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.page th { color: var(--text); }
.page td { color: #c8ccd6; }
.actions { display: grid; gap: 12px; margin: 32px 0 48px; }
.action {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 22px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--line); font-weight: 600; font-size: 17px;
  color: var(--text) !important;
}
.action:hover { border-color: rgba(76, 134, 255, 0.6); }
.action span { color: var(--blue-bright); }

@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .wrap, .benefits { grid-template-columns: 1fr; text-align: center; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .steps { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .benefit-list { text-align: left; max-width: 440px; margin: 0 auto; }
  .nav-links a:not(.btn) { display: none; }
  .phones { height: 520px; max-width: 380px; }
  .phone.main { --w: 236px; }
  .phone.side { --w: 184px; top: 56px; }
  section { padding: 72px 0; }
}
.socials svg.ig { fill: none; stroke: currentColor; stroke-width: 2; }
