:root {
  --paper: #f3efe5;
  --paper-deep: #e7dfcf;
  --ink: #102a43;
  --ink-soft: #40566c;
  --red: #bd3b2d;
  --red-dark: #963025;
  --white: #fffdf8;
  --line: rgba(16, 42, 67, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  justify-self: start;
  display: inline-flex;
  flex-direction: column;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.wordmark span:last-child {
  margin-left: 13px;
  font-style: italic;
  font-weight: 400;
}

.site-header nav {
  display: flex;
  gap: 38px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-header nav a,
.site-footer nav a {
  transition: color 160ms ease;
}

.site-header nav a:hover,
.site-footer nav a:hover {
  color: var(--red);
}

.site-header > .button {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 52px;
  padding: 13px 20px;
  border: 1px solid var(--red);
  background: var(--red);
  color: white;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 10px 15px;
}

.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 80px;
  align-items: center;
  padding-block: 88px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: 340px;
  top: 84px;
  width: 1px;
  height: 74%;
  background: var(--line);
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-section h2,
.legal-page h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.93;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(70px, 9vw, 132px);
}

.hero h1 em {
  color: var(--red);
  font-weight: 400;
}

.hero-intro {
  max-width: 600px;
  margin: 38px 0 0;
  color: var(--ink-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 38px;
}

.text-link {
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--ink);
}

.hero-note {
  position: relative;
  z-index: 1;
  padding: 34px;
  background: var(--ink);
  color: var(--white);
  transform: rotate(1.5deg);
  box-shadow: 18px 18px 0 var(--paper-deep);
}

.note-number {
  margin: 0;
  color: #e9b8a6;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 96px;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.note-title {
  margin: 24px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.hero-note > p:not(.note-number, .note-title, .note-meta) {
  color: #c6d1dc;
  font-size: 14px;
}

.note-rule {
  height: 1px;
  margin: 24px 0 18px;
  background: rgba(255, 255, 255, 0.24);
}

.note-meta {
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.level-strip {
  padding-block: 24px;
  border-block: 1px solid var(--line);
  background: var(--paper-deep);
}

.level-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  align-items: center;
}

.level-grid > p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.level-grid > div {
  padding-left: 28px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.level-grid span {
  margin-right: 12px;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.section {
  padding-block: 128px;
}

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

.section-heading h2,
.contact-section h2,
.legal-page h1 {
  font-size: clamp(45px, 6vw, 78px);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 74px;
  border-top: 1px solid var(--line);
}

.approach-grid article {
  min-height: 360px;
  padding: 36px 40px 0 0;
  border-right: 1px solid var(--line);
}

.approach-grid article:not(:first-child) {
  padding-left: 40px;
}

.approach-grid article:last-child {
  border-right: 0;
  padding-right: 0;
}

.article-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.approach-grid h3,
.price-card h3,
.process-list h3 {
  margin: 52px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.approach-grid p,
.process-list p,
.pricing-heading > p:last-child,
.contact-action p {
  color: var(--ink-soft);
}

.pricing-section {
  background: var(--ink);
  color: var(--white);
}

.pricing-heading > p:last-child {
  max-width: 540px;
  color: #c6d1dc;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 64px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.price-card.featured {
  background: var(--white);
  color: var(--ink);
  transform: translateY(-15px);
}

.plan-label {
  margin: 0;
  color: #e9b8a6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.featured .plan-label {
  color: var(--red);
}

.price-card h3 {
  margin-top: 20px;
}

.price {
  margin: 35px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 76px;
  letter-spacing: -0.07em;
  line-height: 1;
}

.price span {
  margin-right: 6px;
  color: #e9b8a6;
  font-size: 30px;
  vertical-align: top;
}

.featured .price span {
  color: var(--red);
}

.price-detail {
  margin: 6px 0 26px;
  color: #c6d1dc;
  font-size: 13px;
}

.featured .price-detail {
  color: var(--ink-soft);
}

.price-card ul {
  flex: 1;
  margin: 0 0 32px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  list-style: none;
}

.featured ul {
  border-color: var(--line);
}

.price-card li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 20px;
  font-size: 14px;
}

.price-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #e9b8a6;
}

.featured li::before {
  color: var(--red);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.price-card.featured .button {
  color: white;
}

.pricing-note {
  max-width: 780px;
  margin: 24px 0 0;
  color: #9fb0c1;
  font-size: 12px;
}

.process {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.process-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-list > li > span {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.process-list h3 {
  margin: 0 0 6px;
  font-size: 23px;
}

.process-list p {
  margin: 0;
}

.faq-section {
  background: var(--paper-deep);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 100px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 300;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 620px;
  margin: -6px 0 26px;
  color: var(--ink-soft);
}

.contact-section {
  padding-block: 110px;
  background: var(--red);
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 100px;
  align-items: end;
}

.eyebrow.light {
  color: #f5c5b5;
}

.contact-action p {
  color: #fae5df;
}

.button-light {
  margin-top: 20px;
  border-color: var(--white);
  background: var(--white);
  color: var(--red-dark);
  text-transform: none;
  letter-spacing: 0;
}

.button-light:hover {
  border-color: var(--paper-deep);
  background: var(--paper-deep);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 30px;
  align-items: center;
  padding-block: 54px;
  font-size: 12px;
}

.site-footer > p {
  margin: 0;
  color: var(--ink-soft);
}

.site-footer nav {
  display: flex;
  gap: 22px;
}

.copyright {
  grid-column: 2;
}

.legal-header {
  min-height: 94px;
}

.legal-page {
  max-width: 850px;
  padding-block: 90px 130px;
}

.legal-page h1 {
  margin-bottom: 24px;
}

.legal-page .updated {
  margin-bottom: 55px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-page h2 {
  margin: 48px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
}

.legal-page a {
  color: var(--red);
  text-decoration: underline;
}

.back-link {
  display: inline-block;
  margin-bottom: 45px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 60px;
    min-height: auto;
  }

  .hero::after {
    display: none;
  }

  .hero-note {
    max-width: 400px;
  }

  .approach-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .approach-grid article,
  .approach-grid article:not(:first-child) {
    min-height: auto;
    padding: 35px 0 45px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .approach-grid h3 {
    margin-top: 28px;
  }

  .price-grid {
    gap: 16px;
  }

  .price-card,
  .price-card.featured {
    min-height: 0;
    transform: none;
  }

  .process,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer nav {
    grid-column: 1 / -1;
    flex-wrap: wrap;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 30px, 1180px);
  }

  .site-header {
    min-height: 88px;
  }

  .button-small {
    gap: 10px;
  }

  .hero {
    padding-block: 64px 78px;
  }

  .hero h1 {
    font-size: clamp(57px, 19vw, 90px);
  }

  .hero-intro {
    font-size: 18px;
  }

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

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-note {
    max-width: calc(100% - 16px);
    padding: 28px;
  }

  .level-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .level-grid > p {
    margin-bottom: 4px;
  }

  .level-grid > div {
    padding: 0;
    border-left: 0;
  }

  .section {
    padding-block: 88px;
  }

  .approach-grid {
    margin-top: 48px;
  }

  .price-card {
    padding: 30px 24px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .copyright {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
