/* Wardex — instrument-grade privacy.
   Graphite + brass from brand mark. Display: Lora. Body: Manrope. Data: JetBrains Mono. */

:root {
  --ink: #0B0E12;
  --ink-soft: #10141A;
  --panel: #141A21;
  --panel-lift: #1A222B;
  --brass: #D9A75C;
  --brass-deep: #C68A3F;
  --steel: #8494A7;
  --paper: #EAE4D8;
  --text: #A8B4C2;
  --line: #2A3340;

  --display: 'Lora', 'Times New Roman', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --text-max: 700px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-press: cubic-bezier(0.34, 1.4, 0.64, 1);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: #080A0D;
}

body {
  margin: 0;
  /* One page wash: lighter dark → deep dark (no second solid layers) */
  background-color: #080A0D;
  background-image: linear-gradient(
    180deg,
    #141A22 0%,
    #10141A 22%,
    #0C1016 55%,
    #0B0E12 78%,
    #080A0D 100%
  );
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* No overlay grain — caused stripe artifacts on borders/shadows */

.wrap {
  max-width: var(--text-max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, .lead {
  font-family: var(--display);
  font-weight: 700;
  color: var(--paper);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.18;
  margin: 0 0 22px;
}

p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }
a { color: var(--brass); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 22px;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--brass);
  opacity: 0.7;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 104px 24px 88px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.hero-bg img {
  --px: 0px;
  --py: 0px;
  --ps: 1.08;
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  display: block;
  will-change: transform;
  transform: translate3d(var(--px), var(--py), 0) scale(var(--ps));
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* mist / fog — keep light; don't gray-wash the CTA */
  background:
    radial-gradient(ellipse 95% 70% at 48% 36%, rgba(200, 210, 220, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 62% 24%, rgba(170, 185, 200, 0.07) 0%, transparent 50%),
    rgba(11, 14, 18, 0.28);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 58% at 50% 36%, transparent 0%, rgba(11, 14, 18, 0.45) 72%, rgba(11, 14, 18, 0.82) 100%),
    linear-gradient(180deg, rgba(11, 14, 18, 0.22) 0%, transparent 28%, rgba(20, 26, 34, 0.25) 62%, #141A22 100%);
}

.hero-content {
  --cx: 0px;
  --cy: 0px;
  position: relative;
  z-index: 5;
  max-width: 820px;
  transform: translate3d(var(--cx), var(--cy), 0);
  animation: hero-in 0.9s var(--ease-out) both;
}

@keyframes hero-in {
  from { opacity: 0; transform: translate3d(var(--cx), calc(var(--cy) + 16px), 0); }
  to { opacity: 1; transform: translate3d(var(--cx), var(--cy), 0); }
}

.hero-mark-wrap {
  position: relative;
  width: clamp(84px, 10vw, 112px);
  margin: 0 auto 28px;
}

.hero-mark-wrap::before {
  content: '';
  position: absolute;
  inset: -28%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 167, 92, 0.45) 0%, rgba(217, 167, 92, 0.12) 42%, transparent 70%);
  animation: mark-glow 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
  will-change: opacity;
}

.hero-mark {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

@keyframes mark-glow {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.hero h1 {
  font-size: clamp(34px, 5.8vw, 68px);
  line-height: 1.06;
  margin: 0 0 22px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--paper);
  opacity: 0.82;
  margin: 0 auto 34px;
  max-width: 36ch;
  font-weight: 400;
}

.hero-actions {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 24px 12px;
}

.hero-actions::before,
.hero-actions::after {
  display: none;
}

.hero-actions .cta {
  position: relative;
  z-index: 7;
}

.hero-actions .tg-fallback {
  position: relative;
  z-index: 7;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  background: #F0C057;
  color: #0B0E12;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 15px 32px;
  border-radius: 6px;
  border: 1px solid #FFD978;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  box-shadow:
    0 0 0 1px rgba(255, 217, 120, 0.55),
    0 14px 36px rgba(0, 0, 0, 0.65),
    0 0 60px rgba(240, 192, 87, 0.55);
  transition:
    transform 150ms var(--ease-out),
    background-color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
  -webkit-tap-highlight-color: rgba(217, 167, 92, 0.35);
  touch-action: manipulation;
  cursor: pointer;
}

.cta::after {
  content: '→';
  font-weight: 600;
  transition: transform 160ms var(--ease-out);
}

.cta:hover, .cta:focus-visible {
  background: #FFD978;
  transform: translateY(-2px);
  border-color: #FFE6A0;
  box-shadow:
    0 0 0 1px rgba(255, 230, 160, 0.65),
    0 16px 40px rgba(0, 0, 0, 0.7),
    0 0 70px rgba(255, 217, 120, 0.65);
}

.cta:hover::after, .cta:focus-visible::after {
  transform: translateX(4px);
}

.cta:active {
  transform: translateY(0);
  background: #E0B04A;
  border-color: #E0B04A;
  transition-duration: 70ms;
}

.tg-fallback {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--steel);
}

.hero .tg-fallback {
  color: #FFFFFF;
  opacity: 1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}
.hero .tg-fallback a {
  color: #FFD978;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 217, 120, 0.75);
}
.hero .tg-fallback a:hover { border-bottom-color: #FFD978; }

.scroll-hint {
  --sy: 0px;
  --so: 0.85;
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translate3d(-50%, var(--sy), 0);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #D2D7DE;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: var(--so);
  pointer-events: none;
}

.scroll-hint span {
  width: 1px;
  height: 36px;
  background: var(--brass);
  opacity: 0.55;
  animation: scroll-line 2.2s var(--ease-out) infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0.35); transform-origin: top; opacity: 0.3; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.35); transform-origin: bottom; opacity: 0.15; }
}

/* ---------- sections ---------- */

section { padding: 100px 0; position: relative; }
/* Page fill lives only on body — no duplicate section/footer ink layers */

.privacy .lead {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.28;
  max-width: 18em;
  margin: 0 0 28px;
}

.privacy p { max-width: 58ch; }

.privacy-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 8px;
}

.eye {
  --pupil-x: 0;
  --pupil-y: 0;
  --color-whites: #EAE4D8;
  --color-lid: var(--brass);
  --color-pupil: #0B0E12;
  --color-glint: #fff;
  flex: 0 0 auto;
  width: clamp(56px, 8vw, 78px);
  height: auto;
  aspect-ratio: 1;
  display: block;
  overflow: visible;
}

.eye-lids {
  stroke: var(--color-lid);
  stroke-width: 5%;
  fill: none;
}

.eye-whites {
  fill: var(--color-whites);
}

.eye-pupil {
  fill: var(--color-pupil);
}

.eye-glint {
  fill: var(--color-glint);
}

.eye-pupil-group {
  transform: translate(calc(var(--pupil-x) * 1px), calc(var(--pupil-y) * 1px));
}

.claims {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel-lift);
}

.claims li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  transition: background-color 150ms ease;
}

.claims li:last-child { border-bottom: none; }
.claims li:hover { background: #1C232C; }

.claim-k { color: var(--text); }

.claim-v {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brass);
  white-space: nowrap;
}

.plans .sub {
  color: var(--steel);
  margin-bottom: 8px;
  font-size: 16px;
}

.ledger {
  list-style: none;
  padding: 0;
  margin: 36px 0 28px;
  display: grid;
  gap: 10px;
}

.ledger > li { list-style: none; margin: 0; }

.ledger-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name price" "after after";
  align-items: start;
  gap: 6px 20px;
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-lift);
  box-shadow: none;
  transition:
    border-color 150ms ease,
    background-color 150ms ease;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(217, 167, 92, 0.25);
  touch-action: manipulation;
  position: relative;
}

.ledger-row:hover,
.ledger-row:focus-visible {
  border-color: #4A5A6A;
  background: #222A34;
}

.ledger-row:active {
  background: #1A2129;
  transition-duration: 70ms;
}

.ledger-row:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.ledger-row.featured {
  grid-template-areas:
    "name badge"
    "after price";
  border-color: #5A4A30;
  background: var(--panel-lift);
}

.ledger-row.featured:hover,
.ledger-row.featured:focus-visible {
  border-color: var(--brass);
  background: #222A34;
}

.plan-badge {
  grid-area: badge;
  justify-self: end;
  align-self: start;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--brass);
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1.2;
  white-space: nowrap;
}

.plan-name {
  grid-area: name;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--paper);
  padding-right: 8px;
}

.plan-note {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--brass);
  margin-left: 10px;
  letter-spacing: 0.02em;
}

.plan-price {
  grid-area: price;
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  column-gap: 0.4em;
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  color: var(--brass);
  text-align: right;
  white-space: nowrap;
  align-self: end;
}

.plan-price .plan-num {
  font: inherit;
  letter-spacing: -0.02em;
}

.plan-price .cur {
  font: inherit;
  font-size: 0.7em;
  font-weight: 500;
  opacity: 0.88;
}

.plan-after {
  grid-area: after;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  margin-top: 0;
}

.deadline, .trial {
  font-size: 14px;
  color: var(--steel);
  max-width: 48ch;
}

.cta-secondary { margin-top: 18px; }

.plans-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}

.specs {
  margin: 36px 0 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
}

.spec {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  transition: background-color 150ms ease;
}

.spec:last-child { border-bottom: none; }
.spec:hover { background: #151B22; }

.spec dt {
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
  margin: 0;
}

.spec dd {
  margin: 0;
  text-align: right;
  color: var(--paper);
  font-weight: 500;
}

.spec .fig {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  color: var(--brass);
}

.spec-note {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--steel);
  margin-top: 3px;
  font-weight: 400;
}

.faq-list {
  margin: 8px 0 0;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--line);
}

/* No trailing rule under the last accordion item */
.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--paper);
  padding: 24px 40px 24px 0;
  position: relative;
  border: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; font-size: 0; }

.faq-item summary:hover {
  color: var(--brass);
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -12px;
  width: 24px;
  height: 24px;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  color: var(--brass);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:focus-visible {
  color: var(--brass);
}

.faq-item p {
  margin: 0 0 24px;
  padding: 0;
  color: var(--steel);
  max-width: 54ch;
  font-size: 16px;
  border: 0;
  box-shadow: none;
}

.faq {
  padding-bottom: 28px;
}

.faq-item:last-child summary {
  padding-bottom: 8px;
}

.faq-item:last-child[open] summary {
  padding-bottom: 12px;
}

.faq-item:last-child p {
  margin-bottom: 4px;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 88px 0 96px;
  border: 0;
  box-shadow: none;
  outline: none;
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  border: 0;
  padding-top: 0;
  margin-top: 0;
}

/* Section break — short brass rule, not a full accordion-like line */
.site-footer .wrap::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--brass);
  opacity: 0.75;
  margin: 0 0 20px;
  border-radius: 1px;
}

.site-footer .support,
.site-footer .no-track,
.site-footer .copy {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  margin: 0;
}

.site-footer .support a {
  color: var(--brass);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 167, 92, 0.3);
}

.site-footer .support a:hover { border-bottom-color: var(--brass); }

/* ---------- reveal disabled: opacity:0 flash caused full-page flicker on reload ---------- */

a:focus-visible, .cta:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content { animation: none; }
  .hero-mark-wrap::before,
  .scroll-hint span { animation: none !important; }
  .cta:hover, .cta:focus-visible { transform: none; }
}

@media (max-width: 640px) {
  .privacy-head { flex-direction: column-reverse; align-items: flex-start; }
  .eye { width: 52px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero { padding: 84px 20px 72px; }
  section { padding: 72px 0; }
  .faq { padding-bottom: 16px; }
  .plan-price { font-size: 22px; }
  .plan-name { font-size: 20px; }
  .site-footer { padding: 56px 0 72px; }
  .claims li,
  .spec { padding-left: 16px; padding-right: 16px; }
}
