/* PULSO landing page. Colours from src/theme/tokens.ts. Self-hosted fonts only. */
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-500.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/assets/fonts/inter-700.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(/assets/fonts/inter-800.woff2) format("woff2"); }

:root {
  --bg: #F7F7F4; --surface: #FFFFFF; --sunken: #EFEFEA; --hairline: #E4E4DE;
  --ink: #202321; --ink-2: #555B57;
  --primary: #0E7A5A; --primary-soft: #DFF2EA; --primary-deep: #075340; --mint: #7FDDBB;
  --gutter: 16px;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

* { 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: 500 17px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary-deep); }
h1, h2, h3, p, ul { margin: 0; }
h2 { font-size: clamp(28px, 4.6vw, 42px); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; text-wrap: balance; }
h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.012em; font-weight: 700; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 5; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* Top bar, on the emerald hero */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 8px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; letter-spacing: .06em; color: #fff; text-decoration: none; }
.logo svg { width: 30px; height: 30px; flex: none; }
.lang { color: #fff; font-weight: 700; font-size: 15px; padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 99px; text-decoration: none; }
.lang:hover { background: rgba(255,255,255,.12); }

/* Hero */
.hero { background: linear-gradient(165deg, #0E7A5A 0%, #0A5C45 62%, #084A38 100%); color: #fff; overflow: hidden; }
.hero-grid { display: grid; gap: 40px; padding-top: 32px; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 32px; padding-top: 48px; align-items: center; } }
.hero h1 { font-size: clamp(38px, 6.4vw, 66px); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.hero p.lead { margin-top: 20px; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.45; color: rgba(255,255,255,.92); max-width: 34em; }
.soon { display: inline-block; margin-top: 28px; padding: 12px 20px; border-radius: 99px; background: #fff; color: var(--primary-deep); font-weight: 700; font-size: 16px; line-height: 1.3; }
.hero-copy { padding-bottom: 8px; }
@media (min-width: 900px) { .hero-copy { padding-bottom: 64px; } }

/* Phones */
.phone { background: #0D0F0E; padding: 2.4%; border-radius: 13.5% / 6.2%; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.phone img { width: 100%; border-radius: 11.2% / 5.15%; }
.hero-phones { position: relative; height: 430px; max-width: 460px; margin: 0 auto; width: 100%; }
@media (min-width: 720px) { .hero-phones { height: 540px; } }
.hero-phones .phone { position: absolute; width: 58%; }
.hero-phones .a { left: 0; top: 0; }
.hero-phones .b { right: 0; top: 56px; }

/* Quick facts */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin-top: 28px; }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts li { background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; padding: 14px 16px; font-weight: 700; font-size: 16px; line-height: 1.3; }

section.block { padding: 64px 0 0; }
.intro { max-width: 44em; }
.intro p { margin-top: 12px; color: var(--ink-2); }

/* Feature cards: the phone runs off the bottom of each card */
.cards { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.card .copy { padding: 24px 24px 20px; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.card .shot { margin-top: auto; height: 340px; overflow: hidden; background: var(--primary-soft); padding: 28px 12% 0; }
.card.plain { background: var(--primary-soft); border-color: transparent; }
@media (min-width: 960px) {
  .card.plain { grid-column: span 2; flex-direction: row; align-items: stretch; }
  .card.plain .copy { flex: 1; align-self: center; padding: 32px; }
  .card.plain h3 { font-size: 28px; letter-spacing: -.02em; }
  .card.plain p { font-size: 18px; }
  .card.plain .shot { flex: 0 0 340px; margin-top: 0; height: auto; max-height: 540px; padding: 28px 12% 0; }
}
.note { margin-top: 16px; font-size: 15px; color: var(--ink-2); }

/* Good to know */
.know { background: linear-gradient(165deg, #272B29 0%, #1B1E1D 70%, #141615 100%); color: #fff; border-radius: 22px; padding: clamp(24px, 5vw, 48px); }
.know ul { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 16px; }
@media (min-width: 720px) { .know ul { grid-template-columns: repeat(2, 1fr); gap: 20px 40px; } }
.know li { display: flex; gap: 12px; }
.know svg { width: 24px; height: 24px; flex: none; margin-top: 1px; color: var(--mint); }

/* FAQ */
.faq { margin-top: 24px; display: grid; gap: 10px; max-width: 800px; }
details { background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; }
summary { cursor: pointer; padding: 16px 20px; min-height: 44px; font-weight: 700; line-height: 1.35; }
details > div { padding: 0 20px 18px; color: var(--ink-2); }

/* Footer */
footer { margin-top: 72px; padding: 32px 0 40px; border-top: 1px solid var(--hairline); font-size: 15px; color: var(--ink-2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; padding: 0; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
footer p { margin-top: 12px; }
