/* DelQuroLabs.com. Colors follow the DelQuro studio tokens (delquro.com redesign.css). */
:root {
  --bg: #eff1e9;
  --surface: #ffffff;
  --band: #e4e9e1;
  --text: #18332f;
  --muted: #4b625d;
  --line: #c9d3cc;
  --accent: #0f7a66;
  --accent-ink: #ffffff;
  --accent-soft: #d6efe8;
  --old: #c9c3b5;
  --old-ink: #6b6556;
  --wrap: 1160px;
  --radius: 10px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b171b;
    --surface: #102126;
    --band: #0d1e21;
    --text: #edf4f2;
    --muted: #afc2c0;
    --line: #24403f;
    --accent: #55dfc5;
    --accent-ink: #0b171b;
    --accent-soft: #17322f;
    --old: #3a3830;
    --old-ink: #b0a892;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; margin: 0 0 16px; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 650; }
h3 { font-size: 24px; font-weight: 650; }
p { margin: 0 0 16px; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; border-radius: 6px; z-index: 10; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.02em; min-height: 44px; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px 8px 8px 2px; background: var(--text); color: var(--bg); font: 700 13px/1 var(--mono); }
nav { display: flex; gap: 4px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 6px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 550; }
nav a:hover { background: var(--accent-soft); }
nav .nav-cta { background: var(--text); color: var(--bg); }
nav .nav-cta:hover { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 640px) { nav a:not(.nav-cta) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px; font: 650 16px/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-main { background: var(--accent); color: var(--accent-ink); }
.btn-main:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--text); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--text); color: var(--bg); }

/* Hero */
.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { font: 600 13px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; letter-spacing: -0.05em; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Before / after frames */
.swap { margin: 0; }
.swap-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.panel { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.panel-label { align-self: flex-start; font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; padding: 7px 10px; border-radius: 99px; }
.old-label { background: var(--old); color: var(--old-ink); }
.new-label { background: var(--accent-soft); color: var(--accent); }
.frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 40px -20px rgb(0 0 0 / 0.35); }
.frame-bar { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: var(--band); border-bottom: 1px solid var(--line); font: 11px/1 var(--mono); color: var(--muted); }
.frame-bar i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.frame-bar span { margin-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frame-old { background: #d9d4c5; transform: rotate(-1.5deg); }
.old-body { padding: 14px; font-family: "Times New Roman", serif; color: #5d5747; text-align: center; min-height: 230px; }
.old-banner { background: #2a3cb3; color: #ffef5c; font: 700 15px/1.3 "Comic Sans MS", "Times New Roman", serif; padding: 6px; }
.old-img { margin: 12px auto; height: 56px; border: 2px dashed #8d8673; display: grid; place-items: center; font-size: 13px; }
.old-text { margin: 0 0 4px; font-size: 15px; text-decoration: underline; color: #3b30a8; }
.old-small { margin: 0 0 4px; font-size: 13px; }
.old-foot { margin: 10px 0 0; font-size: 11px; }
.frame-new { background: var(--surface); }
.new-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; min-height: 230px; }
.new-pill { align-self: flex-start; font: 600 11px/1 var(--mono); padding: 6px 9px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }
.new-h { font-size: 21px; line-height: 1.15; font-weight: 700; letter-spacing: -0.03em; color: var(--text); }
.new-p { font-size: 14px; line-height: 1.4; color: var(--muted); }
.new-btns { display: flex; gap: 6px; margin-top: auto; }
.new-btns b { font-size: 13px; padding: 9px 12px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); }
.new-btns b.alt { background: transparent; color: var(--text); border: 1px solid var(--line); }
.swap figcaption { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Sections */
.section { padding: 80px 0; }
.band { background: var(--band); }
.fix-grid { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fix-grid li { background: var(--bg); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.fix-grid b { font-size: 18px; }
.fix-grid span { color: var(--muted); font-size: 16px; }

.gets { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gets li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.gets b { font-size: 21px; line-height: 1.2; letter-spacing: -0.02em; }
.gets li > span:last-child { color: var(--muted); font-size: 16px; }
.gets-tag { align-self: flex-start; font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; padding: 7px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }

.offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.offer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.offer p:not(.tag) { color: var(--muted); flex: 1; }
.tag { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 14px; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 3px solid var(--text); }
.steps li::before { content: "0" counter(s); font: 600 14px/1 var(--mono); color: var(--accent); }
.steps b { font-size: 19px; }
.steps span { color: var(--muted); font-size: 16px; }

.sample-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.note { font-size: 14px; color: var(--muted); border-left: 3px solid var(--line); padding-left: 12px; }
.sample-card { display: block; text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px -20px rgb(0 0 0 / 0.3); transition: transform 0.2s; }
.sample-card:hover { transform: translateY(-4px); }
.sample-card img { display: block; width: 100%; height: auto; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.contact-grid > div p { color: var(--muted); }
.form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form select, .form textarea { font: 16px/1.4 var(--font); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px; min-height: 48px; width: 100%; }
.form textarea { resize: vertical; }
.form .btn { justify-self: start; min-width: 140px; }
.form .btn[disabled] { opacity: 0.6; cursor: wait; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.6em; font-weight: 600; }
.form-status.bad { color: #b3261e; }
@media (prefers-color-scheme: dark) { .form-status.bad { color: #ffb4ab; } }

#contact { padding-bottom: 32px; }
.explain { padding: 0 0 40px; }
.explain summary { cursor: pointer; font-weight: 650; min-height: 44px; display: flex; align-items: center; }
.explain p { color: var(--muted); max-width: 46em; }

.foot { border-top: 1px solid var(--line); padding: 28px 0; font-size: 15px; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }

/* Simple pages (thanks, oops, 404) */
.simple { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 16px; }
.simple p { color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .sample-grid, .contact-grid, .offer-grid { grid-template-columns: 1fr; gap: 40px; }
  .gets { grid-template-columns: 1fr; gap: 14px; }
  .fix-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 44px 0 56px; }
  .section { padding: 56px 0; }
  .fix-grid, .steps { grid-template-columns: 1fr; }
  .swap-pair { gap: 10px; }
  .old-body, .new-body { min-height: 190px; padding: 12px 10px; }
  .new-h { font-size: 17px; }
  .old-banner { font-size: 12px; }
  .frame-bar span { display: none; }
  .offer, .form { padding: 22px; }
  .form .btn { justify-self: stretch; }
}
