/* Fixaply website. The look is DESIGN.md (clean light, one blue accent). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/inter-tight.woff2') format('woff2-variations');
}

:root {
  --ink: #0b0f19;
  --muted: #4a5163;
  --accent: #2f5bff;
  --accent-soft: #eef2ff;
  --accent-ink: #1e3a8a;
  --accent-on-dark: #a9bbff;
  --text-on-dark: #c9cfdb;
  --line: #edeff3;
  --line-strong: #d6dae2;
  --soft: #f7f8fa;
  --card: #f4f6fa;
  --head: 'Inter Tight', Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
img, svg { display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--head); margin: 0; color: var(--ink); }
h1 { font-size: 68px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: 44px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 88px 0; }
.section.soft { background: var(--soft); }
.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.lede { font-size: 20px; color: var(--muted); max-width: 640px; margin-top: 20px; }
.muted { color: var(--muted); }
.section-head { max-width: 720px; margin-bottom: 44px; }

/* Logo */
.logo {
  display: inline-flex;
  align-items: flex-start;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--head);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.logo:hover { color: var(--ink); }
.logo svg { width: 0.7em; height: 0.7em; margin: 0.2em 1px 0; }
.logo.on-dark { color: #fff; }

/* Top bar */
.top { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.94); position: sticky; top: 0; z-index: 5; }
.top .wrap:not(.menu-wrap) { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); padding: 12px 0; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.menu-button {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding: 0 16px;
  cursor: pointer;
}
.menu { display: none; border-top: 1px solid var(--line); padding: 8px 0 16px; }
.menu a { display: block; padding: 12px 0; font-size: 18px; font-weight: 600; text-decoration: none; }
.menu.open { display: block; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}
.btn.small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn.main { background: var(--accent); color: #fff; }
.btn.main:hover { background: #1f47e6; color: #fff; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #222a3b; color: #fff; }
.btn.outline { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn.outline:hover { border-color: var(--ink); color: var(--ink); }
.btn.white { background: #fff; color: var(--ink); }
.btn.white:hover { background: var(--accent-soft); color: var(--ink); }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.buttons.tight { margin-top: 20px; }
.buttons.flush { margin-top: 0; }
.top-align { align-items: start; }
.foot-note { margin-top: 12px; }

/* Home hero */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.preview {
  background: var(--card);
  border-radius: 32px;
  padding: 28px;
}
.preview-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(11, 15, 25, 0.06);
}
.preview-label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 14px; font-size: 15px; font-weight: 500; }
.chip.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.preview-note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.preview .btn { width: 100%; }

/* Grids and cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.card.gray { background: var(--soft); border-color: transparent; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }
.card .icon { width: 44px; height: 44px; margin-bottom: 18px; color: var(--accent); }
.step-num { font-family: var(--head); font-weight: 800; font-size: 15px; color: var(--accent); letter-spacing: 0.02em; margin-bottom: 18px; }
.trust { padding: 0 0 88px; }
.trust .card { padding: 22px 24px; }
.trust h3 { font-size: 18px; }
.appliance { text-align: left; text-decoration: none; display: block; }
.appliance:hover { border-color: var(--accent); color: var(--ink); }
.appliance .icon { color: var(--ink); width: 48px; height: 48px; }
.appliance h3 { font-size: 19px; margin: 0; }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232F5BFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Dark band */
.band { background: var(--ink); color: var(--text-on-dark); border-radius: 32px; padding: 64px; }
.band h2 { color: #fff; }
.band .eyebrow { color: var(--accent-on-dark); }
.band .lede { color: var(--text-on-dark); }
.band .checks li { color: #fff; }
.band .checks li::before {
  background-color: rgba(169, 187, 255, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23A9BBFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Page header (inner pages) */
.page-head { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: 56px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  min-height: 48px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; font-weight: 500; color: var(--accent); flex: none; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 680px; }

/* Text pages */
.prose { max-width: 720px; }
.prose h2 { font-size: 28px; margin: 40px 0 12px; }
.prose p, .prose ul { color: var(--muted); margin: 0 0 16px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.notice {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-radius: 18px;
  padding: 18px 22px;
  font-weight: 500;
  margin-bottom: 32px;
}

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 88px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h4 { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li a { display: inline-block; padding: 6px 0; text-decoration: none; font-size: 15px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-bottom a { color: var(--muted); }
.foot-bottom nav { display: flex; gap: 20px; }

/* Cookie notice (only when tracking IDs are set) */
.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 20px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  box-shadow: 0 16px 40px rgba(11, 15, 25, 0.25);
  z-index: 20;
}
.consent[hidden] { display: none; }
.consent p { flex: 1 1 260px; font-size: 15px; color: var(--text-on-dark); }
.consent a { color: #fff; }
.consent .btn { min-height: 44px; }
.consent .btn.outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }

@media (max-width: 960px) {
  h1 { font-size: 52px; }
  h2 { font-size: 36px; }
  .hero-grid, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { display: none; }
  .menu-button { display: inline-flex; align-items: center; }
  .band { padding: 48px 36px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  h1, .page-head h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .lede { font-size: 18px; }
  .section { padding: 60px 0; }
  .hero { padding: 44px 0 60px; }
  .trust { padding-bottom: 60px; }
  .page-head { padding: 48px 0 40px; }
  .grid-4, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { padding: 40px 24px; border-radius: 24px; }
  .preview { padding: 16px; border-radius: 24px; }
  .buttons .btn { flex: 1 1 100%; }
  .top-actions .btn.dark { padding: 0 16px; }
  .foot { margin-top: 60px; }
}
