:root {
  --bg: #173225;
  --bg-deep: #0f241a;
  --bg-soft: #223d2f;
  --paper: #f4ead5;
  --paper-strong: #fbf4e7;
  --ink: #163124;
  --ink-soft: rgba(22, 49, 36, 0.78);
  --gold: #cda45a;
  --gold-soft: #e3c488;
  --line: rgba(255, 245, 228, 0.12);
  --shadow: 0 28px 80px rgba(7, 16, 12, 0.28);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(229, 196, 138, 0.12), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(205, 164, 90, 0.12), transparent 26%),
    linear-gradient(180deg, #193627 0%, #11271d 100%);
  color: var(--paper-strong);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
}

.site-header,
.hero,
.story-band,
.feature-band,
.archive-band,
.cta-band,
.request-page,
.site-footer {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  margin-top: 18px;
  border: 1px solid rgba(255, 244, 224, 0.08);
  border-radius: 999px;
  background: rgba(18, 38, 28, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(5, 14, 10, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Cormorant Garamond", "Iowan Old Style", serif;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: rgba(248, 241, 228, 0.86);
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: rgba(244, 234, 213, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 42px;
  align-items: center;
  padding: 92px 0 72px;
  min-height: calc(100vh - 108px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", "Iowan Old Style", serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(4rem, 7vw, 6.3rem);
  line-height: 0.92;
}

.hero-text,
.story-grid p,
.feature-item p,
.archive-copy p,
.cta-copy {
  color: rgba(246, 238, 224, 0.82);
  line-height: 1.7;
  font-size: 1.03rem;
}

.hero-text {
  max-width: 34rem;
  margin: 24px 0 0;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #d4ac61 0%, #e6c687 100%);
  color: #143021;
  box-shadow: 0 16px 32px rgba(205, 164, 90, 0.28);
}

.button-secondary {
  border: 1px solid rgba(244, 234, 213, 0.24);
  color: var(--paper-strong);
  background: rgba(244, 234, 213, 0.04);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-notes li {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(244, 234, 213, 0.12);
  background: rgba(244, 234, 213, 0.04);
  color: rgba(249, 243, 231, 0.8);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.calendar-panel,
.hero-illustration-frame {
  box-shadow: var(--shadow);
}

.hero-illustration-frame {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin: 0;
  border-radius: 36px;
  overflow: hidden;
  background: rgba(244, 234, 213, 0.04);
  border: 1px solid rgba(255, 244, 223, 0.08);
}

.hero-illustration {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.calendar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(22, 49, 36, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.story-band,
.feature-band,
.archive-band,
.cta-band {
  position: relative;
  isolation: isolate;
  color: var(--ink);
}

.story-band::before,
.feature-band::before,
.archive-band::before,
.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  z-index: -1;
}

.story-band {
  padding: 92px 0 70px;
}

.story-band::before,
.feature-band::before {
  background:
    radial-gradient(circle at top right, rgba(205, 164, 90, 0.08), transparent 24%),
    linear-gradient(180deg, #f1eadc 0%, #f6f1e8 100%);
}

.section-heading {
  max-width: 720px;
}

.section-heading h2 {
  font-size: clamp(2.9rem, 5vw, 4.2rem);
  line-height: 0.98;
  color: var(--ink);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 32px;
}

.story-grid p,
.archive-copy p,
.cta-copy,
.feature-item p {
  color: rgba(22, 49, 36, 0.74);
}

.feature-band {
  padding: 42px 0 94px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.feature-item {
  padding: 28px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.42)),
    rgba(248, 243, 234, 0.72);
  border: 1px solid rgba(21, 48, 34, 0.08);
  box-shadow: 0 12px 40px rgba(28, 28, 23, 0.06);
}

.feature-item h3 {
  margin: 18px 0 10px;
  font-family: "Cormorant Garamond", "Iowan Old Style", serif;
  font-size: 2rem;
  line-height: 1;
}

.feature-mark {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(205, 164, 90, 0.18), rgba(22, 49, 36, 0.1));
  position: relative;
}

.feature-mark::before,
.feature-mark::after {
  content: "";
  position: absolute;
}

.feature-mark-journal::before {
  inset: 10px 14px;
  border-radius: 18px 22px 18px 18px;
  border: 2px solid rgba(22, 49, 36, 0.72);
}

.feature-mark-journal::after {
  right: 11px;
  top: 12px;
  width: 14px;
  height: 18px;
  border-radius: 0 12px 0 0;
  background: rgba(205, 164, 90, 0.7);
}

.feature-mark-place::before {
  left: 25px;
  top: 11px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(205, 164, 90, 0.94);
}

.feature-mark-place::after {
  left: 15px;
  right: 15px;
  bottom: 12px;
  height: 22px;
  border-radius: 40px 40px 18px 18px;
  border: 2px solid rgba(22, 49, 36, 0.72);
  border-top: none;
}

.feature-mark-return::before {
  left: 15px;
  right: 12px;
  top: 17px;
  bottom: 15px;
  border: 2px solid rgba(22, 49, 36, 0.72);
  border-radius: 999px;
  border-right-color: transparent;
  transform: rotate(-20deg);
}

.feature-mark-return::after {
  right: 11px;
  top: 15px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 11px solid rgba(205, 164, 90, 0.95);
}

.archive-band {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.88fr);
  gap: 34px;
  align-items: center;
  padding: 92px 0;
}

.archive-band::before {
  background:
    radial-gradient(circle at 15% 22%, rgba(205, 164, 90, 0.1), transparent 22%),
    linear-gradient(180deg, #f8f3ea 0%, #efe4d0 100%);
}

.archive-preview {
  display: flex;
  justify-content: flex-end;
}

.calendar-panel {
  width: min(440px, 100%);
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.46)),
    rgba(248, 243, 234, 0.82);
  border: 1px solid rgba(21, 48, 34, 0.08);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 24px;
}

.calendar-grid span {
  aspect-ratio: 1;
  border-radius: 14px;
  background: rgba(20, 48, 33, 0.08);
}

.calendar-grid .active {
  background: linear-gradient(135deg, #d0a85f, #e7cb93);
}

.calendar-entry {
  padding: 20px;
  border-radius: 22px;
  background: rgba(20, 48, 33, 0.08);
}

.calendar-entry strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Cormorant Garamond", "Iowan Old Style", serif;
  font-size: 1.7rem;
  line-height: 1;
}

.calendar-entry p {
  margin: 0;
  color: rgba(22, 49, 36, 0.74);
  line-height: 1.65;
}

.cta-band {
  padding: 56px 0 120px;
  text-align: center;
}

.cta-band::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(205, 164, 90, 0.18), transparent 22%),
    linear-gradient(180deg, #173225 0%, #102419 100%);
}

.cta-band .section-heading {
  margin: 0 auto;
}

.cta-band .eyebrow,
.cta-band .section-heading h2,
.cta-copy {
  color: var(--paper-strong);
}

.cta-copy {
  color: rgba(246, 238, 224, 0.82);
}

.cta-copy {
  max-width: 620px;
  margin: 22px auto 0;
}

.cta-actions {
  justify-content: center;
}

.request-page {
  min-height: calc(100vh - 194px);
  padding: 98px 0 88px;
  color: var(--paper-strong);
}

.request-page h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Cormorant Garamond", "Iowan Old Style", serif;
  font-size: clamp(3.5rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.request-page > p {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(246, 238, 224, 0.82);
  font-size: 1.05rem;
  line-height: 1.75;
}

.request-page .button {
  margin-top: 34px;
}

.request-form {
  display: grid;
  gap: 18px;
  max-width: 620px;
  margin-top: 34px;
}

.request-form label {
  display: grid;
  gap: 8px;
  color: rgba(246, 238, 224, 0.86);
  font-size: 0.95rem;
  font-weight: 700;
}

.request-form input,
.request-form textarea {
  width: 100%;
  border: 1px solid rgba(244, 234, 213, 0.18);
  border-radius: 18px;
  background: rgba(244, 234, 213, 0.08);
  color: var(--paper-strong);
  font: inherit;
  line-height: 1.5;
  padding: 14px 16px;
}

.request-form textarea {
  resize: vertical;
}

.request-form input:focus,
.request-form textarea:focus {
  border-color: rgba(227, 196, 136, 0.72);
  outline: none;
  box-shadow: 0 0 0 3px rgba(227, 196, 136, 0.16);
}

.request-form .button {
  border: 0;
  cursor: pointer;
}

.request-form .button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: rgba(246, 238, 224, 0.78);
  line-height: 1.6;
}

.form-status[data-state="success"] {
  color: var(--gold-soft);
}

.form-status[data-state="error"] {
  color: #ffc1ae;
}

.request-details {
  max-width: 760px;
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid rgba(244, 234, 213, 0.16);
}

.request-details h2 {
  margin: 28px 0 10px;
  font-family: "Cormorant Garamond", "Iowan Old Style", serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0;
}

.request-details h2:first-child {
  margin-top: 0;
}

.request-details p {
  margin: 0;
  color: rgba(246, 238, 224, 0.78);
  line-height: 1.7;
}

.policy-page h1 {
  max-width: 980px;
}

.policy-updated {
  color: var(--gold-soft);
  font-weight: 700;
}

.policy-details {
  max-width: 860px;
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}

.subscription-page h1 {
  max-width: 940px;
}

.subscription-page {
  width: min(1200px, calc(100% - 48px));
}

.subscription-page > p {
  max-width: 980px;
}

.subscription-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 44px;
  width: 100%;
  max-width: none;
}

.subscription-plan {
  width: 100%;
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(244, 234, 213, 0.14);
  border-radius: 24px;
  background: rgba(244, 234, 213, 0.06);
  box-shadow: 0 18px 54px rgba(5, 14, 10, 0.16);
}

.subscription-plan-pro {
  border-color: rgba(227, 196, 136, 0.38);
  background:
    linear-gradient(180deg, rgba(227, 196, 136, 0.1), rgba(244, 234, 213, 0.05)),
    rgba(244, 234, 213, 0.06);
}

.plan-label {
  margin: 0 0 14px;
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subscription-plan h2 {
  margin: 0;
  font-family: "Cormorant Garamond", "Iowan Old Style", serif;
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: 0;
}

.subscription-plan p:last-child,
.subscription-note p {
  color: rgba(246, 238, 224, 0.78);
  line-height: 1.7;
}

.comparison-table {
  display: grid;
  width: 100%;
  max-width: none;
  margin-top: 34px;
  border: 1px solid rgba(244, 234, 213, 0.16);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(244, 234, 213, 0.05);
}

.comparison-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) repeat(2, minmax(0, 1fr));
}

.comparison-row > div {
  min-width: 0;
  padding: 18px 20px;
  border-top: 1px solid rgba(244, 234, 213, 0.12);
  color: rgba(246, 238, 224, 0.82);
  line-height: 1.55;
}

.comparison-row > div + div {
  border-left: 1px solid rgba(244, 234, 213, 0.12);
}

.comparison-row > div:first-child {
  color: var(--paper-strong);
  font-weight: 800;
}

.comparison-head > div {
  border-top: 0;
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inline-link {
  color: var(--gold-soft);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold-soft);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 28px;
  padding: 26px 0 34px;
  color: rgba(246, 238, 224, 0.76);
  font-size: 0.92rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--paper-strong);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1080px) {
  .hero,
  .archive-band {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 66px;
  }

  .hero-visual {
    min-height: 560px;
    justify-content: center;
  }

  .archive-preview {
    justify-content: flex-start;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .subscription-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .story-band,
  .feature-band,
  .archive-band,
  .cta-band,
  .request-page,
  .site-footer {
    width: min(100% - 32px, 1200px);
  }

  .site-header {
    position: static;
    padding: 16px 18px;
    border-radius: 26px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    gap: 28px;
    min-height: auto;
    padding-bottom: 56px;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(3.3rem, 14vw, 4.8rem);
  }

  .hero-text,
  .story-grid p,
  .archive-copy p,
  .cta-copy,
  .feature-item p {
    font-size: 0.98rem;
  }

  .hero-visual {
    min-height: 0;
  }

  .story-band,
  .feature-band,
  .archive-band {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-heading h2 {
    font-size: clamp(2.45rem, 10vw, 3.5rem);
  }

  .request-page {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 64px;
  }

  .request-page h1 {
    font-size: clamp(3rem, 13vw, 4.5rem);
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }

  .comparison-row > div + div {
    border-left: 0;
  }

  .comparison-row > div {
    padding: 15px 18px;
  }

  .comparison-row > div:nth-child(2)::before,
  .comparison-row > div:nth-child(3)::before {
    display: block;
    margin-bottom: 4px;
    color: var(--gold-soft);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .comparison-row > div:nth-child(2)::before {
    content: "Free";
  }

  .comparison-row > div:nth-child(3)::before {
    content: "Pro";
  }

  .comparison-head {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header {
    margin-top: 12px;
  }

  .brand {
    font-size: 1.5rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-notes {
    gap: 10px;
  }

  .hero-notes li {
    width: calc(50% - 5px);
    text-align: center;
  }

  .hero-visual {
    margin-top: 6px;
  }

  .feature-item,
  .calendar-panel {
    padding: 22px;
  }
}
