:root {
  color-scheme: light;
  --paper: #faf7ef;
  --card: #fffcf6;
  --ink: #172d24;
  --muted: #4b5b51;
  --forest: #102d25;
  --forest-bright: #214539;
  --gold: #e7c981;
  --line: #e4dac8;
  --display: "Instrument Serif", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 2px solid #a47322;
  outline-offset: 4px;
}

.container {
  width: min(100% - 80px, 1080px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 8px 14px;
  transform: translateY(calc(-100% - 20px));
  background: var(--card);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  padding-block: 4px;
  font: 400 2rem/1 var(--display);
  letter-spacing: -0.025em;
  text-decoration: none;
}

.home-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.home-link:hover,
.footer-links a:hover {
  text-decoration: underline;
}

.home-link .arrow {
  color: #785721;
}

.arrow {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  flex: none;
}

.arrow::before,
.arrow::after {
  position: absolute;
  content: "";
}

.arrow::before {
  top: 1px;
  right: 1px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.arrow::after {
  top: 6px;
  left: 0;
  width: 12px;
  height: 1px;
  transform: rotate(-45deg);
  background: currentColor;
}

.hero {
  background: radial-gradient(ellipse at 77% 44%, var(--forest-bright), var(--forest) 60%);
  color: var(--card);
}

.hero-inner {
  display: grid;
  min-height: 446px;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 34px;
  padding-block: 51px 90px;
}

.hero-copy::before {
  display: block;
  width: 46px;
  height: 1px;
  margin-bottom: 22px;
  background: var(--gold);
  content: "";
}

.hero h1 {
  margin: 0;
  font: 400 clamp(4.35rem, 7.1vw, 6.25rem)/0.89 var(--display);
  letter-spacing: -0.025em;
}

.hero h1 em {
  display: block;
  margin-top: 0.04em;
  color: var(--gold);
  font-weight: inherit;
}

.hero p {
  max-width: 450px;
  margin: 26px 0 0;
  color: #e1e8dd;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.crest-frame {
  position: relative;
  display: grid;
  width: min(100%, 320px);
  aspect-ratio: 1;
  justify-self: center;
  place-items: center;
  border: 1px solid #e7c98147;
  border-radius: 12px;
}

.crest-frame::before {
  position: absolute;
  inset: 9px;
  border: 1px solid #e7c98161;
  border-radius: 6px;
  pointer-events: none;
  content: "";
}

.crest {
  width: calc(100% - 40px);
  outline: 1px solid #e7c98147;
  box-shadow: 0 10px 30px #04181166;
}

.crest img {
  display: block;
  width: 100%;
  height: auto;
}

.feedback-content {
  position: relative;
  margin-top: -43px;
}

.channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.channel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 3.35vw, 40px);
  border: 1px solid var(--line);
  border-top: 3px solid #456c57;
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 10px 30px #1e312108;
}

.channel-private {
  border-top-color: #b89554;
}

.channel-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
}

.review-icon {
  background: #e9eee6;
  color: #315643;
  font-size: 1.375rem;
  line-height: 1;
}

.email-icon {
  background: #f4ead6;
  color: #785721;
}

.email-icon span {
  position: relative;
  width: 17px;
  height: 12px;
  overflow: hidden;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.email-icon span::after {
  position: absolute;
  top: -6px;
  left: 2px;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
}

.channel h2,
.review-guide h2 {
  font: 400 2.55rem/1.08 var(--display);
  letter-spacing: -0.01em;
}

.channel h2 {
  margin: 15px 0 8px;
}

.channel-description {
  max-width: 37ch;
  margin: 0 0 23px;
  color: var(--muted);
  text-wrap: pretty;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding: 11px 16px;
  border: 1px solid var(--forest);
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.button-primary {
  background: var(--forest);
  color: #fffdf6;
}

.button-primary:hover {
  border-color: var(--forest-bright);
  background: var(--forest-bright);
}

.button-secondary {
  background: transparent;
  color: var(--forest);
}

.button-secondary:hover {
  background: #edf1e9;
}

.channel-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
}

.channel-note a {
  font-weight: 600;
}

.channel-note a:hover {
  color: var(--ink);
}

.review-guide {
  display: flex;
  align-items: baseline;
  gap: 12px 26px;
  margin: 32px 0 38px;
  padding: 19px 22px;
  border-left: 2px solid #b89554;
  background: #f3eddf;
}

.review-guide h2 {
  flex: none;
  margin: 0;
  font-size: 1.65rem;
}

.review-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner,
.footer-inner p,
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px 22px;
}

.footer-inner {
  min-height: 78px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-block: 13px;
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-inner p {
  gap: 10px;
  margin: 0;
}

.footer-inner strong {
  color: var(--ink);
}

.footer-links {
  flex-wrap: wrap;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
}

@media (max-width: 780px) {
  .container {
    width: calc(100% - 48px);
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: minmax(0, 1.3fr) minmax(160px, 0.75fr);
    gap: 22px;
    padding-block: 49px 77px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 9vw, 5rem);
  }

  .crest-frame {
    max-width: 242px;
  }

  .channel h2 {
    font-size: 2.05rem;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 36px);
  }

  .header-inner {
    min-height: 60px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
    padding-block: 26px 54px;
    text-align: center;
  }

  .crest-frame {
    grid-row: 1;
    width: 112px;
  }

  .crest-frame::before {
    inset: 4px;
  }

  .crest {
    width: calc(100% - 16px);
  }

  .hero-copy::before {
    display: none;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 10.5vw, 4.55rem);
    line-height: 0.94;
  }

  .hero p {
    margin: 16px auto 0;
  }

  .feedback-content {
    margin-top: -24px;
  }

  .channels {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .channel {
    padding: 22px;
  }

  .button {
    width: 100%;
  }

  .review-guide {
    display: block;
    margin-block: 22px 27px;
    padding: 15px 17px;
  }

  .review-guide p {
    margin-top: 5px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding-block: 14px 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
