:root {
  --ink: #1d2b36;
  --ink-soft: #52616b;
  --canvas: #f6f3ed;
  --paper: #fffdf9;
  --line: #e6ded2;
  --teal: #0d5b5d;
  --teal-dark: #073f42;
  --coral: #ca5c45;
  --mist: #dce9e5;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow: 0 18px 46px rgba(23, 42, 48, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.site-shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(246, 243, 237, 0.94); border-bottom: 1px solid rgba(29, 43, 54, 0.08); backdrop-filter: blur(16px); }
.site-header__inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.site-brand__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: white; font-family: Georgia, serif; font-size: 23px; font-weight: 700; }
.site-brand__text { display: grid; line-height: 1.08; }
.site-brand__text strong { font-family: Georgia, serif; font-size: 18px; letter-spacing: -0.02em; }
.site-brand__text small { color: var(--ink-soft); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.site-nav > ul { display: flex; padding: 0; margin: 0; list-style: none; gap: 22px; }
.site-nav a:hover { color: var(--teal); }

.hero { padding: 86px 0 68px; background: radial-gradient(circle at 88% 8%, rgba(220, 233, 229, 0.88), transparent 28rem), var(--canvas); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.7fr); align-items: end; gap: 56px; }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.hero h1 { max-width: 800px; margin: 0; font-family: Georgia, serif; font-size: clamp(42px, 6.4vw, 80px); font-weight: 500; line-height: 0.98; letter-spacing: -0.055em; }
.hero__description { max-width: 650px; margin: 28px 0 32px; color: var(--ink-soft); font-size: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 800; transition: transform 160ms cubic-bezier(.23,1,.32,1), background 160ms cubic-bezier(.23,1,.32,1); }
.button:active { transform: scale(0.97); }
.button--primary { background: var(--teal); color: #fff; }
.button--primary:hover { background: var(--teal-dark); }
.button--wide { width: 100%; margin-top: 14px; }
.hero__note { max-width: 300px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: 0 13px 35px rgba(34, 48, 50, 0.06); }
.hero__note-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 22px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 800; }
.hero__note p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.offers-section { padding: 64px 0 96px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-heading h1, .section-heading h2 { margin: 0; font-family: Georgia, serif; font-size: clamp(34px, 4vw, 52px); font-weight: 500; line-height: 1; letter-spacing: -0.045em; }
.feed-status { min-height: 20px; margin: 0; color: var(--teal); font-size: 13px; font-weight: 700; }
.offers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.offer-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: 0 5px 18px rgba(35, 51, 54, 0.03); transition: transform 180ms cubic-bezier(.23,1,.32,1), box-shadow 180ms cubic-bezier(.23,1,.32,1); }
.offer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.offer-card__media { display: block; aspect-ratio: 1.16 / 0.88; overflow: hidden; background: #e8e5dd; }
.offer-card__media img, .offer-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.offer-media--empty { display: grid; width: 100%; height: 100%; min-height: 220px; place-items: center; background: linear-gradient(145deg, #dce9e5, #f4efe7); color: var(--teal-dark); font-family: Georgia, serif; font-size: 24px; }
.offer-card__body { padding: 22px; }
.offer-card__meta { min-height: 23px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; color: var(--ink-soft); font-size: 12px; }
.offer-badge { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: #edf3f0; color: var(--teal-dark); font-size: 11px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.offer-time { white-space: nowrap; }
.offer-type { margin: 16px 0 7px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.offer-card h2 { min-height: 57px; margin: 0; font-size: 18px; line-height: 1.35; letter-spacing: -0.02em; }
.offer-card h2 a:hover { color: var(--teal); }
.price-stack { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 10px; margin-top: 17px; }
.price-from { color: #8f877e; font-size: 13px; text-decoration: line-through; }
.price-current { color: var(--teal-dark); font-size: 25px; letter-spacing: -0.04em; }
.installments { width: 100%; color: var(--ink-soft); font-size: 13px; }
.offer-description { min-height: 52px; margin-top: 16px; color: var(--ink-soft); font-size: 14px; }
.offer-description p { margin: 0; }
.offer-card__action { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; color: var(--teal); font-size: 14px; font-weight: 800; }
.offer-card__action span { transition: transform 150ms ease; }
.offer-card__action:hover span { transform: translate(3px, -3px); }
.offer-ad-text { color: var(--ink); font-size: 15px; line-height: 1.62; }
.offer-ad-text p { margin: 0 0 15px; white-space: pre-line; }
.offer-ad-text p:last-child { margin-bottom: 0; }
.offer-ad-text a { color: var(--teal); font-weight: 800; overflow-wrap: anywhere; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.offer-ad-text--detail { margin-top: 18px; font-size: 17px; }
.empty-feed { grid-column: 1 / -1; margin: 0; padding: 48px; border: 1px dashed var(--line); border-radius: var(--radius-md); color: var(--ink-soft); text-align: center; }
.archive-page { min-height: 70vh; }

.offer-page { padding: 52px 0 92px; }
.back-link { display: inline-flex; margin-bottom: 28px; color: var(--teal); font-size: 14px; font-weight: 800; }
.offer-detail { max-width: 1060px; }
.offer-detail__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.offer-detail__media { min-height: 480px; background: #e8e5dd; }
.offer-detail__content { padding: clamp(30px, 5vw, 58px); }
.offer-detail__content h1 { margin: 18px 0 0; font-family: Georgia, serif; font-size: clamp(33px, 4vw, 52px); font-weight: 500; line-height: 1.02; letter-spacing: -0.05em; }
.offer-detail__description { margin-top: 26px; color: var(--ink-soft); }
.offer-detail__description p:first-child { margin-top: 0; }
.site-footer { border-top: 1px solid var(--line); background: #ede8df; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 24px; padding: 26px 0; color: var(--ink-soft); font-size: 13px; }
.site-footer p { margin: 0; }
.empty-page { padding-top: 42px; padding-bottom: 42px; }
.empty-page h1 { max-width: 680px; margin: 0; font-family: Georgia, serif; font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -0.05em; }
.empty-page > p:not(.eyebrow) { margin: 20px 0 30px; color: var(--ink-soft); }

@media (max-width: 860px) {
  .hero { padding: 62px 0 48px; }
  .hero__grid, .offer-detail__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__note { max-width: none; }
  .offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-detail__media { min-height: 340px; }
}

@media (max-width: 600px) {
  .site-shell { width: min(100% - 28px, 1160px); }
  .site-header__inner { min-height: 68px; }
  .site-brand__text small, .site-nav { display: none; }
  .hero h1 { font-size: clamp(42px, 13vw, 60px); }
  .hero__description { font-size: 16px; }
  .section-heading { align-items: start; flex-direction: column; }
  .offers-grid { grid-template-columns: 1fr; gap: 16px; }
  .offer-card__media { aspect-ratio: 1.1 / 0.8; }
  .offer-card h2 { min-height: auto; }
  .offer-description { min-height: auto; }
  .offer-detail__media { min-height: 300px; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
