/* ==========================================================================
   Oxxle — design tokens
   ========================================================================== */
:root {
  --ink: #17150f;          /* near-black, warm */
  --ink-soft: #211e16;     /* card surfaces */
  --ink-line: #3a362b;     /* hairlines on dark */
  --paper: #fdf8ee;        /* warm off-white */
  --yellow: #f5b501;
  --yellow-deep: #d99c0b;
  --text: #f4f1e8;
  --text-dim: #b9b4a5;
  --radius: 14px;
  --radius-pill: 999px;
  --container: 1160px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad: clamp(4.5rem, 10vw, 8.5rem);
  --font: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --shadow-pop: 0 24px 60px -20px rgba(0, 0, 0, .55);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* Self-hosted variable font (single file = one request, no FOIT) */
@font-face {
  font-family: "Sora";
  src: url("../fonts/Sora-Variable.woff2") format("woff2-variations");
  font-weight: 300 800;
  font-display: swap;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  font-size: clamp(1rem, .95rem + .25vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3 { line-height: 1.08; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 2rem + 4.5vw, 5rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 1.4rem + 2.6vw, 3.1rem); text-transform: uppercase; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
img, svg { max-width: 100%; height: auto; display: block; }
ul { padding: 0; margin: 0; list-style: none; }
a { color: inherit; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--yellow); color: var(--ink); padding: .75rem 1.25rem; font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.section--yellow :focus-visible, .modal :focus-visible { outline-color: var(--ink); }

/* ==========================================================================
   Brand motifs
   ========================================================================== */
.circled {
  position: relative;
  display: inline-block;
  padding: .04em .35em;
  color: var(--yellow);
  white-space: nowrap;
}
.circled::before {
  content: "";
  position: absolute; inset: -.08em -.15em;
  border: 3px solid var(--yellow);
  border-radius: var(--radius-pill);
  transform: rotate(-1.2deg);
}
.circled--dark { color: var(--ink); }
.circled--dark::before { border-color: var(--ink); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}
.section--yellow .eyebrow { color: var(--ink); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 700; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .08em; text-decoration: none;
  padding: .9rem 1.9rem; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease-out), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--solid { background: var(--yellow); color: var(--ink); }
.btn--solid:hover { background: #ffc637; box-shadow: 0 10px 30px -8px rgba(242, 178, 27, .5); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--ink-line); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.btn--solid-dark { background: var(--ink); color: var(--yellow); }
.btn--solid-dark:hover { box-shadow: 0 12px 30px -10px rgba(23, 21, 15, .6); }

/* Featured pricing card sits on a dark surface — give its CTA a yellow outline */
.price-card--featured .btn--solid-dark { border-color: var(--yellow); }
.price-card--featured .btn--solid-dark:hover { background: var(--yellow); color: var(--ink); }

.btn--outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: var(--yellow); }

.btn--lg { padding: 1.05rem 2.4rem; font-size: .95rem; }
.btn--sm { padding: .6rem 1.4rem; font-size: .8rem; }
.btn--block { width: 100%; }

.text-link {
  background: none; border: none; padding: 0; font: inherit; cursor: pointer;
  color: var(--yellow); text-decoration: underline; text-underline-offset: 3px;
}
.text-link:hover { color: #ffc637; }
.modal .text-link, .section--yellow .text-link { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(23, 21, 15, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-line);
}
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 4.25rem; }

.logo {
  font-weight: 800; font-size: 1.35rem; letter-spacing: .12em; text-decoration: none;
}
.logo span { color: var(--yellow); }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 1.75rem; }
.main-nav a {
  text-decoration: none; font-size: .85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim);
  padding: .35rem 0; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--yellow); border-bottom-color: var(--yellow); }

.nav-toggle { display: none; }

@media (max-width: 860px) {
  .header-cta { display: none; }
  .nav-toggle {
    display: grid; gap: 5px; margin-left: auto;
    background: none; border: none; padding: .75rem; cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--ink); border-bottom: 1px solid var(--ink-line);
    display: none; padding: 1rem var(--gutter) 1.5rem;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: .25rem; }
  .main-nav a { display: block; padding: .85rem 0; font-size: 1rem; border-bottom: 1px solid var(--ink-line); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) 0 var(--section-pad);
  text-align: center;
  overflow: clip;
}
.hero-inner { position: relative; z-index: 1; }
/* the circled phrase must never overflow small screens */
.hero .circled { font-size: min(1em, 9.2vw); }
.hero .lead {
  max-width: 34rem; margin: 1.5rem auto 2.5rem;
  color: var(--text-dim); font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem);
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-ticks {
  display: flex; gap: 2.25rem; justify-content: center; flex-wrap: wrap;
  margin-top: 3.5rem; font-size: .85rem; color: var(--text-dim);
}
.hero-ticks li { display: flex; align-items: center; gap: .5rem; }
.hero-ticks li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow); flex: none;
}
.hero-glow {
  position: absolute; inset: auto 0 -40%; height: 80%;
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(242, 178, 27, .14), transparent 70%);
  pointer-events: none;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding-block: var(--section-pad); }
.section--tight { padding-top: 0; }
.section--yellow { background: var(--yellow); color: var(--ink); }
.section--yellow h2, .section--yellow h3 { color: var(--ink); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head p { color: var(--text-dim); font-size: 1.1rem; }
.section--yellow .section-head p { color: rgba(23, 21, 15, .75); }

/* ==========================================================================
   Cards
   ========================================================================== */
.card-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.card {
  position: relative;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.75rem;
  transition: transform .35s var(--ease-out), border-color .3s;
}
.card:hover { transform: translateY(-5px); border-color: var(--yellow); }
.card h3 { margin-top: .25rem; }
.card p { color: var(--text-dim); margin-bottom: 0; }
.card-num {
  font-size: .75rem; font-weight: 700; letter-spacing: .15em;
  color: var(--yellow);
}

/* Dark cards on a yellow band */
.section--yellow .card {
  background: var(--ink);
  border-color: transparent;
  box-shadow: 0 18px 40px -22px rgba(23, 21, 15, .6);
}
.section--yellow .card h3 { color: var(--text); }
.section--yellow .card p { color: var(--text-dim); }
.section--yellow .card:hover { border-color: var(--ink); }

/* ==========================================================================
   Process
   ========================================================================== */
.process-grid {
  display: grid; gap: 1.25rem; counter-reset: step;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  padding: 0; margin: 0; list-style: none;
}
.process-step {
  border-top: 2px solid var(--ink-line);
  padding-top: 1.75rem;
  transition: border-color .3s;
}
.process-step:hover { border-top-color: var(--yellow); }
.step-num {
  display: inline-grid; place-items: center;
  width: 2.6rem; height: 2.6rem; margin-bottom: 1.1rem;
  border-radius: 50%; border: 2px solid var(--yellow);
  color: var(--yellow); font-weight: 800; font-size: 1.1rem;
}
.process-step p { color: var(--text-dim); margin: 0; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  max-width: 880px;
  align-items: start;
}
.price-card {
  position: relative;
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius);
  padding: 2.5rem 2.25rem;
  box-shadow: var(--shadow-pop);
}
.price-card--featured {
  background: var(--ink); color: var(--text);
  transform: scale(1.02);
}
.price-card--featured h3 { color: var(--yellow); }
.badge {
  position: absolute; top: -0.95rem; left: 2.25rem;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 0 6px 16px -6px rgba(23, 21, 15, .45);
  font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
  padding: .35rem .9rem; border-radius: var(--radius-pill);
}
.price-tag {
  font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem);
  font-weight: 800; line-height: 1; margin: .75rem 0 1rem; letter-spacing: -.02em;
}
.price-tag .currency { font-size: .5em; vertical-align: .55em; font-weight: 700; }
.price-tag .period { font-size: .32em; font-weight: 600; letter-spacing: 0; color: inherit; opacity: .65; }
.price-blurb { font-size: .95rem; opacity: .8; margin-bottom: 1.5rem; }
.price-features { margin-bottom: 2rem; display: grid; gap: .65rem; }
.price-features li { padding-left: 1.75rem; position: relative; font-size: .95rem; }
.price-features li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--yellow);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M8 0a8 8 0 100 16A8 8 0 008 0zm3.7 6.2l-4.2 4.6a.75.75 0 01-1.1.01L4.3 8.6a.75.75 0 111.08-1.04l1.55 1.6 3.66-4a.75.75 0 011.1 1.03z"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M8 0a8 8 0 100 16A8 8 0 008 0zm3.7 6.2l-4.2 4.6a.75.75 0 01-1.1.01L4.3 8.6a.75.75 0 111.08-1.04l1.55 1.6 3.66-4a.75.75 0 011.1 1.03z"/></svg>') center/contain no-repeat;
}
.price-card .price-features li::before { background: var(--yellow-deep); }
.price-card--featured .price-features li::before { background: var(--yellow); }
.pricing-note { margin-top: 2.5rem; font-size: .95rem; }
.pricing-note a { font-weight: 700; }

/* ==========================================================================
   Split sections (hosting / email, contact)
   ========================================================================== */
.split {
  display: grid; gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  align-items: start;
}
.split-col > p { color: var(--text-dim); max-width: 32rem; }
.split-col .btn { margin-top: .5rem; }
.section--yellow .split-col > p { color: rgba(23, 21, 15, .78); }
.contact-direct a { font-weight: 700; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: grid; gap: .75rem; }
.faq-item {
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  transition: border-color .25s;
}
.faq-item[open], .faq-item:hover { border-color: var(--yellow); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.5rem; cursor: pointer; font-weight: 600; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 14px; height: 14px; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  background: var(--yellow); transition: transform .3s var(--ease-out);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }
.faq-body { padding: 0 1.5rem 1.35rem; color: var(--text-dim); }
.faq-body p { margin: 0; }

/* ==========================================================================
   Contact form
   ========================================================================== */
.contact-form {
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-pop);
  display: grid; gap: 1.1rem;
}
.field { display: grid; gap: .35rem; }
.field label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink);
  background: #fff;
  border: 2px solid #d8d2c2;
  border-radius: 10px;
  padding: .75rem .9rem;
  transition: border-color .2s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.hp-field { position: absolute; left: -9999px; }

/* ---- Slide-to-send (anti-bot gesture, replaces captcha) ---- */
.slide-send { display: none; }                 /* shown only when JS is on */
.js .slide-send { display: block; }
.js .submit-fallback { display: none; }        /* button is the no-JS path */

.slide-send {
  position: relative;
  height: 56px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  overflow: hidden;
  touch-action: none;            /* let the range own the drag on touch */
  user-select: none;
}
.slide-fill {
  position: absolute; inset: 0; width: 0;
  background: var(--yellow);
  border-radius: var(--radius-pill);
  transition: width .06s linear;
}
.slide-label {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); pointer-events: none;
  transition: color .2s;
}
.slide-send.is-armed .slide-label { color: var(--ink); }
.slide-range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  -webkit-appearance: none; appearance: none;
  background: transparent; cursor: grab;
}
.slide-range:active { cursor: grabbing; }
.slide-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 48px; height: 48px; margin-top: 0; border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: 0 4px 12px -3px rgba(0,0,0,.5);
  cursor: grab;
}
.slide-range::-moz-range-thumb {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--yellow); border: 3px solid var(--ink);
  box-shadow: 0 4px 12px -3px rgba(0,0,0,.5); cursor: grab;
}
.slide-range:focus-visible { outline: none; }
.slide-send:focus-within { box-shadow: 0 0 0 3px var(--yellow); }
.slide-send.is-resetting .slide-fill { transition: width .35s var(--ease-out); }
.form-status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form-status.is-error { color: #a3271d; }
.form-status.is-ok { color: #1d6b35; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--ink-line); padding: 2.5rem 0; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
}
.logo--footer { font-size: 1.1rem; }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a {
  text-decoration: none; font-size: .8rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-dim);
}
.footer-nav a:hover { color: var(--yellow); }
.copyright { margin: 0; font-size: .8rem; color: var(--text-dim); }

/* ==========================================================================
   Modals
   ========================================================================== */
.modal {
  border: none; padding: 0; margin: auto;
  width: min(92vw, 640px); max-height: 88vh;
  background: var(--yellow); color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .7);
}
.modal::backdrop { background: rgba(10, 9, 6, .75); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .35s var(--ease-out); }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.modal-inner { padding: clamp(1.75rem, 5vw, 3rem); }
.modal-title { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.modal-sub { font-size: 1.05rem; margin-bottom: 2rem; color: rgba(23, 21, 15, .75); }
.modal h3 { text-transform: uppercase; letter-spacing: .02em; margin-top: 0; }
.modal-close {
  position: sticky; top: 0; float: right; margin: 1rem 1rem 0 0;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--yellow); color: var(--ink);
  font-size: 1.4rem; line-height: 1; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.modal-close:hover { background: var(--ink); color: var(--yellow); }
.check-list { display: grid; gap: .7rem; margin: 1.25rem 0 2rem; }
.check-list li { position: relative; padding-left: 1.85rem; font-size: .97rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .22em;
  width: 1.15rem; height: 1.15rem;
  background: var(--ink);
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M8 0a8 8 0 100 16A8 8 0 008 0zm3.7 6.2l-4.2 4.6a.75.75 0 01-1.1.01L4.3 8.6a.75.75 0 111.08-1.04l1.55 1.6 3.66-4a.75.75 0 011.1 1.03z"/></svg>') center/contain no-repeat;
          mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M8 0a8 8 0 100 16A8 8 0 008 0zm3.7 6.2l-4.2 4.6a.75.75 0 01-1.1.01L4.3 8.6a.75.75 0 111.08-1.04l1.55 1.6 3.66-4a.75.75 0 011.1 1.03z"/></svg>') center/contain no-repeat;
}

/* ==========================================================================
   Reveal-on-scroll (JS adds .is-visible; no-JS users see everything)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0; transform: translateY(22px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
