/* Frexora website: plain white, one violet accent, no scripts, no external files */
:root {
  --violet: #430ebe;
  --violet-soft: #f6f3ff;
  --gold: #d4992b;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #ebebf0;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--violet); text-decoration: none !important; }
.brand svg { width: 38px; height: 38px; display: block; }
.brand span { font: 700 25px Georgia, "Times New Roman", serif; letter-spacing: -0.4px; }
nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
nav a { color: var(--text); }
nav a:hover { color: var(--violet); text-decoration: none; }
nav a[aria-current="page"] { color: var(--violet); }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 14px; font-weight: 600; font-size: 15px;
  background: var(--violet); color: #fff !important; text-decoration: none !important; border: 1px solid var(--violet);
}
.btn:hover { background: #3a0ba6; }
.btn.ghost { background: #fff; color: var(--violet) !important; border-color: var(--line); }
.btn.ghost:hover { background: var(--violet-soft); }

/* Home */
.hero { padding: 84px 0 72px; text-align: center; background: linear-gradient(#fff, var(--violet-soft)); border-bottom: 1px solid var(--line); }
.hero h1 { margin: 0 auto 18px; max-width: 760px; font-size: clamp(34px, 6vw, 54px); line-height: 1.12; letter-spacing: -1.2px; color: var(--ink); font-weight: 650; }
.hero p { margin: 0 auto 30px; max-width: 600px; font-size: 19px; color: var(--muted); }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin: 18px auto 0; font-size: 13px; color: var(--muted); }
section.block { padding: 72px 0; }
section.block + section.block { border-top: 1px solid var(--line); }
h2 { margin: 0 0 10px; font-size: 30px; letter-spacing: -0.7px; color: var(--ink); font-weight: 650; line-height: 1.2; }
.lead { margin: 0 0 36px; color: var(--muted); font-size: 18px; max-width: 620px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: 22px; padding: 26px; background: #fff; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04); }
.card h3 { margin: 0 0 8px; font-size: 18px; color: var(--ink); letter-spacing: -0.3px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.step { font: 700 13px/1 Georgia, serif; color: var(--gold); letter-spacing: 1.5px; margin-bottom: 14px; }
ul.ticks { list-style: none; padding: 0; margin: 14px 0 0; }
ul.ticks li { position: relative; padding-left: 26px; margin: 8px 0; color: var(--text); font-size: 15px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--violet); border-bottom: 2px solid var(--violet); transform: rotate(-45deg); }

/* Document pages */
.doc { padding: 56px 0 80px; }
.doc h1 { margin: 0 0 6px; font-size: 38px; letter-spacing: -1px; color: var(--ink); font-weight: 650; line-height: 1.15; }
.doc .updated { margin: 0 0 34px; color: var(--muted); font-size: 14px; }
.doc h2 { font-size: 21px; margin: 38px 0 10px; letter-spacing: -0.3px; }
.doc p, .doc li { font-size: 16px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--ink); font-weight: 600; background: #fafafd; }
.callout { border: 1px solid var(--line); border-left: 4px solid var(--violet); border-radius: 14px; padding: 16px 18px; background: var(--violet-soft); margin: 22px 0; font-size: 15px; }
.callout strong { color: var(--ink); }
details { border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; margin: 10px 0; }
details[open] { background: #fcfcfe; }
summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 12px 0; }
details p { margin: 0 0 14px; font-size: 15px; color: var(--text); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
footer nav { gap: 20px; font-size: 14px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .top .wrap { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; gap: 10px; }
  nav { gap: 16px; font-size: 14px; }
  .hero { padding: 56px 0 48px; }
  section.block { padding: 52px 0; }
  .doc h1 { font-size: 31px; }
}

.centered { text-align: center; padding-top: 60px; padding-bottom: 60px; }
