:root {
  --bg: #ffffff;
  --bg-tint: #f7faff;
  --bg-pearl: #f1f5fc;
  --fg: #0e1729;
  --fg-soft: #334155;
  --muted: #5b6b86;
  --line: rgba(15, 23, 42, 0.09);
  --line-strong: rgba(15, 23, 42, 0.16);
  --cyan: #06b6d4;
  --blue: #3b82f6;
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --purple: #a855f7;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 38%, var(--violet) 72%, var(--purple) 100%);
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(37, 99, 235, 0.08);
  --glow: 0 18px 60px rgba(99, 102, 241, 0.14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.35rem, 6vw, 4.6rem); font-weight: 830; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 750; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.page-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 15% -5%, rgba(6, 182, 212, 0.12), transparent 60%),
    radial-gradient(800px 420px at 85% 0%, rgba(139, 92, 246, 0.1), transparent 60%),
    linear-gradient(180deg, var(--bg-tint), var(--bg) 42%);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--fg);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  z-index: 20;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 38px; width: auto; }
.main-nav { display: flex; gap: 1.1rem; margin-left: auto; }
.main-nav a { color: var(--fg-soft); font-size: 0.92rem; font-weight: 600; }
.main-nav a[aria-current="page"] { color: var(--fg); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.68rem 1.05rem;
  border-radius: 13px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--fg);
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--grad); color: #fff; border-color: transparent; }
.btn-small { min-height: 38px; padding: 0.45rem 0.8rem; font-size: 0.86rem; }
.btn-ghost { background: rgba(255, 255, 255, 0.7); }

.switcher { position: relative; }
.switcher summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  min-height: 38px;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: #fff;
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--fg-soft);
}
.switcher summary::-webkit-details-marker { display: none; }
.switcher ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  min-width: 11rem;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}
.switcher li a { display: block; padding: 0.5rem 0.65rem; border-radius: 9px; color: var(--fg-soft); font-size: 0.88rem; }
.switcher li a:hover, .switcher li a.is-active { background: var(--bg-pearl); text-decoration: none; color: var(--fg); }

.currency-switcher {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
}
.currency-label { color: var(--muted); margin-right: 0.35rem; }
.currency-switcher a {
  padding: 0.24rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-soft);
  background: #fff;
  font-weight: 650;
}
.currency-switcher a.is-active { background: var(--fg); color: #fff; border-color: var(--fg); }
.currency-switcher a:hover { text-decoration: none; }

main { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 2.2rem; max-width: 940px; }
.kicker, .section-kicker, .eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0e7490;
  margin-bottom: 0.7rem;
}
.section-kicker { color: var(--muted); }
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--fg-soft); max-width: 760px; }
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.6rem; }

.section { padding: clamp(3rem, 6vw, 5rem) 0; border-top: 1px solid var(--line); }
.lead { font-size: 1.06rem; color: var(--fg-soft); max-width: 760px; }
.muted { color: var(--muted); font-size: 0.9rem; }

.panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.panel.inset { background: var(--bg-pearl); box-shadow: none; padding: 1.25rem; }
.studio-panel { margin: 1.5rem 0 0; overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); background: var(--bg-pearl); }
.window-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.window-bar code { margin-left: 0.6rem; color: var(--muted); font-size: 0.76rem; }
.studio-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.25rem; padding: 1.25rem; }
.bubble { background: var(--bg-pearl); border-radius: 14px; padding: 0.8rem 0.95rem; }
.bubble.reply { background: linear-gradient(120deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.1)); }
.studio-result { border-left: 1px solid var(--line); padding-left: 1.25rem; }
.preview-card { border: 1px dashed var(--line-strong); border-radius: 12px; padding: 1rem; color: var(--muted); margin-bottom: 1rem; }
.status-line { display: flex; align-items: center; gap: 0.45rem; font-weight: 650; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #10b981; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.8rem; counter-reset: step; }
.steps li { padding: 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.step-n { display: block; color: var(--blue); font-weight: 800; font-size: 0.78rem; margin-bottom: 0.5rem; }
.steps p { color: var(--fg-soft); font-size: 0.92rem; margin: 0; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.25rem; box-shadow: var(--shadow-sm); }
.card p { color: var(--fg-soft); font-size: 0.93rem; margin: 0; }
.card-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.6rem; }
.check-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.7rem; color: var(--fg-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #059669; font-weight: 800; }
.pill-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.pill { border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.26rem 0.6rem; font-size: 0.8rem; color: var(--fg-soft); background: #fff; }
.quote-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; margin-top: 1rem; }
.quote-list li { background: var(--bg-pearl); border-radius: 12px; padding: 0.75rem 0.9rem; color: var(--fg-soft); font-size: 0.92rem; }

.partner-row { display: flex; align-items: center; gap: 1.2rem; }
.partner-row img { flex: 0 0 auto; }
.partner-row h2 { margin-bottom: 0.2rem; font-size: 1.35rem; }
.partner-row p { margin: 0; color: var(--fg-soft); }

.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.price-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem; background: #fff; box-shadow: var(--shadow-sm); }
.price-card h3 { font-size: 0.95rem; color: var(--fg-soft); text-transform: uppercase; letter-spacing: 0.08em; }
.price-title { font-weight: 750; font-size: 1.02rem; min-height: 3.2em; }
.price-block { margin: 0.4rem 0 0.8rem; }
.price-value { font-size: 1.55rem; font-weight: 820; margin: 0; letter-spacing: -0.02em; }
.price-period { font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-left: 0.2rem; }
.price-tag { display: inline-block; margin-top: 0.25rem; font-size: 0.72rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; color: #0e7490; }
.price-note, .price-base { color: var(--muted); font-size: 0.76rem; margin: 0.3rem 0 0; }
.price-body { color: var(--fg-soft); font-size: 0.88rem; }
.feature-list { margin-top: auto; }
.feature-list li { font-size: 0.85rem; color: var(--fg-soft); padding: 0.25rem 0; border-top: 1px solid var(--line); }
.text-link { font-weight: 700; font-size: 0.9rem; margin-top: 0.4rem; }
.fx-disclaimer { margin-top: 1.2rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-pearl); color: var(--fg-soft); font-size: 0.8rem; }
.fx-disclaimer p { margin: 0; }
.fixture-warning { margin-top: 0.5rem !important; color: #b91c1c; font-weight: 700; }

.cta-section { text-align: left; }
.legal-review { max-width: 800px; }
.review-badge { display: inline-block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: 999px; padding: 0.25rem 0.65rem; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; }

.site-footer { border-top: 1px solid var(--line); background: var(--bg-pearl); margin-top: 2rem; }
.footer-grid { max-width: var(--max); margin: 0 auto; padding: 2.4rem 1.25rem 1.4rem; display: grid; grid-template-columns: 1.1fr 1fr 0.8fr; gap: 2rem; }
.footer-brand img { height: 32px; width: auto; margin-bottom: 0.7rem; }
.footer-brand p { color: var(--fg-soft); font-size: 0.9rem; }
.operator-block p { font-size: 0.85rem; color: var(--fg-soft); }
.footer-legal ul { margin: 0 0 0.8rem; }
.footer-legal li { margin-bottom: 0.3rem; }
.footer-legal a { color: var(--fg-soft); font-size: 0.88rem; }
.footer-bottom { max-width: var(--max); margin: 0 auto; padding: 1rem 1.25rem 1.4rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: 0.8rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 980px) {
  .main-nav { display: none; }
  .steps, .card-grid, .card-grid.compact, .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-shell { flex-wrap: wrap; }
  .nav-actions { margin-left: auto; }
  .studio-grid, .two-col, .steps, .card-grid, .card-grid.compact, .pricing-grid, .quote-list, .footer-grid { grid-template-columns: 1fr; }
  .studio-result { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 1rem; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* CREVORO.ONE mobile QA: stack OpenAI partner badge/copy, prevent flex overflow */
@media (max-width: 720px) {
  .partner-row { flex-direction: column; text-align: center; }
  .partner-row > div { min-width: 0; width: 100%; max-width: 100%; overflow-wrap: anywhere; }
  .partner-row img { max-width: min(280px, 100%); height: auto; }
}
