/* FTAlert website — native macOS-inspired, dependency-free design system. */
:root {
  color-scheme: light;
  --blue: #0a63c9;
  --blue-deep: #004b9f;
  --blue-soft: #eaf3ff;
  --teal: #007d84;
  --ink: #182230;
  --ink-soft: #536170;
  --ink-faint: #738092;
  --canvas: #f5f7fa;
  --surface: rgba(255, 255, 255, .86);
  --surface-solid: #fff;
  --line: #dce3eb;
  --line-strong: #c7d1dc;
  --shadow-sm: 0 1px 2px rgba(24, 34, 48, .04), 0 5px 16px rgba(24, 34, 48, .05);
  --shadow-lg: 0 24px 64px rgba(33, 55, 83, .14), 0 4px 16px rgba(33, 55, 83, .08);
  --radius: 12px;
  --radius-lg: 20px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", sans-serif;
  --mono: "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: radial-gradient(circle at 50% -10%, #e9f3ff 0, transparent 38rem), var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
a:focus-visible, summary:focus-visible { outline: 3px solid rgba(10, 99, 201, .35); outline-offset: 3px; border-radius: 5px; }
img { max-width: 100%; }

.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 9px; }
.skip-link:focus { top: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(220, 227, 235, .8); background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); }
.site-header .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; letter-spacing: -.02em; font-size: 17px; }
.brand:hover { color: var(--ink); }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 2px 6px rgba(0, 88, 188, .18); }
.brand .tld { color: var(--ink-faint); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-soft); font-size: 14px; font-weight: 520; }
.nav a:hover { color: var(--ink); }
.nav .cta { padding: 8px 13px; border-radius: 9px; color: #fff; background: var(--blue); font-weight: 650; box-shadow: 0 2px 4px rgba(0, 75, 159, .16); }
.nav .cta:hover { color: #fff; background: var(--blue-deep); }

/* Shared elements */
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 11px; font-family: var(--sans); font-size: 15px; font-weight: 650; line-height: 1.2; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 14px rgba(0, 75, 159, .2); }
.btn-primary:hover { color: #fff; background: var(--blue-deep); box-shadow: 0 8px 18px rgba(0, 75, 159, .25); }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,.7); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--ink); background: #fff; border-color: #9aabba; }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Homepage */
.hero { padding: clamp(64px, 10vw, 112px) 0 56px; text-align: center; }
.hero h1 { max-width: 820px; margin: 0 auto 20px; font-size: clamp(42px, 6vw, 68px); font-weight: 740; letter-spacing: -.055em; line-height: 1.03; }
.hero .lede { max-width: 680px; margin: 0 auto 30px; color: var(--ink-soft); font-size: clamp(17px, 2vw, 20px); line-height: 1.5; }
.hero .actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hero .meta { margin: 19px 0 0; color: var(--ink-faint); font-size: 13px; }
.hero-screenshot { max-width: 1000px; margin: 54px auto 0; padding: 10px; border: 1px solid rgba(199, 209, 220, .9); border-radius: calc(var(--radius-lg) + 4px); background: rgba(255,255,255,.72); box-shadow: var(--shadow-lg); }
.hero-screenshot img { display: block; width: 100%; border-radius: 13px; }

section { padding: 84px 0; }
.section-head { max-width: 680px; margin: 0 auto 38px; text-align: center; }
.section-head h2 { margin: 0 0 12px; font-size: clamp(29px, 4vw, 40px); font-weight: 720; letter-spacing: -.037em; line-height: 1.12; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 17px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card { min-height: 168px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.card .tag { margin: 0 0 12px; color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.018em; line-height: 1.25; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Steps, code, callouts */
.steps { counter-reset: step; }
.step { position: relative; max-width: 720px; padding: 0 0 28px 58px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.step:last-child { margin: 0; padding-bottom: 0; border: 0; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-size: 14px; font-weight: 720; }
.step h3 { margin: 2px 0 7px; font-size: 18px; letter-spacing: -.015em; }
.step p { margin: 0; color: var(--ink-soft); }
code { padding: 2px 5px; border: 1px solid #e1e7ed; border-radius: 5px; background: #f1f4f7; color: #3d4c5d; font-family: var(--mono); font-size: .86em; }
.callout { padding: 24px 26px; border: 1px solid #b8d6f4; border-radius: var(--radius); background: linear-gradient(135deg, #f0f7ff, #f7fbff); box-shadow: var(--shadow-sm); }
.callout strong { display: block; color: var(--blue-deep); font-size: 17px; }
.callout p { margin: 7px 0 0; color: var(--ink-soft); }

/* Pricing and FAQ */
.pricing { display: flex; justify-content: center; align-items: stretch; flex-wrap: wrap; gap: 18px; }
.pricing .card { width: min(100%, 350px); min-height: 0; text-align: center; }
.pricing .card:last-child { border-color: #8bbdee; background: linear-gradient(150deg, #f7fbff, #fff); box-shadow: 0 12px 32px rgba(10, 99, 201, .12); }
.pricing .price { margin: 6px 0 2px; font-size: 44px; font-weight: 740; letter-spacing: -.045em; }
.pricing .price small { margin-left: 3px; color: var(--ink-faint); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.pricing .note { margin: 0 0 18px; color: var(--ink-faint); font-size: 14px; }
.pricing ul { margin: 0 0 22px; padding: 0; list-style: none; text-align: left; }
.pricing li { position: relative; padding: 6px 0 6px 23px; color: var(--ink-soft); font-size: 15px; }
.pricing li::before { content: "✓"; position: absolute; left: 2px; color: var(--teal); font-weight: 750; }
.faq { max-width: 780px; margin: 0 auto; }
.faq details { margin-bottom: 11px; padding: 0 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.faq summary { position: relative; padding: 17px 32px 17px 0; cursor: pointer; font-weight: 650; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 11px; color: var(--blue); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); }

/* Support and legal */
.page-hero { padding: 72px 0 36px; }
.page-hero h1 { max-width: 700px; margin: 0 0 10px; font-size: clamp(38px, 5vw, 52px); font-weight: 740; letter-spacing: -.05em; line-height: 1.08; }
.page-hero .intro { max-width: 680px; margin: 0; color: var(--ink-soft); font-size: 18px; }
.content-section { padding-top: 28px; }
.content-section > h2 { margin: 0 0 22px; font-size: 26px; letter-spacing: -.025em; }
.contact-panel { padding: 28px; border: 1px solid #b8d6f4; border-radius: var(--radius-lg); background: linear-gradient(135deg, #edf6ff, #fff); box-shadow: var(--shadow-sm); }
.contact-panel h2 { margin: 0 0 8px; font-size: 26px; letter-spacing: -.025em; }
.contact-panel p { max-width: 660px; margin: 0 0 18px; color: var(--ink-soft); }
.prose { max-width: 780px; margin: 0 auto; }
.prose > p:first-child { padding: 20px 22px; border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; background: #eef6ff; color: #34495e; }
.prose h2 { margin: 42px 0 12px; font-size: 25px; letter-spacing: -.025em; line-height: 1.2; }
.prose p, .prose ul { color: var(--ink-soft); }
.prose p { margin: 0 0 16px; }
.prose ul { padding-left: 23px; }
.prose li { margin-bottom: 9px; }
.updated { margin: 0; color: var(--ink-faint); font-size: 14px; }

/* Footer */
.site-footer { margin-top: 54px; padding: 32px 0; border-top: 1px solid var(--line); background: rgba(255,255,255,.42); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.site-footer .foot-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
.site-footer .copyright { color: var(--ink-faint); font-size: 14px; }

@media (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .wrap { width: min(100% - 32px, 1120px); } .site-header .wrap { height: 62px; } .nav { gap: 14px; } .nav .hide-sm { display: none; } .brand .tld { display: none; } .hero { padding-top: 58px; } section { padding: 60px 0; } .grid-2, .grid-3 { grid-template-columns: 1fr; } .card { min-height: auto; } .hero-screenshot { margin-top: 38px; padding: 6px; } .page-hero { padding: 56px 0 22px; } .content-section { padding-top: 22px; } .step { padding-left: 52px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
.subtle-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.54); }
.screen-card { display: block; width: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.pricing-disclaimer { margin: 24px 0 0; color: var(--ink-faint); font-size: 14px; text-align: center; }
.app-showcase { padding-top: 0; }
.app-showcase .screen-card { width: min(100%, 1080px); margin: 0 auto; border-radius: calc(var(--radius-lg) + 2px); box-shadow: var(--shadow-lg); }
