/* BookNest — v1. Clean, editorial, human. */
/* Brand: 深蜜金（honey amber #a25a12）· 苹果白（#ffffff）· 深炭（#131316）
   Design language follows the Veliy/GaoThink site family (editorial serif + clean sans). */

:root {
  --accent: #a25a12;
  --accent-hover: #8a4c10;
  --bg: #ffffff;
  --surface: #FFFFFF;
  --text: #1a1a1a;
  --text-secondary: #5a5550;
  --text-tertiary: #8e8880;
  --border: #e9e3da;
  --border-dark: #d6cec2;
  --accent-soft: #faf0e0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #e8a23b;
    --accent-hover: #f0b04d;
    --bg: #131316;
    --surface: #1a1a1d;
    --text: #e8e8ea;
    --text-secondary: #b8b4ae;
    --text-tertiary: #8e8e91;
    --border: #2b2b2e;
    --border-dark: #3a3a3e;
    --accent-soft: #3a2e1a;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, serif;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav__brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}
.nav__links {
  display: flex;
  gap: 32px;
}
.nav__links a {
  color: var(--text-secondary);
  font-size: 14px;
}
.nav__links a:hover { color: var(--text); }
.nav__cta {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

/* Mobile: compact nav showing current section, tap to expand */
.nav__current {
  display: none;
}
@media (max-width: 640px) {
  .nav { position: sticky; top: 0; }
  .nav__brand, .nav__cta { display: none; }
  .nav__inner { height: 44px; }
  .nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
    gap: 12px;
    z-index: 100;
  }
  .nav__links.is-open { display: flex; }
  .nav__current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
    padding: 0;
  }
  .nav__current::after {
    content: '▾';
    font-size: 10px;
    color: var(--text-tertiary);
    transition: transform 0.2s ease;
  }
  .nav__current.is-open::after {
    transform: rotate(180deg);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--accent);
  color: white;
}
.btn--primary:hover { background: var(--accent-hover); color: white; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-dark);
}
.btn--ghost:hover { border-color: var(--text-tertiary); }

/* Hero */
.hero {
  padding: 80px 0 60px;
}
.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__eyebrow {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero__title {
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}
.hero__sub {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.hero__cta {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero__note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero__visual {
  display: flex;
  justify-content: center;
}
.hero__phone {
  width: 280px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  border: 1px solid var(--border-dark);
}
.hero__phone img {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .hero__container { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .hero__title { font-size: 36px; }
}

/* Sections */
.section {
  padding: 80px 0;
}
.section--alt {
  background: var(--surface);
}
.section-head {
  margin-bottom: 48px;
}
.section-head__eyebrow {
  font-size: 12px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-head__title {
  font-size: 32px;
  line-height: 1.2;
}
.section-head__title em {
  font-style: italic;
  color: var(--accent);
}
.section-head__sub {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
}
.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head--center .section-head__sub {
  margin-left: auto;
  margin-right: auto;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.card__num {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 12px;
}
.card__title {
  font-size: 20px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.card__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.card__list {
  list-style: none;
  margin-top: 16px;
}
.card__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* Privacy statement */
.statement {
  max-width: 600px;
}
.statement__title {
  font-size: 32px;
}
.statement__title em {
  font-style: italic;
  color: var(--accent);
}
.statement__sub {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-secondary);
}
.statement__list {
  list-style: none;
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 720px) {
  .statement__list { grid-template-columns: 1fr; }
}
.statement__list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}
.statement__list svg {
  flex-shrink: 0;
  color: var(--accent);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
}
.shot {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.shot--center .shot__frame {
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
}
.shot__frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  height: 520px;
  background: #F5F5F5;
  flex-shrink: 0;
}
@media (max-width: 860px) {
  .shot__frame { height: 480px; }
}
.shot__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.shot__caption {
  margin-top: auto;
  padding-top: 20px;
  font-size: 13px;
  color: var(--text-tertiary);
}
.shot__caption strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 4px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
.price-card--featured {
  border-color: var(--accent);
}
.price-card__plan {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}
.price-card__price {
  font-family: Georgia, serif;
  font-size: 36px;
  color: var(--text);
  margin: 8px 0 4px;
}
.price-card__price small {
  font-size: 14px;
  color: var(--text-tertiary);
  font-family: inherit;
}
.price-card__features {
  list-style: none;
  margin-top: 24px;
}
.price-card__features li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.price-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
}
.price-card__annual {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 16px;
}

/* CTA */
.cta-band {
  text-align: center;
}
.cta-band__title {
  font-size: 36px;
  line-height: 1.2;
}
.cta-band__title em {
  font-style: italic;
  color: var(--accent);
}
.cta-band__sub {
  margin: 16px auto 32px;
  max-width: 400px;
  font-size: 16px;
  color: var(--text-secondary);
}
.cta-band__note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-tertiary);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  margin-top: 80px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 720px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, serif;
  font-size: 20px;
  color: var(--text);
}
.footer__brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}
.footer__tagline {
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-tertiary);
  max-width: 280px;
}
.footer__col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 12px;
  font-family: inherit;
  font-weight: 500;
}
.footer__col ul {
  list-style: none;
}
.footer__col li {
  margin-bottom: 8px;
}
.footer__col a {
  color: var(--text-secondary);
  font-size: 14px;
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-tertiary);
}
@media (max-width: 560px) {
  .footer__bottom { flex-direction: column; gap: 8px; }
}

/* Legal pages */
.legal {
  padding: 48px 0 80px;
}
.legal__head {
  max-width: 600px;
  margin-bottom: 48px;
}
.legal__eyebrow {
  font-size: 12px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.legal__title {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.legal__meta {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-tertiary);
}
.legal__layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
}
.legal__toc {
  position: sticky;
  top: 80px;
  align-self: start;
}
.legal__toc h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  font-family: inherit;
  font-weight: 500;
}
.legal__toc ul {
  list-style: none;
}
.legal__toc li {
  margin-bottom: 8px;
}
.legal__toc a {
  color: var(--text-secondary);
  font-size: 14px;
}
.legal__toc a:hover,
.legal__toc a.is-active {
  color: var(--accent);
}
@media (max-width: 860px) {
  .legal__layout { grid-template-columns: 1fr; gap: 32px; }
  .legal__toc {
    position: static;
    top: auto;
    padding: 16px 20px;
    margin-bottom: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
  }
  .legal__toc a.is-active {
    color: var(--accent);
  }
}
.legal__content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.legal__content h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 16px;
}
.legal__content h3 {
  font-size: 16px;
  margin-top: 28px;
  margin-bottom: 10px;
  font-family: inherit;
  font-weight: 600;
  color: var(--text);
}
.legal__content p {
  margin-bottom: 16px;
}
.legal__content ul {
  margin-bottom: 16px;
  padding-left: 20px;
}
.legal__content li {
  margin-bottom: 6px;
}
.legal__content a {
  color: var(--accent);
}
.legal__content strong {
  color: var(--text);
}

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}
.callout__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 10px;
}
.callout p {
  margin-bottom: 0;
  font-size: 14px;
}

.contact-block {
  margin-top: 16px;
}
.contact-block p {
  margin-bottom: 8px;
}

/* CTA tight section */
.section--tight {
  padding: 60px 0;
}

/* Footer brand column */
.footer__brand-col {
  /* inherits from grid */
}
