/* ============================================================
   EssaysOwl.com — Design System
   Palette: gradient #2d5db9 -> #1b3a7a | circle #0073cf
   highlight #fbd786 | card #ffffff | ink #4a4a4a
   ============================================================ */
:root {
  --blue-900: #1b3a7a;
  --blue-800: #20458c;
  --blue-600: #2d5db9;
  --blue-bright: #0a84e8;
  --owl-blue: #0073cf;
  --gold: #fbd786;
  --gold-deep: #f5c542;
  --beak: #f5a623;
  --ink: #4a4a4a;
  --ink-deep: #333333;
  --muted: #8a93a6;
  --card: #ffffff;
  --bg-soft: #f5f7fb;
  --border: rgba(45, 93, 185, 0.12);
  --shadow-lg: 0 24px 60px -18px rgba(15, 38, 85, 0.35);
  --shadow-card: 0 10px 30px -10px rgba(15, 38, 85, 0.18);
  --radius: 18px;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-soft);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(1140px, 92%); margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  padding: .85rem 1.7rem; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--blue-900); box-shadow: 0 10px 26px -8px rgba(251, 215, 134, .65); }
.btn-gold:hover { background: #fce3a8; }
.btn-blue { background: var(--owl-blue); color: #fff; box-shadow: 0 10px 26px -10px rgba(0, 115, 207, .6); }
.btn-blue:hover { background: #0a84e8; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-lg { font-size: 1.05rem; padding: 1rem 2.2rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(27, 58, 122, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-weight: 700; font-size: 1.25rem; letter-spacing: .01em; }
.brand .brand-dot { width: 34px; height: 34px; border-radius: 50%; }
.brand .brand-tld { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a { color: rgba(255, 255, 255, .85); font-size: .92rem; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem;
    position: absolute; top: 74px; left: 0; right: 0;
    background: var(--blue-900); padding: 1.4rem 4%;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav.open .nav-cta { display: flex; margin: 0 4% 1.4rem; position: absolute; top: calc(74px + 100%); left: 0; }
}

/* ---------- Hero (image design) ---------- */
.hero {
  background: linear-gradient(180deg, var(--blue-600) 0%, var(--blue-900) 100%);
  padding: 4.5rem 0 5.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; pointer-events: none;
}
.hero::before { width: 480px; height: 480px; background: #0a84e8; top: -180px; left: -120px; }
.hero::after  { width: 420px; height: 420px; background: #0073cf; bottom: -160px; right: -100px; }
.hero-inner { position: relative; z-index: 1; }
.hero-kicker {
  color: #dfe6f5; font-size: .82rem; font-weight: 600;
  letter-spacing: .38em; text-transform: uppercase; margin-bottom: 1.2rem;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: #fff; line-height: 1.12; margin-bottom: 1rem;
  text-shadow: 0 0 34px rgba(251, 215, 134, .55), 0 0 90px rgba(251, 215, 134, .30);
}
.hero-title .tld { color: var(--gold); }
.hero-sub { color: rgba(255, 255, 255, .82); max-width: 640px; margin: 0 auto 2.4rem; font-size: 1.06rem; }

/* Center white logo card */
.hero-card {
  width: min(360px, 100%); margin: 0 auto;
  background: var(--card); border-radius: 22px;
  padding: 2.4rem 2rem 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.fav-pill {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 999px; padding: .28rem .7rem;
  font-size: .8rem; font-weight: 700; color: var(--ink-deep);
}
.fav-pill svg { width: 14px; height: 14px; fill: #e0245e; }
.hero-card .owl-icon { width: 108px; height: 108px; margin: 0 auto 1rem; border-radius: 50%; box-shadow: 0 16px 34px -12px rgba(0, 115, 207, .55); }
.hero-card .card-wordmark { font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.hero-card .card-wordmark .w-owl { color: var(--owl-blue); }
.hero-card .card-tag { color: var(--muted); font-size: .88rem; margin-top: .3rem; }
.hero-card .card-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid rgba(45, 93, 185, .08); }
.see-live {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--blue-600); font-weight: 700; font-size: .9rem;
}
.see-live svg { width: 17px; height: 17px; }
.see-live:hover { color: var(--owl-blue); }
.dots { display: inline-flex; gap: 7px; }
.dots button { width: 9px; height: 9px; border-radius: 999px; border: none; cursor: pointer; padding: 0; background: #d5dbe7; transition: .2s; }
.dots button.active { background: var(--owl-blue); width: 22px; }
.hero-trust { margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; justify-content: center; color: rgba(255, 255, 255, .85); font-size: .9rem; font-weight: 500; }
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust svg { width: 16px; height: 16px; fill: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-kicker { color: var(--owl-blue); font-size: .8rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; margin-bottom: .7rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--blue-900); line-height: 1.2; margin-bottom: .8rem; }
.section-sub { color: var(--muted); font-size: 1.02rem; }

/* Stats */
.stats { background: var(--blue-900); color: #fff; padding: 2.6rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-num { font-size: 2.1rem; font-weight: 800; color: var(--gold); }
.stat-label { font-size: .9rem; color: rgba(255, 255, 255, .75); margin-top: .2rem; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* Cards grid (services / features) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  box-shadow: 0 4px 18px -8px rgba(15, 38, 85, .10);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #0a84e8, var(--owl-blue));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem; margin-bottom: 1rem;
}
.card h3 { color: var(--blue-900); font-size: 1.12rem; margin-bottom: .45rem; }
.card p { color: var(--muted); font-size: .93rem; }

/* Steps */
.step-num {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--owl-blue));
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 1rem;
  box-shadow: 0 10px 24px -8px rgba(0, 115, 207, .5);
}

/* Writers */
.writer-card { text-align: center; }
.writer-avatar {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--blue-600), #0a84e8);
  color: #fff; font-weight: 800; font-size: 1.6rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -10px rgba(45, 93, 185, .5);
}
.writer-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.writer-name { color: var(--blue-900); font-weight: 700; }
.writer-meta { color: var(--muted); font-size: .88rem; margin: .25rem 0 .6rem; }
.stars { color: var(--gold-deep); letter-spacing: .12em; font-size: .95rem; }
.badge-verified {
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(0, 115, 207, .08); color: var(--owl-blue);
  font-size: .74rem; font-weight: 700; border-radius: 999px; padding: .22rem .7rem;
}

/* Pricing */
.pricing-hero {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  border-radius: 26px; padding: 3.4rem 2.4rem; color: #fff;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center;
  box-shadow: var(--shadow-lg);
}
.pricing-hero h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: .8rem; }
.pricing-hero p { color: rgba(255, 255, 255, .85); }
.price-burst {
  display: inline-flex; align-items: baseline; gap: .5rem;
  background: linear-gradient(135deg, #ff6b00, #e8002a);
  color: #fff; border-radius: 999px; padding: .7rem 1.5rem;
  box-shadow: 0 0 30px rgba(245, 197, 66, .45);
  margin: 1.2rem 0;
}
.price-burst .from { font-size: .85rem; font-weight: 600; opacity: .9; }
.price-burst .amt { font-size: 1.7rem; font-weight: 800; }
.calc-mini { background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; padding: 1.6rem; }
.calc-mini .row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.calc-mini label { font-size: .9rem; color: rgba(255, 255, 255, .85); }
.calc-mini select, .calc-mini input[type=number] {
  font-family: var(--font-body); padding: .5rem .8rem; border-radius: 10px;
  border: none; font-size: .92rem; width: 150px;
}
.calc-total { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 1rem; display: flex; justify-content: space-between; font-weight: 800; font-size: 1.15rem; }
.calc-total .amt { color: var(--gold); }
@media (max-width: 860px) { .pricing-hero { grid-template-columns: 1fr; } }

/* Testimonials */
.quote-card { position: relative; }
.quote-mark { font-family: var(--font-display); font-size: 3.2rem; color: rgba(0, 115, 207, .18); position: absolute; top: .4rem; left: 1.4rem; line-height: 1; }
.quote-card p { font-size: .95rem; color: var(--ink-deep); }
.quote-who { display: flex; align-items: center; gap: .8rem; margin-top: 1.1rem; }
.quote-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), #0a84e8);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem;
}
.quote-who .who-name { font-weight: 700; color: var(--blue-900); font-size: .92rem; }
.quote-who .who-meta { color: var(--muted); font-size: .8rem; }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; margin-bottom: .8rem; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; color: var(--blue-900);
  font-size: 1rem; text-align: left; padding: 1.15rem 1.4rem;
}
.faq-q .chev { transition: transform .2s; color: var(--owl-blue); flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 1.4rem 1.2rem; color: var(--muted); font-size: .95rem; }
.faq-item.open .faq-a { max-height: 400px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  border-radius: 26px; text-align: center; color: #fff;
  padding: 3.6rem 2rem; box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .8rem; }
.cta-band p { color: rgba(255, 255, 255, .85); margin-bottom: 1.8rem; }

/* Footer */
.footer { background: #14305f; color: rgba(255, 255, 255, .78); padding: 3.6rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.2rem; margin-bottom: 2.6rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer a { display: block; font-size: .9rem; padding: .22rem 0; transition: color .15s; }
.footer a:hover { color: var(--gold); }
.footer .brand { margin-bottom: .9rem; }
.footer p { font-size: .9rem; max-width: 300px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; font-size: .82rem; color: rgba(255, 255, 255, .55); }

/* ---------- Order page ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--blue-600), var(--blue-900));
  color: #fff; text-align: center; padding: 3.2rem 0;
}
.page-hero h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.7rem); }
.page-hero p { color: rgba(255, 255, 255, .82); margin-top: .5rem; }
.order-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: start; margin-top: -3.4rem; position: relative; z-index: 2; padding-bottom: 4rem; }
@media (max-width: 920px) { .order-wrap { grid-template-columns: 1fr; } }
.order-form { background: #fff; border-radius: 22px; box-shadow: var(--shadow-card); padding: 2.2rem; border: 1px solid var(--border); }
.order-form h2 { color: var(--blue-900); font-size: 1.3rem; margin-bottom: 1.4rem; }
.f-group { margin-bottom: 1.25rem; }
.f-group label { display: block; font-weight: 700; color: var(--blue-900); font-size: .9rem; margin-bottom: .45rem; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .f-row { grid-template-columns: 1fr; } }
.f-group select, .f-group input, .f-group textarea {
  width: 100%; font-family: var(--font-body); font-size: .95rem; color: var(--ink-deep);
  padding: .8rem 1rem; border: 1px solid #d5dbe7; border-radius: 12px; background: #fbfcff;
  transition: border-color .15s, box-shadow .15s;
}
.f-group select:focus, .f-group input:focus, .f-group textarea:focus {
  outline: none; border-color: var(--owl-blue); box-shadow: 0 0 0 3px rgba(0, 115, 207, .12);
}
.f-group textarea { min-height: 120px; resize: vertical; }
.f-hint { font-size: .78rem; color: var(--muted); margin-top: .35rem; }
.summary-card {
  background: #fff; border-radius: 22px; border: 1px solid var(--border);
  box-shadow: var(--shadow-card); padding: 1.9rem; position: sticky; top: 96px;
}
.summary-card h3 { color: var(--blue-900); margin-bottom: 1.1rem; font-size: 1.1rem; }
.sum-row { display: flex; justify-content: space-between; font-size: .92rem; padding: .45rem 0; color: var(--ink); }
.sum-row .v { font-weight: 700; color: var(--blue-900); }
.sum-total { border-top: 1px solid var(--border); margin-top: .8rem; padding-top: 1rem; display: flex; justify-content: space-between; align-items: baseline; }
.sum-total .label { font-weight: 700; color: var(--blue-900); }
.sum-total .amt { font-size: 1.9rem; font-weight: 800; color: var(--owl-blue); }
.success-box { display: none; text-align: center; padding: 2.5rem 1rem; }
.success-box .big { font-size: 3rem; margin-bottom: 1rem; }

/* Policy pages */
.policy { max-width: 820px; margin: 0 auto; padding: 3.5rem 0 5rem; }
.policy h1 { font-family: var(--font-display); color: var(--blue-900); font-size: 2.1rem; margin-bottom: .6rem; }
.policy .updated { color: var(--muted); font-size: .88rem; margin-bottom: 2.2rem; }
.policy h2 { color: var(--blue-900); font-size: 1.2rem; margin: 1.8rem 0 .6rem; }
.policy p, .policy li { color: var(--ink); font-size: .97rem; margin-bottom: .7rem; }
.policy ul { list-style: disc; padding-left: 1.4rem; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   v5 additions — real pages, active nav, auth, pricing tables
   ============================================================ */

/* Nav: active state + login pill */
.nav-links { gap: 1.5rem; }
.nav-links a.active { color: var(--gold); }
.nav-links a { font-size: .9rem; }
.nav-login {
  display: inline-flex; align-items: center; gap: .5rem;
  color: #fff; font-size: .88rem; font-weight: 700;
  padding: .45rem 1.05rem .45rem 1.15rem; border: 2px solid rgba(255, 255, 255, .38);
  border-radius: 999px; transition: border-color .15s, color .15s, background .15s; white-space: nowrap;
}
.nav-login:hover { border-color: var(--gold); color: var(--gold); }
.nav-login .login-ava {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: #f5e6ca; display: inline-flex; align-items: center; justify-content: center;
}
.nav-login .login-ava svg { width: 14px; height: 14px; fill: #2e4a7a; }
.nav-login.is-signed-in { border-color: var(--gold); }
.nav-cta { gap: .8rem; }
@media (max-width: 1120px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-inner { flex-wrap: wrap; height: auto; padding: .9rem 0; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: .95rem;
    position: static; order: 2; width: 100%;
    padding: 1.1rem 0 .5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav.open .nav-cta { display: flex; position: static; order: 3; width: 100%; margin: 1.1rem 0 .3rem; gap: .7rem; flex-wrap: wrap; }
}

/* Chips (subjects / specializations) */
.chips { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; max-width: 820px; margin: 0 auto; }
.chip {
  background: #fff; border: 1px solid var(--border); color: var(--blue-900);
  font-size: .85rem; font-weight: 500; padding: .45rem 1rem; border-radius: 999px;
  transition: border-color .15s, color .15s;
}
.chip:hover { border-color: var(--owl-blue); color: var(--owl-blue); }

/* Tick lists inside cards */
.tick-list { margin-top: .8rem; }
.tick-list li { position: relative; padding-left: 1.45rem; color: var(--muted); font-size: .9rem; margin-bottom: .38rem; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; color: var(--owl-blue); font-weight: 800; }

/* Pricing tables */
.ptable-wrap { overflow-x: auto; border-radius: 16px; box-shadow: 0 4px 18px -8px rgba(15, 38, 85, .10); }
table.ptable { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
.ptable th { background: var(--blue-900); color: #fff; text-align: left; padding: .95rem 1.2rem; font-size: .86rem; letter-spacing: .04em; }
.ptable td { padding: .85rem 1.2rem; border-bottom: 1px solid var(--border); color: var(--ink); font-size: .93rem; }
.ptable tr:last-child td { border-bottom: none; }
.ptable .price { font-weight: 800; color: var(--owl-blue); white-space: nowrap; }

/* Timeline (how it works) */
.timeline { position: relative; max-width: 780px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--blue-600), var(--owl-blue)); }
.t-step { position: relative; padding-left: 74px; margin-bottom: 2.4rem; }
.t-step:last-child { margin-bottom: 0; }
.t-num {
  position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--owl-blue));
  color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(0, 115, 207, .5);
}
.t-step h3 { color: var(--blue-900); font-size: 1.15rem; margin-bottom: .4rem; }
.t-step p { color: var(--muted); font-size: .95rem; }
.t-tip { margin-top: .7rem; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: .75rem 1rem; font-size: .87rem; color: var(--ink); }
.t-tip strong { color: var(--blue-900); }

/* Auth (login / sign up) */
.auth-wrap { max-width: 500px; margin: -2.8rem auto 0; position: relative; z-index: 2; padding-bottom: 4.5rem; }
.auth-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow-card); border: 1px solid var(--border); padding: 2.2rem; }
.auth-card .auth-title { font-family: var(--font-display); color: var(--blue-900); font-size: 1.35rem; margin-bottom: .4rem; text-align: center; }
.auth-card .auth-sub { color: var(--muted); font-size: .9rem; text-align: center; margin-bottom: 1.6rem; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; background: var(--bg-soft); border-radius: 999px; padding: 5px; margin-bottom: 1.6rem; }
.auth-tab {
  border: none; background: none; font-family: var(--font-body); font-weight: 700; font-size: .92rem;
  color: var(--muted); padding: .6rem; border-radius: 999px; cursor: pointer; transition: .15s;
}
.auth-tab.active { background: var(--blue-900); color: #fff; box-shadow: 0 6px 16px -6px rgba(15, 38, 85, .5); }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-err { display: none; background: #fdecec; color: #c0392b; border-radius: 10px; padding: .7rem 1rem; font-size: .87rem; margin-bottom: 1rem; }
.auth-err.show { display: block; }
.auth-success { display: none; background: #e8f6ee; color: #1e7d4f; border-radius: 10px; padding: .7rem 1rem; font-size: .87rem; margin-bottom: 1rem; }
.auth-success.show { display: block; }
.auth-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 1.3rem; }
.btn-block { width: 100%; }
.signed-in { text-align: center; }
.signed-in .avatar-lg {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--blue-600), #0a84e8);
  color: #fff; font-weight: 800; font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -10px rgba(45, 93, 185, .5);
}
.signed-in h2 { color: var(--blue-900); font-size: 1.35rem; margin-bottom: .3rem; }
.signed-in .who { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.empty-orders { border: 1px dashed #d5dbe7; border-radius: 14px; padding: 1.6rem 1.1rem; color: var(--muted); font-size: .9rem; margin: 0 0 1.5rem; }

/* Compact section variant */
.section-sm { padding: 3.2rem 0; }
.cat-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.cat-head h2 { font-family: var(--font-display); color: var(--blue-900); font-size: 1.55rem; margin-bottom: .4rem; }
.cat-head p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr !important; } }

/* ---------- Long-form SEO guide section (two-column) ---------- */
.seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.2rem 3.4rem; align-items: start; }
@media (max-width: 860px) { .seo-grid { grid-template-columns: 1fr; gap: 2.6rem; } }
.seo-block { margin-bottom: 2.8rem; }
.seo-block:last-child { margin-bottom: 0; }
.seo-head { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.seo-icon { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 4px 12px -4px rgba(108, 92, 231, .35); }
.seo-h { font-family: var(--font-body); color: #243b63; font-size: 1.18rem; font-weight: 700; line-height: 1.35; margin: 0; }
.seo-p { color: #6b7686; font-size: .95rem; margin-bottom: .8rem; }
.seo-p strong, .seo-list li strong, .seo-sub { color: #2f3542; }
.seo-list { padding-left: 1.15rem; margin: .4rem 0 1rem; }
.seo-list li { color: #6b7686; font-size: .93rem; margin-bottom: .75rem; line-height: 1.6; }
.seo-list li::marker { color: #a29bfe; }
.seo-sub { display: block; font-weight: 700; margin-bottom: .2rem; font-size: .97rem; }
.seo-tip { margin-top: 1rem; }
.seo-rule { position: relative; padding-right: 1.5rem; }
.seo-rule::after { content: ""; position: absolute; right: 0; top: 4px; bottom: 4px; width: 3px; border-radius: 3px; background: #d9ddf8; }
@media (max-width: 860px) { .seo-rule { padding-right: 0; } .seo-rule::after { display: none; } }
.seo-quotes { list-style: none; padding: 0; margin: 0; }
.seo-quotes li { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: .95rem 1.15rem; margin-bottom: .7rem; }
.seo-quotes .q-text { color: #3d4757; font-size: .92rem; margin: 0 0 .3rem; }
.seo-quotes .q-meta { color: var(--muted); font-size: .78rem; }
.seo-quotes .q-meta span { color: #6c5ce7; font-weight: 700; }
.seo-steps { list-style: none; padding: 0; counter-reset: qstep; margin: .4rem 0 1rem; }
.seo-steps li { counter-increment: qstep; position: relative; padding-left: 2.3rem; color: #6b7686; font-size: .93rem; margin-bottom: .75rem; line-height: 1.6; }
.seo-steps li::before { content: counter(qstep); position: absolute; left: 0; top: .05rem; width: 1.55rem; height: 1.55rem; border-radius: 50%; background: #eef1ff; color: #6c5ce7; font-weight: 800; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.seo-contact { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1.2rem 1.4rem; }
.seo-contact li { color: #3d4757; font-size: .93rem; padding: .3rem 0; }
.seo-contact li strong { color: #243b63; }
