:root {
  --navy: #0b1622;
  --navy-2: #12202f;
  --card: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.10);
  --text: #f5f7fa;
  --muted: #9aa7b6;
  --orange: #f26d21;
  --green: #3fb46a;
  --radius: 22px;
  --button-bg: #f5f7fa;
  --button-fg: #0b1622;
  --green-ink: #7fd9a0;
  --orange-ink: #ff9a5c;
  --violet-ink: #a9b4ff;
  --glow: 1;
  --icon-shadow: rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}
/* Light theme: follows the system unless the toggle picked dark, or the toggle picked light. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --navy: #eef2f6; --navy-2: #f8fafc;
    --card: rgba(255, 255, 255, 0.75); --line: rgba(11, 22, 34, 0.10);
    --text: #0b1622; --muted: #526172;
    --button-bg: #0b1622; --button-fg: #ffffff;
    --green-ink: #1f7a43; --orange-ink: #b9500f; --violet-ink: #4655c9;
    --glow: 0.7; --icon-shadow: rgba(11, 22, 34, 0.18);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --navy: #eef2f6; --navy-2: #f8fafc;
  --card: rgba(255, 255, 255, 0.75); --line: rgba(11, 22, 34, 0.10);
  --text: #0b1622; --muted: #526172;
  --button-bg: #0b1622; --button-fg: #ffffff;
  --green-ink: #1f7a43; --orange-ink: #b9500f; --violet-ink: #4655c9;
  --glow: 0.7; --icon-shadow: rgba(11, 22, 34, 0.18);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { background: var(--navy); overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--text);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 520px at 15% -10%, rgba(242, 109, 33, 0.16), transparent 60%),
    radial-gradient(900px 560px at 90% 0%, rgba(63, 180, 106, 0.14), transparent 60%),
    linear-gradient(180deg, var(--navy-2), var(--navy) 70%);
  display: flex;
  flex-direction: column;
}
a { color: inherit; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

header.top { padding: 22px 0; }
header.top .wrap { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
header.top img { width: 32px; height: 32px; border-radius: 8px; }

.hero { flex: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 32px; padding-bottom: 64px; }
.app-icon { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 18px 40px var(--icon-shadow), 0 0 0 1px var(--line); }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.03em; margin: 26px 0 14px; }
h1 .accent { background: linear-gradient(90deg, var(--orange), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 30em; margin: 0 0 30px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 16px;
  background: var(--button-bg); color: var(--button-fg); font-weight: 650; text-decoration: none; font-size: 17px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button svg { width: 20px; height: 20px; }
.button.primary { background: var(--orange); color: #fff; }
.button.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.button[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.note { color: var(--muted); font-size: 14px; margin-top: 14px; }

.phones { position: relative; height: 600px; }
.phone {
  position: absolute; width: 250px; border-radius: 36px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 0 8px #05090e, 0 0 0 9px rgba(255, 255, 255, 0.08);
  background: #000;
}
.phone img { display: block; width: 100%; height: auto; }
.phone.a { left: 0; top: 70px; transform: rotate(-6deg); }
.phone.b { left: 50%; top: 0; transform: translateX(-50%); z-index: 2; }
.phone.c { right: 0; top: 70px; transform: rotate(6deg); }

.promise { border-top: 1px solid var(--line); padding: 36px 0 40px; }
.promise .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.promise h2 { font-size: 17px; margin: 0 0 6px; }
.promise p { margin: 0; color: var(--muted); font-size: 15px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }

footer { color: var(--muted); font-size: 13px; padding: 20px 0 28px; }

/* Shared link page */
.share { flex: 1; display: flex; align-items: center; justify-content: center; padding-top: 24px; padding-bottom: 48px; }
.share-card {
  width: 100%; max-width: 440px; text-align: center; padding: 36px 28px 30px;
  background: var(--card); border: 1px solid var(--line); border-radius: 28px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.share-card .app-icon { width: 88px; height: 88px; border-radius: 20px; }
.eyebrow { margin: 22px 0 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); }
.share-card h1 { font-size: 30px; margin: 0 0 8px; letter-spacing: -0.02em; }
.share-card .lede { font-size: 16px; margin: 0 auto 26px; }
.share-card .actions { flex-direction: column; }
.share-card .button { width: 100%; }

@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 36px; padding-top: 12px; }
  .hero .app-icon, .hero .badge { margin-left: auto; margin-right: auto; }
  .lede { margin-left: auto; margin-right: auto; }
  .actions { justify-content: center; }
  .phones { height: 470px; max-width: 420px; margin: 0 auto; width: 100%; }
  .phone { width: 190px; border-radius: 28px; }
  .phone.a, .phone.c { top: 50px; }
  .promise .wrap { grid-template-columns: 1fr; text-align: center; gap: 22px; }
}
@media (max-width: 420px) {
  .phones { height: 400px; }
  .phone { width: 160px; }
}

.badge { display: flex; width: fit-content; align-items: center; gap: 8px; margin: 26px 0 0; padding: 7px 14px 7px 11px; border-radius: 999px;
         background: rgba(63, 180, 106, 0.12); box-shadow: inset 0 0 0 1px rgba(63, 180, 106, 0.35); color: var(--green-ink); font-size: 15px; font-weight: 600; }
.badge svg { width: 18px; height: 18px; }
.badge + h1 { margin-top: 16px; }

.privacy { padding: 8px 0 56px; }
.privacy-card { position: relative; overflow: hidden; border-radius: 28px; padding: 44px 40px; background:
    radial-gradient(600px 300px at 100% 0%, rgba(63, 180, 106, 0.16), transparent 70%), var(--card);
  border: 1px solid var(--line); }
.shield { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: var(--green-ink);
          background: rgba(63, 180, 106, 0.14); box-shadow: inset 0 0 0 1px rgba(63, 180, 106, 0.35); }
.shield svg { width: 30px; height: 30px; }
.privacy h2 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.02em; line-height: 1.1; margin: 22px 0 10px; }
.privacy .lede { margin-bottom: 28px; }
.privacy-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.privacy-list li { position: relative; padding-left: 30px; color: var(--muted); font-size: 16px; }
.privacy-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.privacy-list strong { color: var(--text); }
@media (max-width: 860px) {
  .privacy-card { padding: 32px 22px; text-align: left; }
  .privacy-list { grid-template-columns: minmax(0, 1fr); }
}
.features { padding-top: 0; }
.features-card { background: radial-gradient(600px 300px at 100% 0%, rgba(242, 109, 33, 0.16), transparent 70%), var(--card); }
.features-card .shield { color: var(--orange-ink); background: rgba(242, 109, 33, 0.14); box-shadow: inset 0 0 0 1px rgba(242, 109, 33, 0.38); }
.features-card .privacy-list li::before { background-color: var(--orange); }
.card-title { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; }
.card-title .shield { flex: none; }
.card-title h2 { margin: 0; }
@media (max-width: 860px) { .card-title { gap: 14px; } .card-title .shield { width: 46px; height: 46px; border-radius: 13px; } .card-title .shield svg { width: 24px; height: 24px; } }
.privacy-list a { white-space: nowrap; }
.smarts-card { background: radial-gradient(600px 300px at 100% 0%, rgba(124, 140, 255, 0.18), transparent 70%), var(--card); }
.smarts-card .shield { color: var(--violet-ink); background: rgba(124, 140, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(124, 140, 255, 0.38); }
.smarts-card .privacy-list li::before { background-color: #6f7ff0; }

/* Theme toggle */
.theme-toggle { margin-left: auto; width: 40px; height: 40px; border-radius: 12px; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--text); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .moon { display: none; }
:root[data-theme="light"] .theme-toggle .moon { display: block; }
:root[data-theme="light"] .theme-toggle .sun { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .moon { display: block; }
  :root:not([data-theme="dark"]) .theme-toggle .sun { display: none; }
}

/* "Check our work" tag under the privacy list */
.tag { display: flex; width: fit-content; align-items: center; gap: 10px; margin: 28px 0 0; padding: 9px 16px 9px 12px; border-radius: 999px;
  background: rgba(63, 180, 106, 0.12); box-shadow: inset 0 0 0 1px rgba(63, 180, 106, 0.35); color: var(--muted); font-size: 15px; }
.tag svg { width: 18px; height: 18px; flex: none; color: var(--green-ink); }
.tag strong { color: var(--text); }
@media (max-width: 860px) { .tag { border-radius: 16px; align-items: flex-start; } .tag svg { margin-top: 2px; } }

/* Footer links and legal pages */
footer p { margin: 0; }
.legal-links { display: flex; gap: 24px; margin-top: 10px; }
.legal-links a { color: var(--muted); text-decoration: none; }
.legal-links a:hover { color: var(--text); text-decoration: underline; }
header.top a.home { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.legal { flex: 1; padding-top: 16px; padding-bottom: 48px; }
.legal-card { max-width: 760px; margin: 0 auto; background: var(--card); }
.legal-card h1 { font-size: clamp(30px, 4.5vw, 42px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 8px; }
.legal-card .updated { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.legal-card h2 { font-size: 19px; margin: 28px 0 6px; letter-spacing: -0.01em; }
.legal-card p { color: var(--muted); margin: 0; }
.legal-card a { color: var(--text); }
