/* Digicove — marketing site
   No web fonts, no frameworks, no JavaScript: the system font matches the app
   on Apple devices and the whole site costs nothing to serve. */

:root {
  --navy: #0a1931;
  --ocean: #0f4c75;
  --teal: #0e7c86;
  --accent: #0a84ff;
  --accent-ink: #0060df;

  --bg: #f5f7fa;
  --surface: #ffffff;
  --ink: #0b1220;
  --muted: #5a6473;
  --line: #e3e8ef;
  --chip: #eef2f7;

  --radius: 18px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
             Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1120;
    --surface: #121a2b;
    --ink: #e8edf5;
    --muted: #9aa6b8;
    --line: #22304a;
    --chip: #18233a;
    --accent-ink: #4aa3ff;
  }
}

*, *::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(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 8px;
}
.skip:focus { left: 8px; z-index: 10; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(10, 25, 49, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font: 700 19px/1 var(--display); letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: rgba(255, 255, 255, 0.82); font-size: 15px; }
.nav a:hover { color: #fff; text-decoration: none; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: #fff; color: var(--navy) !important;
  font-weight: 600; font-size: 15px;
}
.pill:hover { text-decoration: none; opacity: 0.92; }

@media (max-width: 760px) {
  .nav a:not(.pill) { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 0;               /* the generic section padding doubled the top gap */
  color: #fff;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(14, 124, 134, 0.55), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--ocean) 55%, var(--teal) 100%);
  overflow: hidden;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  padding-top: 72px; padding-bottom: 0;
}
.eyebrow {
  display: inline-block; margin-bottom: 18px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.92);
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
}
.hero h1 {
  margin: 0 0 18px;
  font: 800 clamp(38px, 5.4vw, 62px)/1.04 var(--display);
  letter-spacing: -0.03em;
}
.hero p.lede {
  margin: 0 0 30px; max-width: 34em;
  font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 64px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 14px;
  font-weight: 600; font-size: 16px;
}
.btn:hover { text-decoration: none; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { opacity: 0.93; }
.btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }

.hero-phones { display: flex; justify-content: center; align-self: end; }
.hero-phones .phone { width: min(300px, 70vw); margin-bottom: -120px; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; }
  .cta-row { margin-bottom: 40px; }
  .hero-phones .phone { margin-bottom: -90px; }
}

/* ---------- Phone frame ---------- */

.phone {
  position: relative;
  padding: 10px;
  border-radius: 48px;
  background: #0b0f17;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 30px 60px -20px rgba(4, 12, 28, 0.55),
    0 12px 24px -12px rgba(4, 12, 28, 0.4);
}
.phone img { border-radius: 38px; width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover; }

/* ---------- Sections ---------- */

section { padding: 96px 0; }
section.tight { padding: 72px 0; }
.first-after-hero { padding-top: 96px; }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.kicker {
  color: var(--teal); font-weight: 700; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 12px;
}
@media (prefers-color-scheme: dark) { .kicker { color: #3cc4cf; } }
h2 {
  margin: 0 0 16px;
  font: 800 clamp(30px, 3.6vw, 44px)/1.1 var(--display);
  letter-spacing: -0.025em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 19px; }

/* Positioning strip */
.contrast {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 900px; margin: 0 auto;
}
.contrast .card { padding: 28px; }
.contrast h3 { margin: 0 0 12px; font-size: 18px; }
.contrast ul { margin: 0; padding-left: 20px; color: var(--muted); }
.contrast li { margin: 6px 0; }
.contrast .yes h3 { color: var(--teal); }
@media (prefers-color-scheme: dark) { .contrast .yes h3 { color: #3cc4cf; } }
@media (max-width: 720px) { .contrast { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* Category chips */
.chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 900px; margin: 0 auto;
}
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 600; font-size: 15px;
}
.dot { width: 12px; height: 12px; border-radius: 4px; flex: none; }

/* Feature rows */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  max-width: 980px; margin: 0 auto 96px;
}
.feature:last-child { margin-bottom: 0; }
.feature.flip .copy { order: 2; }
.feature .shot { display: flex; justify-content: center; }
.feature .shot .phone { width: min(290px, 72vw); }
.feature h3 {
  margin: 0 0 14px;
  font: 800 clamp(26px, 2.8vw, 34px)/1.15 var(--display); letter-spacing: -0.02em;
}
.feature p { margin: 0 0 14px; color: var(--muted); font-size: 18px; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin: 10px 0; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.35em;
  width: 18px; height: 18px; border-radius: 6px;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.6L13 6.6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .feature.flip .copy { order: 0; }
}

/* Sharing band */
.band {
  color: #fff;
  background: linear-gradient(150deg, var(--navy), var(--ocean));
}
.band h2 { color: #fff; }
.band .section-head p { color: rgba(255, 255, 255, 0.8); }
.band .kicker { color: #62d6de; }
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 980px; margin: 0 auto;
}
.step {
  padding: 28px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.step .n {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: 16px;
  background: #fff; color: var(--navy); font-weight: 800;
}
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: rgba(255, 255, 255, 0.78); }
.band-note {
  max-width: 980px; margin: 28px auto 0; text-align: center;
  color: rgba(255, 255, 255, 0.78); font-size: 16px;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Security grid */
.grid3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 980px; margin: 0 auto;
}
.grid3 .card { padding: 26px; }
.grid3 h3 { margin: 12px 0 8px; font-size: 18px; }
.grid3 p { margin: 0; color: var(--muted); font-size: 16px; }
.icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--ocean), var(--teal));
}
.icon svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 820px) { .grid3 { grid-template-columns: 1fr; } }


/* Pricing */
.plans {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1040px; margin: 0 auto;
}
.plan { padding: 32px; display: flex; flex-direction: column; }
.plan h3 { margin: 0; font-size: 22px; }
.plan .price { margin: 14px 0 4px; font: 800 44px/1 var(--display); letter-spacing: -0.02em; }
.plan .price small { font-size: 17px; font-weight: 600; color: var(--muted); }
.plan .alt { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.plan .ticks { margin-top: 4px; flex: 1; }
.plan.featured { border: 2px solid var(--accent); position: relative; }
.plan .tag {
  position: absolute; top: -13px; left: 28px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
}
.fine { text-align: center; color: var(--muted); font-size: 14px; margin: 22px 0 0; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; } }

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

/* Closing CTA */
.closing { text-align: center; }
.closing .card {
  max-width: 820px; margin: 0 auto; padding: 56px 32px;
  background: linear-gradient(150deg, var(--navy), var(--teal)); color: #fff; border: 0;
}
.closing h2 { color: #fff; }
.closing p { color: rgba(255, 255, 255, 0.82); font-size: 19px; margin: 0 0 28px; }
.closing img { width: 72px; height: 72px; border-radius: 17px; margin: 0 auto 22px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px; color: var(--muted); font-size: 15px;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

/* ---------- Document pages (privacy, support) ---------- */

.doc-hero {
  color: #fff; padding: 64px 0 48px;
  background: linear-gradient(160deg, var(--navy), var(--ocean));
}
.doc-hero h1 { margin: 0 0 10px; font: 800 clamp(34px, 4.4vw, 48px)/1.1 var(--display); letter-spacing: -0.025em; }
.doc-hero p { margin: 0; color: rgba(255, 255, 255, 0.8); font-size: 18px; }

.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 88px; }
.doc h2 { font-size: 26px; margin: 44px 0 12px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 19px; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc li { margin: 8px 0; }
.doc .summary {
  padding: 22px 26px; border-radius: var(--radius);
  background: var(--chip); margin-bottom: 36px;
}
.doc .summary p { margin: 0; }
.doc .meta { color: var(--muted); font-size: 15px; }
.doc code {
  font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--chip); padding: 2px 6px; border-radius: 6px;
}
