:root {
  --ink: #1f2854;
  --ink-2: #333f78;
  --muted: #5b6283;
  --paper: #f7f5f0;
  --surface: #fffefa;
  --acid: #d9e6ff;
  --coral: #ef836e;
  --sky: #e9edfb;
  --line: rgba(31, 40, 84, .14);
  --shadow: 0 24px 70px rgba(31, 40, 84, .12);
  --radius: 28px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-160%); padding: 10px 14px; border-radius: 12px; background: white; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid transparent; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(20px); transition: border-color .2s ease; }
.site-header.scrolled { border-color: var(--line); }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.nav-shell > *, .hero-grid > *, .page-grid > *, .section-head > * { min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 17px; letter-spacing: -.025em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.desktop-nav { display: flex; align-items: center; gap: 24px; }
.desktop-nav a { color: var(--muted); font-size: 14px; font-weight: 720; text-decoration: none; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); color: var(--ink); font-weight: 800; text-decoration: none; cursor: pointer; }
.button.primary { border-color: var(--ink); background: var(--ink); color: white; }
.button.acid { border-color: var(--acid); background: var(--acid); color: var(--ink); }
.button[aria-disabled="true"] { cursor: not-allowed; opacity: .55; }
.menu-button { display: none; width: 46px; height: 46px; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }
.mobile-menu { display: none; padding: 0 18px 18px; }
.mobile-menu a { display: block; padding: 13px 2px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 760; text-decoration: none; }
.mobile-menu.open { display: block; }
main { overflow: clip; }
.hero { padding: clamp(60px, 9vw, 120px) 0 76px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(38px, 7vw, 90px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.48); color: var(--muted); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(50px, 7.3vw, 104px); line-height: .88; letter-spacing: -.072em; }
h2 { margin-bottom: 18px; font-size: clamp(34px, 5vw, 64px); line-height: .98; letter-spacing: -.055em; }
h3 { letter-spacing: -.025em; }
.lead { max-width: 650px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.58; }
.hero-actions { display: flex; min-width: 0; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions .button { max-width: 100%; text-align: center; }
.hero-visual { position: relative; min-width: 0; overflow: hidden; border-radius: 38px; }
.hero-visual::before { content: ""; position: absolute; z-index: -1; inset: -10%; border-radius: 50%; background: var(--acid); filter: blur(80px); opacity: .28; }
.hero-visual img { border-radius: 38px; box-shadow: var(--shadow); transform: rotate(1.4deg); }
.hero-note { margin: 24px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.famio-visual { position: relative; display: grid; min-height: 480px; place-items: center; overflow: hidden; border-radius: 38px; background: radial-gradient(circle at 20% 18%, #f7d4c7, transparent 40%), linear-gradient(145deg, #dfe6ff, #c4d2fb 65%, #aabaf0); box-shadow: var(--shadow); }
.famio-visual::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(255,255,255,.55); border-radius: 28px; pointer-events: none; }
.famio-orbit { position: absolute; width: 190px; height: 190px; border: 2px solid rgba(31,40,84,.35); border-radius: 50%; }
.orbit-one { transform: translate(-72px,-32px); background: rgba(255,255,255,.22); }
.orbit-two { transform: translate(70px,-30px); background: rgba(255,255,255,.22); }
.orbit-three { transform: translate(0,78px); background: rgba(255,255,255,.22); }
.famio-center { z-index: 1; display: grid; width: 114px; height: 114px; place-items: center; border-radius: 32px; background: var(--ink); color: #fff; font-size: 69px; font-weight: 850; box-shadow: 0 18px 45px rgba(31,40,84,.28); }
.proof-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--line); }
.proof { padding: 19px; background: var(--surface); }
.proof strong, .proof span { display: block; }
.proof strong { margin-bottom: 5px; }
.proof span { color: var(--muted); font-size: 13px; line-height: 1.4; }
.section { padding: 94px 0; }
.section.dark { background: var(--ink); color: white; }
.section.dark .lead, .section.dark .card p, .section.dark .section-copy { color: rgba(255,255,255,.7); }
.section.tint { background: var(--sky); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 38px; }
.section-head > :first-child { max-width: 760px; }
.section-copy { max-width: 550px; color: var(--muted); line-height: 1.6; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.dark .card { border-color: rgba(255,255,255,.14); background: rgba(255,255,255,.06); }
.card-number, .icon-tile { display: grid; width: 50px; height: 50px; place-items: center; margin-bottom: 42px; border-radius: 16px; background: var(--acid); color: var(--ink); font-size: 18px; font-weight: 900; }
.card h3 { margin-bottom: 11px; font-size: 23px; }
.card p { margin: 0; color: var(--muted); line-height: 1.55; }
.device-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.device { min-height: 230px; padding: 23px; border: 1px solid var(--line); border-radius: 25px; background: color-mix(in srgb, white 70%, transparent); }
.device b { display: block; margin: 50px 0 8px; font-size: 24px; }
.device span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.device .icon-tile { margin: 0; background: var(--surface); }
.quote-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 40px; border-radius: 34px; background: var(--acid); }
.quote-panel h2 { max-width: 790px; margin: 0; }
.page-hero { padding: 74px 0 46px; }
.page-hero h1 { max-width: 960px; font-size: clamp(48px, 7vw, 90px); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; padding-bottom: 90px; }
.article { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 32px; background: var(--surface); }
.article h2 { margin-top: 54px; font-size: clamp(28px, 4vw, 44px); }
.article h2:first-child { margin-top: 0; }
.article p, .article li { color: var(--muted); line-height: 1.7; }
.article li + li { margin-top: 10px; }
.side-card { position: sticky; top: 102px; align-self: start; padding: 23px; border-radius: 25px; background: var(--ink); color: white; }
.side-card p { color: rgba(255,255,255,.68); line-height: 1.5; }
.side-card .button { width: 100%; margin-top: 8px; }
.faq { display: grid; gap: 10px; }
.faq details { padding: 0 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.faq summary { cursor: pointer; padding: 20px 34px 20px 0; font-size: 18px; font-weight: 800; }
.faq details p { padding: 0 0 20px; }
.status-board { display: grid; gap: 10px; }
.status-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.status-row b, .status-row small { display: block; }
.status-row small { margin-top: 5px; color: var(--muted); }
.status-pill { display: inline-flex; align-items: center; gap: 7px; color: #805c00; font-size: 12px; font-weight: 850; text-transform: uppercase; }
.status-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #e8ae23; }
.support-form { display: grid; gap: 14px; }
.support-form label { font-size: 13px; font-weight: 800; }
.support-form input, .support-form textarea { width: 100%; margin-top: 7px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink); }
.support-form textarea { min-height: 130px; resize: vertical; }
.form-state { min-height: 24px; color: var(--muted); font-size: 13px; }
.site-footer { padding: 56px 0 32px; background: var(--ink); color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,.66); }
.footer-grid a { display: block; margin: 10px 0; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.5); font-size: 12px; }
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.visible { animation: reveal-in .55s ease both; }
  @keyframes reveal-in {
    from { opacity: 0; transform: translateY(18px); }
  }
}
@media (max-width: 920px) {
  .desktop-nav, .nav-actions .button:not(.primary) { display: none; }
  .menu-button { display: block; }
  .hero-grid, .page-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 680px; }
  .famio-visual { min-height: 360px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .device-grid { grid-template-columns: 1fr 1fr; }
  .side-card { position: static; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header .button.primary { display: none; }
  .hero { padding-top: 52px; }
  .hero-grid { gap: 42px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .proof-strip, .cards { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .section-head { display: block; }
  .device-grid { grid-template-columns: 1fr; }
  .device { min-height: 190px; }
  .quote-panel { grid-template-columns: 1fr; padding: 28px; }
  .page-grid { padding-bottom: 64px; }
  .article { border-radius: 25px; }
  .status-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
