/* dbn TM website. One stylesheet for both pages.
   Colours match the app: navy from the logo disc, teal from the tick. */
:root {
  --bg: #050912;
  --bg-top: #0c1a36;
  --surface: #0f192d;
  --surface-2: #142038;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f1f4fa;
  --text-2: #aab5ca;
  --text-3: #8794ac;
  --navy: #1a3263;
  --teal: #52dace;
  --teal-deep: #34bdb2;
  --on-teal: #03211f;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(1200px 700px at 80% -10%, rgba(39, 73, 138, 0.55), transparent 70%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 720px);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #7beee4; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- Header ---------- */
.site-header { padding-block: 22px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.3px; }
.brand img { width: 40px; height: 40px; }
.nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.nav a { color: var(--text-2); text-decoration: none; }
.nav a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 14px;
  font: 700 16px/1 var(--font); text-decoration: none; letter-spacing: 0.1px;
  background: linear-gradient(180deg, #6be8dc, var(--teal-deep)); color: var(--on-teal);
  box-shadow: 0 10px 30px rgba(52, 189, 178, 0.28);
}
.button:hover { color: var(--on-teal); filter: brightness(1.05); }
.button.ghost { background: rgba(255, 255, 255, 0.06); color: var(--text); box-shadow: none; border: 1px solid var(--line); }
.button.ghost:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); }
.button svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { padding-block: 40px 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -2px; font-weight: 800; margin: 0 0 22px; text-wrap: balance; }
h1 .accent { color: var(--teal); }
.lede { font-size: clamp(18px, 2vw, 20px); color: var(--text-2); max-width: 34em; margin: 0 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { font-size: 14px; color: var(--text-3); margin-top: 16px; }

.phones { position: relative; display: flex; justify-content: center; min-height: 560px; }
.phone {
  width: 270px; border-radius: 42px; padding: 9px;
  background: linear-gradient(160deg, #3a4b70, #1b2640);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.phone img { border-radius: 34px; width: 100%; height: auto; }
.phones .phone.back { position: absolute; transform: scale(0.86); opacity: 0.9; top: 40px; }
.phones .phone.back.left { left: 0; }
.phones .phone.back.right { right: 0; }
.phones .phone.front { position: relative; z-index: 2; }

/* ---------- Sections ---------- */
section { padding-block: 72px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -1px; font-weight: 800; margin: 0 0 14px; text-wrap: balance; }
.section-head p { color: var(--text-2); margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: 20px; padding: 26px;
}
.feature .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(82, 218, 206, 0.14); color: var(--teal); margin-bottom: 18px; }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.2px; }
.feature p { color: var(--text-2); margin: 0; font-size: 16px; }

.showcase { display: flex; gap: 22px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.showcase figure { margin: 0; flex: 0 0 240px; scroll-snap-align: start; }
.showcase .phone { width: 100%; }
.showcase figcaption { text-align: center; color: var(--text-2); font-size: 15px; font-weight: 600; margin-top: 14px; }

.privacy-band {
  background: linear-gradient(135deg, #27498a, #172e5e 55%, #0d1c3d);
  border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 28px;
  padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden;
}
.privacy-band::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.05); pointer-events: none;
}
.privacy-band p { color: rgba(232, 238, 248, 0.82); margin: 0 0 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li::before {
  content: ''; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303211f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
}

.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--teal); font-weight: 800; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--text-2); margin: 12px 0 0; }

.support { text-align: center; }
.support .wrap > div {
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(32px, 5vw, 56px);
}
.support p { color: var(--text-2); max-width: 34em; margin: 0 auto 26px; }
.email { font-size: clamp(20px, 3vw, 26px); font-weight: 800; letter-spacing: -0.3px; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 40px 56px; color: var(--text-3); font-size: 14px; border-top: 1px solid var(--line); margin-top: 32px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* ---------- Privacy page ---------- */
.doc { padding-block: 24px 40px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 8px; }
.doc .effective { color: var(--text-3); font-size: 15px; margin: 0 0 32px; }
.doc .summary { background: linear-gradient(135deg, #27498a, #172e5e 60%, #0d1c3d); border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; padding: 24px 26px; margin-bottom: 40px; font-weight: 700; font-size: 19px; line-height: 1.5; }
.doc h2 { font-size: 24px; letter-spacing: -0.3px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--text); }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .phones { min-height: 0; }
  .phones .phone.back { display: none; }
  .phone { width: min(280px, 72vw); }
  .features { grid-template-columns: 1fr; }
  .privacy-band { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav { display: none; }
  .cta .button { width: 100%; }
  section { padding-block: 56px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
