/* =====================================================================
   To Dark — Pro Design System v2
   Premium UI/UX: glassmorphism nav, pill buttons everywhere, elevated
   cards, rich micro-animations, polished spacing and hierarchy.
   Preserves cream/olive palette, serif display, mono keys.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* ── Color palette (unchanged) ── */
  --page:        #f4f6ea;
  --card:        #fffff7;
  --cream:       #faffe4;
  --line:        #e1e7c6;
  --line-2:      #cbd5a1;
  --ink:         #1f2607;
  --ink-2:       #58613a;
  --muted:       #7a835c;
  --faint:       #a6af86;
  --accent:      #3a4609;
  --accent-press:#2a3306;
  --accent-soft: #edf2d6;
  --sage:        #b8c48a;
  --ok:          #4f6d17;
  --ok-soft:     #eef6d9;
  --bad:         #a33b30;
  --bad-soft:    #f8e7e4;

  /* ── Premium gradient ── */
  --grad-pro:       linear-gradient(135deg, #b2d32d 0%, #dfa511 100%);
  --grad-pro-press: linear-gradient(135deg, #a6c526 0%, #cf9a0c 100%);
  --grad-page:      linear-gradient(160deg, #f0f5d8 0%, #fafff0 50%, #eef3d4 100%);

  /* ── Typography ── */
  --font-display: Georgia, "Times New Roman", Times, serif;
  --font-ui:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono:    ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* ── Spacing (8-based) ── */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  20px;
  --s-6:  24px;
  --s-7:  28px;
  --s-8:  32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;

  /* ── Radius — all pills ── */
  --r-xs:   8px;
  --r-s:    16px;
  --r:      20px;
  --r-l:    28px;
  --r-xl:   36px;
  --r-pill: 999px;

  /* ── Depth ── */
  --sh-1: none;
  --sh-2: none;
  --sh-3: none;
  --sh-glow: none;

  /* ── Motion ── */
  --e:  cubic-bezier(0.22, 1, 0.36, 1);
  --e2: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t:  180ms;
  --t2: 280ms;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  box-shadow: none !important;
}

/* Kill every browser-native shadow on form controls */
input,
textarea,
select,
button,
[type="text"],
[type="email"],
[type="number"],
[type="password"],
[type="search"],
[type="submit"],
[type="button"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none !important;
  outline: none;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
}

html, body { margin: 0; padding: 0; scroll-behavior: smooth; }

body {
  background: var(--grad-page);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Subtle noise texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }

a.text-link {
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--t) var(--e), color var(--t) var(--e);
}
a.text-link:hover { text-decoration-color: var(--accent); color: var(--accent); }

::selection { background: var(--accent); color: #fff; }

*:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-pill);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: var(--s-6) 0 var(--s-20);
  position: relative;
  z-index: 1;
}

.home-wrap,
.tip-wrap { padding-top: var(--s-5); }

/* ============================================================
   HEADER / NAV — glassmorphism floating pill
   ============================================================ */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-2) var(--s-3) var(--s-2) var(--s-4);
  margin-bottom: var(--s-12);
  border: 1px solid rgba(225, 231, 198, 0.8);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 247, 0.80);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  position: sticky;
  top: var(--s-3);
  z-index: 100;
  transition: background var(--t2) var(--e);
}

.top:hover {
  background: rgba(255, 255, 247, 0.94);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 var(--s-4);
  border-radius: var(--r-pill);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background var(--t) var(--e), color var(--t) var(--e), transform var(--t) var(--e);
}

.nav-link:hover {
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-1px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: opacity var(--t) var(--e);
}
.brand:hover { opacity: 0.75; }

.brand-logo,
.mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: block;
  border: 1.5px solid var(--line-2);
  transition: transform var(--t2) var(--e2);
}
.brand:hover .brand-logo,
.brand:hover .mark { transform: rotate(-8deg) scale(1.08); }

.mark {
  background: var(--sage) url("/assets/logo.svg") center / cover no-repeat;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

h1 { font-size: clamp(42px, 6vw, 72px); }
h2 { font-size: clamp(28px, 3.2vw, 40px); }
h3 { font-size: 19px; letter-spacing: -0.01em; }

p {
  margin: var(--s-3) 0 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
}

.mini-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 var(--s-4);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-pill);
  background: rgba(255,255,247,0.85);
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: var(--s-5);
  backdrop-filter: blur(8px);
}

.mini-kicker.pro {
  border-color: transparent;
  background: var(--grad-pro);
  color: var(--accent);
  font-weight: 700;
}

.mini-kicker.pro::before {
  content: "";
  width: 11px; height: 11px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 16L3 5.5l5.5 4L12 4l3.5 5.5L21 5.5 19 16H5zm0 2.5h14V21H5v-2.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 16L3 5.5l5.5 4L12 4l3.5 5.5L21 5.5 19 16H5zm0 2.5h14V21H5v-2.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.eyebrow {
  margin: 0 0 var(--s-3);
  color: var(--ok);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   HERO (HOME)
   ============================================================ */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: var(--s-12);
  align-items: center;
  padding: var(--s-4) 0 var(--s-16);
}

.hero-copy { animation: rise 560ms var(--e) both; }

.hero-copy h1 {
  max-width: 680px;
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1.04;
  background: linear-gradient(160deg, var(--ink) 40%, var(--ink-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy p {
  max-width: 540px;
  margin-top: var(--s-5);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
}

.hero-proof {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-top: var(--s-5);
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 var(--s-4);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 247, 0.75);
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  transition: transform var(--t) var(--e);
}
.hero-proof span:hover {
  transform: translateY(-2px);
}

.hero-proof span::before {
  content: "✓";
  font-size: 10px;
  color: var(--ok);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-top: var(--s-8);
  align-items: center;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--s-10);
  border: 1.5px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
  background: rgba(255, 255, 247, 0.80);
  backdrop-filter: blur(12px);
  max-width: 520px;
}

.metric-strip > div {
  padding: var(--s-5) var(--s-6);
  border-right: 1px solid var(--line);
  transition: background var(--t) var(--e);
}
.metric-strip > div:hover { background: rgba(255, 255, 247, 0.95); }
.metric-strip > div:last-child { border-right: 0; }

.metric-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.metric-strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Hero visual card ── */
.hero-logo-card {
  position: relative;
  min-height: 440px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  background:
    linear-gradient(160deg, rgba(250,255,228,0.97) 0%, rgba(184,196,138,0.28) 100%);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  gap: var(--s-4);
  padding: var(--s-6);
  overflow: hidden;
  animation: rise 640ms var(--e) 80ms both;
}

/* Decorative gradient blob */
.hero-logo-card::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(178,211,45,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo-card .hero-mark {
  width: min(52%, 220px);
  border-radius: 50%;
  border: 2px solid var(--line-2);
  animation: float 7s ease-in-out infinite;
}

.live-preview {
  width: 100%;
  max-width: 400px;
  align-self: start;
  border: 1.5px solid rgba(203, 213, 161, 0.9);
  border-radius: var(--r-l);
  background: rgba(255, 255, 247, 0.92);
  overflow: hidden;
}

.preview-top {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-5);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse-dot 2s ease-in-out infinite;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  padding: var(--s-4);
}

.preview-panel {
  min-height: 140px;
  display: grid;
  gap: var(--s-2);
  align-content: start;
  padding: var(--s-3);
  border-radius: var(--r);
  border: 1px solid var(--line);
}

.preview-panel span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-panel div { height: 22px; border-radius: var(--r-pill); }
.preview-panel div:nth-child(3) { width: 72%; }
.preview-panel div:nth-child(4) { width: 48%; height: 36px; }

.preview-light { background: #fbfbf2; color: var(--muted); }
.preview-light div { background: #e9edcf; }
.preview-light div:nth-child(4) { background: var(--sage); }

.preview-dark { background: #13170a; color: #dfe8b8; border-color: rgba(184,196,138,0.24); }
.preview-dark div { background: #2c3512; }
.preview-dark div:nth-child(4) { background: var(--grad-pro); }

.pay-card {
  position: absolute;
  left: var(--s-5); right: var(--s-5); bottom: var(--s-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 247, 0.95);
  backdrop-filter: blur(8px);
}

.pay-card span {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pay-card strong {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-align: right;
  color: var(--ink);
  font-weight: 600;
}

/* ============================================================
   FEATURE GRID
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-6);
}

.workflow-section,
.faq-section { margin-top: var(--s-20); }

.section-head { max-width: 720px; margin-bottom: var(--s-8); }
.section-head p { max-width: 640px; }

.workflow-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
}

/* ── Shared card surfaces ── */
.workflow-step,
.faq-card,
.seo-panel {
  border: 1.5px solid var(--line);
  border-radius: var(--r-l);
  background: rgba(255,255,247,0.85);
  backdrop-filter: blur(8px);
  transition: transform var(--t2) var(--e2), border-color var(--t) var(--e);
}

.workflow-step:hover,
.faq-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}

.workflow-step,
.faq-card { padding: var(--s-7); }

.workflow-step span {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: var(--s-5);
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
}

.workflow-step h3,
.faq-card h3 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0;
}

.workflow-step p,
.faq-card p { font-size: 14.5px; }

.seo-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: var(--s-8);
  align-items: center;
  margin-top: var(--s-20);
  padding: var(--s-10);
  background:
    linear-gradient(160deg, rgba(250,255,228,0.80) 0%, rgba(255,255,247,0.95) 100%);
}

.seo-panel:hover { transform: translateY(-2px); border-color: var(--line-2); }
.seo-panel p { margin: 0; font-size: 16px; line-height: 1.65; }

/* ── Site footer ── */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: var(--s-20);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}

/* ── Feature cards ── */
.feature-card {
  min-height: 200px;
  padding: var(--s-7);
  transition: transform var(--t2) var(--e2), border-color var(--t) var(--e);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
}

.feature-ic {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  border: 1.5px solid var(--line-2);
  color: var(--accent);
  margin-bottom: var(--s-5);
  transition: transform var(--t2) var(--e2), background var(--t) var(--e);
}
.feature-card:hover .feature-ic {
  background: var(--accent);
  color: var(--cream);
  transform: scale(1.1) rotate(-4deg);
  border-color: var(--accent);
}

.feature-ic svg { width: 20px; height: 20px; }

.feature-card h2 { font-size: 24px; letter-spacing: -0.02em; }
.feature-card p { margin-top: var(--s-3); font-size: 14.5px; line-height: 1.6; }

/* ============================================================
   GENERIC HERO (CHECKOUT / TIP)
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: var(--s-6);
  align-items: start;
}

.tip-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: start;
}

.tip-copy-card h1 { font-size: clamp(40px, 6vw, 68px); }

.soft-band {
  display: grid;
  gap: 6px;
  margin-top: var(--s-6);
  padding: var(--s-5) var(--s-6);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-l);
  background: rgba(250,255,228,0.8);
  backdrop-filter: blur(8px);
}
.soft-band strong { color: var(--accent); font-size: 15px; font-weight: 700; }
.soft-band span { color: var(--ink-2); font-size: 14px; }

.purchase-flow {
  display: grid;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

.purchase-flow div {
  display: grid;
  grid-template-columns: 32px minmax(0, 0.55fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255,255,247,0.7);
  backdrop-filter: blur(6px);
  transition: border-color var(--t) var(--e), background var(--t) var(--e), transform var(--t) var(--e);
}
.purchase-flow div:hover {
  border-color: var(--line-2);
  background: rgba(255,255,247,0.95);
  transform: translateX(4px);
}

.purchase-flow span {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
}

.purchase-flow strong { color: var(--ink); font-size: 13.5px; font-weight: 700; }
.purchase-flow small { color: var(--muted); font-size: 12.5px; }

.amount-pills {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-top: var(--s-3);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: rgba(255, 255, 247, 0.88);
  border: 1.5px solid var(--line);
  border-radius: var(--r-l);
  padding: var(--s-7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.card + .card { margin-top: var(--s-4); }

/* ============================================================
   BUTTONS — All fully pill, premium depth & hover lift
   ============================================================ */
.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 46px;
  padding: 0 var(--s-6);
  border-radius: var(--r-pill);
  border: 1.5px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--t) var(--e),
    border-color var(--t) var(--e),
    color var(--t) var(--e),
    transform var(--t2) var(--e2);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Shimmer on hover */
.btn::after,
button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--t) var(--e);
  border-radius: inherit;
}

.btn:hover::after,
button:hover::after { opacity: 1; }

.btn:hover,
button:hover {
  background: var(--accent-press);
  border-color: var(--accent-press);
  transform: translateY(-2px);
}

.btn:active,
button:active {
  transform: translateY(0) scale(0.97);
}

/* ── Secondary ── */
.btn.secondary,
button.secondary {
  background: rgba(255,255,247,0.80);
  color: var(--ink);
  border: 1.5px solid var(--line-2);
  backdrop-filter: blur(8px);
}

.btn.secondary:hover,
button.secondary:hover {
  background: var(--cream);
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Premium gradient CTA ── */
.btn.accent,
button.accent {
  background: var(--grad-pro);
  border: 0;
  color: var(--accent);
  font-weight: 700;
}

.btn.accent:hover,
button.accent:hover {
  background: var(--grad-pro-press);
  color: var(--accent-press);
  transform: translateY(-2px);
}

/* ── Big size ── */
.btn.big {
  min-height: 56px;
  padding: 0 var(--s-8);
  font-size: 15px;
  font-weight: 700;
}

/* ── Small utility ── */
.btn.sm,
button.sm {
  min-height: 36px;
  padding: 0 var(--s-4);
  font-size: 12.5px;
}

/* ============================================================
   FORMS
   ============================================================ */
form {
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-5);
}

label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-pill);
  padding: var(--s-3) var(--s-5);
  background: rgba(255,255,247,0.85);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color var(--t) var(--e), background var(--t) var(--e);
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--sage);
  background: rgba(255,255,247,0.95);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--card);
}

textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.6;
  border-radius: var(--r-l);
  padding: var(--s-4) var(--s-5);
}

select { cursor: pointer; }

/* ============================================================
   PAYMENT METHODS
   ============================================================ */
.methods { display: grid; gap: var(--s-3); margin-top: var(--s-5); }

.method {
  border: 1.5px solid var(--line);
  border-radius: var(--r-l);
  padding: var(--s-5) var(--s-6);
  background: rgba(250,255,228,0.6);
  backdrop-filter: blur(8px);
  transition: border-color var(--t) var(--e), transform var(--t2) var(--e2);
}

.method:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}

.method h3 {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.method p { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }

/* ============================================================
   STATUS NOTICES
   ============================================================ */
.notice,
.muted,
.ok,
.bad { font-size: 13.5px; }

.notice {
  margin-top: var(--s-4);
  padding: var(--s-3) var(--s-5);
  background: rgba(237,242,214,0.85);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-pill);
  color: var(--accent);
  backdrop-filter: blur(6px);
  font-weight: 500;
}

.notice.bad,
.bad {
  background: rgba(248,231,228,0.85);
  border-color: rgba(163, 59, 48, 0.25);
  color: var(--bad);
}

.ok { color: var(--ok); font-weight: 600; }
.muted { color: var(--muted); }

/* ============================================================
   PRICE
   ============================================================ */
.price {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-top: var(--s-3);
  color: var(--ink);
  line-height: 1;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   TABLES
   ============================================================ */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--s-4);
  background: rgba(255,255,247,0.85);
  border: 1.5px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

th, td {
  padding: var(--s-3) var(--s-5);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 13.5px;
}

tr:last-child td { border-bottom: 0; }

tbody tr { transition: background var(--t) var(--e); }
tbody tr:hover { background: rgba(250,255,228,0.6); }

th {
  color: var(--muted);
  background: rgba(250,255,228,0.6);
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

table form { margin: 0; display: inline-flex; gap: var(--s-2); }
table button { min-height: 34px; padding: 0 var(--s-4); font-size: 12.5px; box-shadow: none; }

.stack { display: grid; gap: var(--s-4); }

/* ============================================================
   LICENSE KEY DISPLAY
   ============================================================ */
.license-key {
  display: block;
  margin-top: var(--s-3);
  padding: var(--s-4) var(--s-5);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-l);
  background: rgba(250,255,228,0.6);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  word-break: break-all;
  color: var(--ink);
}

td.license-key {
  border-radius: 0;
  background: transparent;
  border: 0;
  padding: var(--s-3) var(--s-4);
  font-size: 12.5px;
  margin: 0;
}

/* ============================================================
   CHECKOUT / TIP — SUCCESS SCREEN
   ============================================================ */
.checkout-panel {
  transition: opacity 220ms var(--e), transform 220ms var(--e);
}

.success-screen {
  display: none;
  max-width: 680px;
  margin: 0 auto;
}

.success-screen.show {
  display: block;
  animation: rise 420ms var(--e) both;
}

.success-card {
  text-align: center;
  padding: clamp(32px, 5vw, 56px);
}

.success-card h1 {
  font-size: clamp(38px, 5vw, 58px);
  margin-bottom: var(--s-3);
  letter-spacing: -0.03em;
}

.success-logo {
  position: relative;
  width: 76px; height: 76px;
  border-radius: 50%;
  margin: 0 auto var(--s-5);
  background: var(--sage) url("/assets/logo.svg") center / cover no-repeat;
  border: 2px solid var(--line-2);
  animation: pop 520ms var(--e) both;
}

.success-logo::before,
.success-logo::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--sage);
  opacity: 0;
}

.success-screen.show .success-logo::before { animation: ring-out 1000ms var(--e) 160ms forwards; }
.success-screen.show .success-logo::after { animation: ring-out 1200ms var(--e) 320ms forwards; }

.key-panel {
  margin: var(--s-6) auto 0;
  padding: var(--s-5);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-l);
  background: rgba(250,255,228,0.7);
  text-align: left;
  backdrop-filter: blur(8px);
}

.key-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-3);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.copy-btn {
  min-height: 32px;
  padding: 0 var(--s-4);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.key-panel .license-key {
  margin-top: 0;
  background: rgba(255,255,247,0.85);
  border-color: var(--line);
}

.steps {
  display: grid;
  gap: var(--s-2);
  margin: var(--s-6) 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: var(--s-3) var(--s-4) var(--s-3) 52px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255,255,247,0.75);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
  counter-increment: step;
  backdrop-filter: blur(6px);
  transition: border-color var(--t) var(--e), background var(--t) var(--e);
}
.steps li:hover {
  border-color: var(--line-2);
  background: rgba(255,255,247,0.95);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: var(--s-4);
  top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.steps strong { color: var(--ink); font-weight: 700; }

/* ============================================================
   SECTION DIVIDER
   ============================================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2) 30%, var(--line-2) 70%, transparent);
  margin: var(--s-16) 0;
  border: 0;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pop {
  0%   { opacity: 0; transform: scale(0.3); }
  60%  { opacity: 1; transform: scale(1.1); }
  80%  { transform: scale(0.96); }
  100% { transform: scale(1); }
}

@keyframes ring-out {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.2); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-10px) rotate(1.5deg); }
  66%       { transform: translateY(-5px) rotate(-1deg); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

@keyframes shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 860px) {
  .wrap { width: min(740px, calc(100% - 32px)); }

  .hero,
  .home-hero,
  .feature-grid,
  .tip-hero,
  .workflow-grid,
  .faq-grid,
  .seo-panel {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
    gap: var(--s-10);
    padding-bottom: var(--s-10);
  }

  .hero-copy h1,
  .tip-copy-card h1 { font-size: clamp(38px, 9vw, 54px); }

  .hero-logo-card { min-height: 340px; }
  .live-preview { max-width: none; }

  .metric-strip { grid-template-columns: repeat(3, 1fr); max-width: 100%; }

  .pay-card { align-items: flex-start; flex-direction: column; gap: 6px; }
  .pay-card strong { text-align: left; }

  .seo-panel { padding: var(--s-8); }

  .feature-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 520px) {
  .top {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: var(--s-8);
    padding: var(--s-3) var(--s-4);
    border-radius: var(--r-xl);
  }

  .nav-actions { justify-content: flex-start; width: 100%; }
  .nav-link { display: none; }
  .brand { font-size: 19px; }

  .card { padding: var(--s-5); border-radius: var(--r-l); }

  .preview-grid { grid-template-columns: 1fr; }

  .purchase-flow div { grid-template-columns: 32px 1fr; }
  .purchase-flow small { grid-column: 2; }

  .site-footer { align-items: flex-start; flex-direction: column; gap: var(--s-3); }

  .feature-grid { grid-template-columns: 1fr; }

  .metric-strip { grid-template-columns: 1fr; }
  .metric-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric-strip > div:last-child { border-bottom: 0; }

  h1 { font-size: clamp(36px, 11vw, 48px); }
  h2 { font-size: clamp(26px, 7vw, 36px); }

  .btn.big { min-height: 50px; padding: 0 var(--s-6); font-size: 14.5px; }
}
