@font-face { font-family: "Ubuntu"; font-weight: 400; font-display: swap; src: url("/fonts/Ubuntu_400Regular.ttf") format("truetype"); }
@font-face { font-family: "Ubuntu"; font-weight: 500; font-display: swap; src: url("/fonts/Ubuntu_500Medium.ttf") format("truetype"); }
@font-face { font-family: "Ubuntu"; font-weight: 700; font-display: swap; src: url("/fonts/Ubuntu_700Bold.ttf") format("truetype"); }

:root {
  color-scheme: light;
  --bg: #F2F7FC; --card: #fff; --text: #0B1B33; --sub: #4A5B73; --muted: #8696AC; --border: #E2EAF4;
  --primary: #0E78A3; --primary-dark: #09506E; --accent: #00A3C4; --sun: #FFC83D; --sun-dark: #D9980B; --sun-text: #3A2600;
  --hero-a: #22C4E2; --hero-b: #0E78A3; --hero-c: #12386E; --chip: #E9F1F9; --shadow: 0 10px 30px rgba(11, 42, 74, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); }
img { max-width: 100%; height: auto; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }

/* header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 34px; height: 34px; }
.o-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--hero-a), var(--hero-c)); color: #fff; font-weight: 700; }
.app-tile img, .app-tile .icon { flex: none; }
.nav { display: flex; gap: 6px; }
.nav a { color: var(--sub); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--chip); color: var(--text); }

/* hero */
.hero { background: linear-gradient(135deg, var(--hero-a), var(--hero-b) 55%, var(--hero-c)); color: #fff; border-radius: 0 0 44px 44px; padding: 72px 0 96px; overflow: hidden; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.08; margin: 0 0 18px; font-weight: 700; letter-spacing: -.5px; }
.hero h1 span { color: #FFE27A; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); opacity: .92; margin: 0 0 28px; max-width: 34ch; }
.hero .art { display: flex; justify-content: center; }
.hero .art img { width: min(400px, 82%); filter: drop-shadow(0 22px 36px rgba(6, 34, 63, .4)); }
.hero.small { padding: 48px 0 64px; }
.hero.small .wrap { display: block; }
.hero.small h1 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 8px; }
.hero.small p.lead { margin: 0; max-width: 60ch; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 18px; font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; transition: transform .08s; }
.btn:active { transform: translateY(3px); }
.btn.sun { background: linear-gradient(135deg, #FFDD6B, var(--sun)); color: var(--sun-text); box-shadow: 0 5px 0 var(--sun-dark); }
.btn.ghost { background: rgba(255,255,255,.16); color: #fff; box-shadow: 0 5px 0 rgba(255,255,255,.15); }
.btn[aria-disabled="true"] { opacity: .85; cursor: default; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.note { font-size: 14px; opacity: .85; margin-top: 14px; }

/* sections */
section { padding: 64px 0; }
h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -.3px; }
.section-sub { color: var(--sub); font-size: 18px; margin: 0 0 36px; max-width: 56ch; }
.grid { display: grid; gap: 20px; }
.grid.f3 { grid-template-columns: repeat(3, 1fr); }
.grid.f2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 28px; padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin: 12px 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--sub); }
.icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; background: var(--chip); }
.step { counter-increment: step; position: relative; padding-top: 6px; }
.step::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--hero-a), var(--hero-b)); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps { counter-reset: step; }

/* app tiles on the index */
.app-tile { display: flex; gap: 20px; align-items: center; text-decoration: none; color: inherit; }
.app-tile img { width: 84px; height: 84px; border-radius: 22px; box-shadow: var(--shadow); }
.app-tile h3 { margin: 0; font-size: 22px; }
.app-tile p { margin: 4px 0 0; color: var(--sub); }
.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--chip); color: var(--sub); margin-top: 8px; }

/* faq */
details { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 18px 22px; margin-bottom: 12px; }
summary { font-weight: 700; cursor: pointer; font-size: 17px; }
details p { color: var(--sub); margin: 10px 0 0; }

/* legal pages */
.legal { padding: 40px 0 72px; }
.legal h2 { font-size: 24px; margin-top: 40px; }
.legal h3 { font-size: 18px; margin-top: 24px; }
.legal p, .legal li { color: var(--sub); font-size: 17px; }
.legal li { margin-bottom: 6px; }
.legal .meta { color: var(--muted); font-size: 15px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 16px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--sub); }
.legal th { color: var(--text); background: var(--chip); }
.callout { background: var(--chip); border-left: 5px solid var(--primary); border-radius: 12px; padding: 14px 18px; color: var(--text); margin: 18px 0; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0 48px; color: var(--sub); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: var(--sub); }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; width: 100%; }

@media (max-width: 820px) {
  .hero { padding: 48px 0 72px; border-radius: 0 0 32px 32px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .grid.f3, .grid.f2 { grid-template-columns: 1fr; }
  .nav a { padding: 8px 9px; font-size: 14px; }
  .site-header .wrap { height: auto; min-height: 64px; padding: 6px 0; gap: 8px; flex-wrap: wrap; }
  .brand span:not(.o-mark) { display: none; }
  .brand .o-mark + span { display: inline; font-size: 17px; }
}
