/* Cyber Smart Press — shared styles */
:root {
  --bg: #fcf8f6;
  --blush: #f7e9e5;
  --surface: #ffffff;
  --border: #ecdfdb;
  --border-strong: #d9c9c4;
  --ink: #2a2024;
  --ink-2: #5f5357;
  --ink-3: #857a7d;
  --accent: #0f6b6b;
  --accent-hover: #0a5050;
  --accent-soft: #e3f1f0;
  --footer: #2a2024;
  --footer-ink: #f3ebe8;
  --footer-muted: #a89c9a;
  --display: "Zilla Slab", Rockwell, Georgia, serif;
  --body: "Barlow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 6vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.display { font-family: var(--display); font-weight: 700; }
.muted { color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 6px; font-family: inherit; font-size: 17px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border: 1.5px solid var(--border-strong); }
.btn-secondary:hover { color: var(--ink); border-color: var(--ink-3); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blush); color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; font-weight: 700; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 48px; height: auto; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 16px; font-weight: 600; flex-wrap: wrap; }
.site-nav a { color: var(--ink-2); text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border: 1.5px solid var(--accent); border-radius: 6px; color: var(--accent); font-weight: 700; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { background: var(--accent); color: #fff; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--blush) 0%, var(--bg) 100%); padding-block: clamp(64px, 9vw, 110px) clamp(56px, 8vw, 100px); }
.hero .wrap { display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 6.4vw, 92px); max-width: 1000px; }
.hero p { max-width: 720px; font-size: clamp(19px, 1.6vw, 22px); color: var(--ink-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Featured book */
.featured { padding-bottom: clamp(64px, 8vw, 110px); }
.featured-card { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; align-items: center; padding: clamp(28px, 4.5vw, 64px); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 20px 50px rgba(90, 40, 40, 0.08); }
.featured-cover { display: flex; justify-content: center; }
.featured-cover img { width: 300px; border-radius: 3px 6px 6px 3px; box-shadow: 0 30px 60px rgba(42, 32, 36, 0.35); transform: rotate(-2deg); }
.featured-body { display: flex; flex-direction: column; gap: 20px; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--accent-soft); border-radius: 999px; color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.featured-body h2 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 5vw, 72px); }
.featured-body .subtitle { font-size: 23px; font-weight: 600; }
.featured-body .desc { max-width: 640px; font-size: 19px; color: var(--ink-2); }
.buy { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.buy-label { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-3); }
.isbn { font-size: 15px; color: var(--ink-3); }

/* About */
.about { background: var(--blush); padding-block: clamp(64px, 8vw, 110px); }
.about .wrap { display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 840px; }
.section-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 4.2vw, 60px); }
.section-head p { font-size: 20px; color: var(--ink-2); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.value { display: flex; flex-direction: column; gap: 14px; padding: 36px 32px; background: var(--surface); border-radius: 12px; }
.value h3 { font-family: var(--body); font-size: 24px; font-weight: 700; }
.value p { color: var(--ink-2); }
.icon-tile { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); border-radius: 12px; color: var(--accent); }

/* CTA band */
.cta-band { background: var(--accent); color: #fff; padding-block: 80px; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 3.8vw, 52px); }
.cta-band p { margin-top: 10px; font-size: 19px; color: #e6f2f1; max-width: 760px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; padding-bottom: clamp(64px, 8vw, 110px); }
.form-card { display: flex; flex-direction: column; gap: 22px; padding: clamp(28px, 3.5vw, 48px); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 20px 50px rgba(90, 40, 40, 0.06); }
.form-card h2 { font-family: var(--display); font-weight: 700; font-size: 30px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea { min-height: 52px; padding: 0 16px; border: 1.5px solid var(--border-strong); border-radius: 6px; background: var(--bg); font-family: inherit; font-size: 17px; color: var(--ink); }
.field textarea { min-height: 180px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-card .btn { align-self: flex-start; }
.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-card { display: flex; flex-direction: column; gap: 10px; padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.contact-card.soft { background: var(--blush); border-color: var(--blush); }
.contact-card.soft .icon-tile { background: #fff; }
.contact-card h3 { font-family: var(--body); font-size: 22px; font-weight: 700; }
.contact-card p { font-size: 17px; color: var(--ink-2); }
.contact-card a { font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--footer); color: var(--footer-ink); padding-block: 64px 48px; }
.footer-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.footer-brand .brand { color: var(--footer-ink); }
.footer-brand .brand img { width: 40px; }
.footer-brand .brand span { font-size: 28px; }
.footer-brand p { font-size: 16px; color: #c4b8b6; }
.footer-cols { display: flex; gap: 72px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.footer-col .head { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--footer-muted); }
.footer-col a { color: var(--footer-ink); text-decoration: none; }
.footer-col a:hover { text-decoration: underline; color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid #45383c; font-size: 14px; color: var(--footer-muted); }

/* Responsive */
@media (max-width: 1024px) {
  .featured-card { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .featured-cover img { width: 240px; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .brand span { font-size: 24px; }
  .brand img { width: 40px; }
  .site-nav { gap: 18px; font-size: 15px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .btn { width: 100%; justify-content: center; }
  .cta-band { padding-block: 56px; }
}
