/* Crefiltur site styles. Native CSS, no framework.
   Shape rule: controls 10px, surfaces (cards, images) 16px.
   One accent (burnt orange) used identically on every page. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/BricolageGrotesque-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #f7f7f5;
  --bg-2: #eeeeeb;
  --surface: #ffffff;
  --ink: #15161a;
  --ink-2: #4b4d55;
  --ink-3: #6f727c;
  --line: #d8d9d4;
  --accent: #e5512b;
  --accent-hover: #cf4621;
  --accent-ink: #ffffff;
  --accent-soft: #fbeae3;
  --shadow: 0 1px 2px rgb(21 22 26 / 0.04), 0 12px 32px -12px rgb(21 22 26 / 0.12);
  --r-ctl: 10px;
  --r-surf: 16px;
  --font-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121316;
    --bg-2: #1a1b1f;
    --surface: #1e1f24;
    --ink: #f2f2ef;
    --ink-2: #b9bbc3;
    --ink-3: #868992;
    --line: #2c2e35;
    --accent: #ff6a3f;
    --accent-hover: #ff7d57;
    --accent-ink: #15161a;
    --accent-soft: #3a2018;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 32px -12px rgb(0 0 0 / 0.5);
  }
}
:root[data-theme="dark"] {
  --bg: #121316;
  --bg-2: #1a1b1f;
  --surface: #1e1f24;
  --ink: #f2f2ef;
  --ink-2: #b9bbc3;
  --ink-3: #868992;
  --line: #2c2e35;
  --accent: #ff6a3f;
  --accent-hover: #ff7d57;
  --accent-ink: #15161a;
  --accent-soft: #3a2018;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 32px -12px rgb(0 0 0 / 0.5);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: var(--r-ctl); z-index: 100; }
.skip:focus { left: 8px; }

.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: var(--r-ctl); border: 1px solid transparent;
  font-weight: 500; font-size: 16px; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink-3); background: var(--bg-2); }
.btn-sm { padding: 10px 16px; font-size: 15px; }
.btn-lg { padding: 16px 26px; font-size: 17px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.02em; color: var(--ink); }
.brand .mark { width: 28px; height: 28px; color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; transition: color .2s; }
.site-nav a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); color: var(--ink); border-radius: var(--r-ctl); padding: 8px 12px; font-size: 15px; font-weight: 500; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .site-nav .btn { margin-top: 16px; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 104px 0; } }
.section + .section { border-top: 1px solid var(--line); }
.section-h { font-size: clamp(30px, 4.2vw, 44px); max-width: 20ch; }
.section-sub { color: var(--ink-2); font-size: 18px; max-width: 58ch; margin-top: 16px; }
.section-head { margin-bottom: 44px; }
@media (min-width: 768px) { .section-head { margin-bottom: 56px; } }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 72px; }
@media (min-width: 900px) { .hero { padding: 64px 0 104px; } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; max-width: 17ch; }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--accent); }
.hero-sub { margin-top: 24px; font-size: 19px; color: var(--ink-2); max-width: 46ch; line-height: 1.5; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; border-radius: var(--r-surf); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-2); box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-caption { margin-top: 12px; color: var(--ink-3); font-size: 14px; }

/* Entry motion: establishes reading order (headline, copy, CTA, image). */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-media { animation: rise .8s var(--ease) .12s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal:nth-child(2) { transition-delay: .06s; }
  .js .reveal:nth-child(3) { transition-delay: .12s; }
  .js .reveal:nth-child(4) { transition-delay: .18s; }
  .js .reveal:nth-child(5) { transition-delay: .24s; }
  .js .reveal:nth-child(6) { transition-delay: .3s; }
}

/* ---------- Formats grid ---------- */
.formats { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .formats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .formats { grid-template-columns: repeat(3, 1fr); } }
.format { padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .format { padding: 32px 28px 36px 0; } .format:nth-child(2n) { padding-left: 28px; } }
@media (min-width: 1000px) {
  .format { padding: 36px 28px; border-right: 1px solid var(--line); }
  .format:nth-child(3n + 1) { padding-left: 0; }
  .format:nth-child(3n) { border-right: 0; padding-right: 0; }
  .format:nth-child(2n) { padding-left: 28px; }
}
.format .ic { width: 28px; height: 28px; color: var(--accent); }
.format h3 { font-size: 21px; margin-top: 18px; }
.format p { color: var(--ink-2); margin-top: 8px; font-size: 16px; }

/* ---------- How it works ---------- */
.how-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .how-grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } }
.how-media { border-radius: var(--r-surf); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
@media (min-width: 900px) { .how-media { position: sticky; top: 96px; } }
.how-media img { width: 100%; height: 100%; object-fit: cover; }
.steps { counter-reset: step; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-n { font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; color: var(--accent); line-height: 1; }
.step h3 { font-size: 24px; }
.step p { color: var(--ink-2); margin-top: 10px; max-width: 52ch; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 20px; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surf); padding: 32px 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
@media (min-width: 960px) { .plan { padding: 36px 32px; } }
.plan-pro { border-color: var(--accent); position: relative; }
.plan-flag { position: absolute; top: -13px; left: 28px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
@media (min-width: 960px) { .plan-flag { left: 32px; } }
.plan h3 { font-size: 24px; }
.plan-intro { margin-top: 8px; color: var(--accent); font-weight: 500; font-size: 15px; }
.plan-then { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.plan-then strong { color: var(--ink); font-weight: 600; }
.price { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; font-family: var(--font-display); flex-wrap: wrap; }
.price-amt { font-size: 52px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.price-per { color: var(--ink-3); font-family: var(--font-body); font-size: 16px; }
.plan-note { color: var(--ink-3); font-size: 13.5px; margin-top: 14px; line-height: 1.45; }
.plan .btn { margin-top: 22px; width: 100%; }
.included { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.included h3 { font-size: 20px; }
.included-list { margin-top: 18px; display: grid; gap: 12px 32px; }
@media (min-width: 720px) { .included-list { grid-template-columns: 1fr 1fr; } }
.included-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.included-list .ic { color: var(--accent); margin-top: 3px; width: 20px; height: 20px; }
.plan-feats { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 16px; }
.plan-feats .ic { color: var(--accent); margin-top: 2px; width: 20px; height: 20px; }
.plan-feats strong { color: var(--ink); font-weight: 500; }
.pricing-fine { margin-top: 28px; color: var(--ink-3); font-size: 15px; max-width: 70ch; }

/* ---------- Why ---------- */
.why-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 5fr 7fr; gap: 72px; } }
.why-list { display: grid; gap: 0; }
.why { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.why:last-child { border-bottom: 1px solid var(--line); }
.why .ic { width: 28px; height: 28px; color: var(--accent); }
.why h3 { font-size: 21px; }
.why p { color: var(--ink-2); margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 26px; font-weight: 400; line-height: 1; transition: transform .25s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { color: var(--ink-2); padding: 0 0 24px; max-width: 62ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--r-surf); overflow: hidden; padding: 56px 28px; color: #f2f2ef; background: #15161a; isolation: isolate; }
@media (min-width: 768px) { .cta-band { padding: 88px 64px; } }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(21 22 26 / 0.92) 0%, rgb(21 22 26 / 0.7) 55%, rgb(21 22 26 / 0.45) 100%); }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 48px); max-width: 16ch; }
.cta-band p { margin-top: 16px; color: #c9cad1; max-width: 46ch; font-size: 18px; }
.cta-band .btn-primary { margin-top: 28px; }
.cta-band .btn-primary { background: #ff6a3f; color: #15161a; }
.cta-band .btn-primary:hover { background: #ff7d57; }
.cta-band .alt { margin-top: 16px; font-size: 15px; color: #a3a5ae; }
.cta-band .alt a { color: #f2f2ef; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 32px; font-size: 15px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 32px; } }
.footer-brand p { color: var(--ink-2); margin-top: 16px; max-width: 34ch; }
.footer-h { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: 0; margin-bottom: 14px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.footer-address { font-style: normal; color: var(--ink-2); line-height: 1.6; }
.footer-address strong { color: var(--ink); font-weight: 600; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 32px; color: var(--ink-3); font-size: 14px; }

/* ---------- Document pages (legal, about, contact) ---------- */
.doc { padding: 56px 0 96px; }
.doc-head { max-width: 760px; }
.doc-head h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 700; letter-spacing: -0.03em; }
.doc-meta { color: var(--ink-3); margin-top: 16px; font-size: 15px; }
.doc-intro { margin-top: 20px; font-size: 19px; color: var(--ink-2); max-width: 62ch; }
.doc-grid { display: grid; gap: 48px; margin-top: 48px; }
@media (min-width: 960px) { .doc-grid { grid-template-columns: 240px 1fr; gap: 72px; } }
.doc-toc { font-size: 15px; }
@media (min-width: 960px) { .doc-toc { position: sticky; top: 96px; align-self: start; } }
.doc-toc a { display: block; padding: 6px 0; color: var(--ink-2); text-decoration: none; border-left: 2px solid var(--line); padding-left: 14px; }
.doc-toc a:hover { color: var(--ink); border-color: var(--accent); }
.doc-body { max-width: 72ch; }
.doc-body h2 { font-size: 26px; margin-top: 48px; scroll-margin-top: 96px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 19px; margin-top: 28px; }
.doc-body p { margin-top: 14px; color: var(--ink-2); }
.doc-body ul { list-style: disc; padding-left: 22px; margin-top: 12px; color: var(--ink-2); }
.doc-body li { margin-top: 8px; }
.doc-body li::marker { color: var(--accent); }
.doc-body strong { color: var(--ink); font-weight: 600; }
.doc-body a { color: var(--ink); }
.doc-body table { border-collapse: collapse; width: 100%; margin-top: 16px; font-size: 15.5px; }
.doc-body th, .doc-body td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.doc-body th { color: var(--ink); font-weight: 600; }

/* Company details block */
.details { margin-top: 24px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.details div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--ink-3); font-size: 15px; }
.details dd { margin: 0; color: var(--ink); }
.details dd a { color: var(--ink); }

/* Contact */
.contact-grid { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: 72px; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-surf); padding: 32px 28px; box-shadow: var(--shadow); }
.contact-card h2 { font-size: 22px; }
.contact-card .email { display: block; margin-top: 16px; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; word-break: break-all; }
.contact-card .email:hover { color: var(--accent); }
.contact-card p { color: var(--ink-2); margin-top: 12px; }
.contact-card .btn { margin-top: 20px; }
.checklist { margin-top: 20px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 10px; color: var(--ink-2); }
.checklist .ic { color: var(--accent); width: 20px; height: 20px; margin-top: 3px; }
.plan-note-box { margin-top: 16px; padding: 12px 14px; border-radius: var(--r-ctl); background: var(--accent-soft); color: var(--ink); font-size: 15px; }

/* 404 */
.notfound { padding: 96px 0 128px; text-align: left; }
.notfound h1 { font-size: clamp(40px, 7vw, 80px); letter-spacing: -0.04em; }
.notfound p { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.notfound .btn { margin-top: 28px; }
