/* DOC COM landing page styles */
:root {
  --brand-900: #6b0f1a;
  --brand-800: #7a1723;
  --brand-700: #8B1E2D; /* primary from logo */
  --brand-600: #9b2a38;
  --brand-500: #A83A45;
  --brand-100: #F8EDEE;
  --accent: #ffd7d9;
  --text: #1f2937;
  --muted: #4b5563;
  --bg: #ffffff;
  --surface: #ffffffcc;
  --ring: #f2c6c8;
  --success: #10b981;
}

/* Reset & base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); background: var(--bg);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6; font-size: 16px;
}
/* a11y utility: keep text for screen readers only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: min(1200px, 92vw); margin: 0 auto; }
.section { padding: 80px 0; }
.section.alt { background: linear-gradient(180deg, #fff, #fff), radial-gradient(1200px 600px at 0% 0%, #fff, var(--brand-100)); background-blend-mode: multiply; }
.section h2 { font-size: 2.2rem; line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.02em; }
.section-lead { color: var(--muted); margin: 0 0 32px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; backdrop-filter: saturate(180%) blur(8px); background: color-mix(in srgb, #fff 75%, transparent); border-bottom: 1px solid #eee; }
.announcement-bar { background: var(--brand-100); color: var(--brand-700); font-weight: 600; text-align: center; padding: 8px 0; border-bottom: 1px solid #eee; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand-logo { height: 28px; width: auto; display: block; }

.nav { position: relative; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; transition: transform .3s ease, opacity .2s ease; border-radius: 2px; }
.nav-links { display: flex; gap: 16px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); padding: 8px 10px; border-radius: 8px; }
.nav-links a.btn { color: #fff; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: clip; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 64px 0; }
.hero-copy h1 { font-size: clamp(1.9rem, 1.2rem + 4vw, 3rem); margin: 0 0 12px; letter-spacing: -0.03em; line-height: 1.1; }
.hero-copy p { margin: 0 0 24px; color: var(--muted); font-size: clamp(1rem, 0.95rem + 0.5vw, 1.125rem); line-height: 1.6; max-width: 60ch; }

/* Feature list (accessible, responsive) */
.feature-list { --icon-bg: var(--brand-700); --icon-fg: #fff; --gap: 10px; display: grid; grid-template-columns: 1fr; gap: 10px; list-style: none; padding: 0; margin: 18px 0 0; color: var(--muted); }
.feature-list li { display: grid; grid-template-columns: 28px 1fr; align-items: start; column-gap: var(--gap); }
.feature-list li::before { content: ""; width: 22px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--icon-fg) 0 40%, #0000 41%), var(--icon-bg); box-shadow: 0 0 0 3px color-mix(in srgb, var(--icon-bg) 10%, #fff); translate: 0 4px; }
@media (min-width: 720px) { .feature-list { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .feature-list li::before { transition: none; } }
.hero-bg { position: absolute; inset: -10% -5% auto -5%; height: 70%; z-index: -1; background:
  radial-gradient(800px 400px at 10% 10%, color-mix(in srgb, var(--brand-700) 20%, transparent), transparent 60%),
  radial-gradient(800px 400px at 90% 0%, color-mix(in srgb, var(--brand-500) 16%, transparent), transparent 60%),
  linear-gradient(180deg, #fff, #fff 35%, #fff0 36%, #fff0 100%);
}
.device-card { border-radius: 16px; background: linear-gradient(180deg, #fff, #fff), radial-gradient(800px 400px at 0% 0%, var(--accent), transparent 50%); box-shadow: 0 20px 50px rgba(139,30,45,.15); padding: 24px; }

/* Hero CTAs */
.hero-ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }

/* Cards */
.grid.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* Center a single orphan card on the last row (3-col layout) */
.grid.cards > .card:last-child:nth-child(3n+1) { grid-column: 2; }
.card { background: var(--surface); backdrop-filter: blur(8px); border: 1px solid #eee; border-radius: 16px; padding: 22px; box-shadow: 0 8px 24px rgba(17,24,39,.06); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(17,24,39,.10); }
.card-icon { width: 42px; height: 42px; border-radius: 10px; background: color-mix(in srgb, var(--brand-700) 10%, #fff); color: var(--brand-700); display: grid; place-items: center; margin-bottom: 12px; }
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin: 8px 0 6px; font-size: 1.05rem; line-height: 1.3; text-wrap: balance; hyphens: auto; }
.card p { margin: 0; color: var(--muted); hyphens: auto; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; padding: 0; margin: 24px 0 0; }
.benefits li { border: 1px dashed var(--ring); background: #fff; padding: 14px 16px; border-radius: 12px; }

/* Steps */
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { display: flex; gap: 12px; background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 16px; }
 .step-number { inline-size: 36px; block-size: 36px; aspect-ratio: 1 / 1; border-radius: 999px; background: var(--brand-700); color: #fff; display: grid; place-items: center; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums lining-nums; flex: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-700) 12%, #fff); }

/* Contact */
.contact { background: linear-gradient(180deg, #fff, #fff), radial-gradient(1200px 600px at 100% 0%, var(--accent), transparent 60%); }
.contact-inner { display: grid; grid-template-columns: 1fr .9fr; gap: 28px; align-items: start; }
.contact-details { list-style: none; padding: 0; margin: 12px 0 0; color: var(--muted); }
.contact-details li { margin-bottom: 8px; }
.form { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 18px; box-shadow: 0 8px 24px rgba(17,24,39,.06); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
label { font-weight: 600; font-size: .9rem; }
input, textarea, select { font: inherit; padding: 12px 12px; border-radius: 10px; border: 1px solid #e5e7eb; outline: none; background: #fff; }
input:focus, textarea:focus, select:focus { border-color: var(--brand-600); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-700) 12%, transparent); }
.form-note { color: var(--muted); font-size: .85rem; margin: 8px 0 0; }
.contact-copy { height: 100%; display: flex; flex-direction: column; }
.quality-seal { margin-top: 50px; margin-left: 0; }

/* Buttons */
.btn { --_bg: #111827; --_color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; min-height: 44px; line-height: 1; border-radius: 10px; background: var(--_bg); color: var(--_color); border: 1px solid transparent; font-weight: 700; letter-spacing: .01em; transition: transform .1s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(17,24,39,.15); text-decoration: none; }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-700) 50%, transparent); outline-offset: 2px; }
.btn--primary { --_bg: var(--brand-700); }
.btn--ghost { --_bg: transparent; --_color: var(--text); border-color: #e5e7eb; }
.btn--full { width: 100%; }
.btn--sm { padding: 0 12px; min-height: 36px; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid #eee; background: #fff; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.brand-line { display: flex; align-items: center; gap: 10px; }
.small { color: var(--muted); font-size: .85rem; }
.footer-inner > p.small { margin: 0; }

.site-footer .related-terms { grid-column: 1 / -1; margin-top: 8px; color: rgba(255, 255, 255, 0.6);}
.site-footer .footer-links { display: flex; gap: 16px; justify-content: flex-end; }

/* Privacy Policy */
.privacy-policy-section { padding: 40px 0; }
.privacy-policy-introduction, .privacy-policy-paragraph { margin-bottom: 32px; }
.privacy-policy-paragraph b { color: rgb(139, 30, 45); }
.privacy-policy-paragraph p:first-of-type { margin-top: 2px; }
.privacy-policy-bg { inset: -10% -5% auto -5%; height: 70%; background:
  radial-gradient(800px 400px at 0% 0%, color-mix(in srgb, var(--brand-500) 16%, transparent), transparent 60%),
  radial-gradient(800px 400px at 90% 0%, color-mix(in srgb, var(--brand-500) 16%, transparent), transparent 60%),
  linear-gradient(180deg, #fff, #fff 35%, #fff0 36%, #fff0 100%);
}

/* Responsive */
/* Hero media sizing improvements */
@media (min-width: 960px) {
  /* Give the image more presence on desktop */
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .hero-media { justify-self: end; }
  .device-card { max-width: 720px; padding: clamp(16px, 1.5vw, 24px); }
  .device-card img { width: auto; max-width: 100%; height: clamp(340px, 50vh, 680px); transform: none; transform-origin: center; }
}
@media (min-width: 1280px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 959px) {
  .hero-media { justify-self: center; }
  .quality-seal { margin:auto;}
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid.cards { grid-template-columns: repeat(2, 1fr); }
  /* Center a single orphan card on the last row (2-col layout) */
  .grid.cards > .card:last-child:nth-child(2n+1) { grid-column: 1 / -1; justify-self: center; max-width: 560px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .footer-inner { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .nav-links { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid #eee; padding: 10px; border-radius: 12px; box-shadow: 0 16px 36px rgba(0,0,0,.08); display: none; flex-direction: column; min-width: 220px; }
  .nav-links.show { display: flex; }
  .grid.cards { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  /* Hero CTAs: stack and left-align on small screens */
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }
}

