/* A pretend customer, deliberately unlike WebMetric. */
:root {
  --paper: #f6f1e9;
  --paper-deep: #ece4d6;
  --ink: #231d17;
  --ink-soft: #5c5147;
  --line: #d9cebd;
  --accent: #9c4221;
  --accent-deep: #7b3219;
  --moss: #4a5a3a;
  --radius: 10px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
}
a { color: inherit; }
img { max-width: 100%; display: block; }

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

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: var(--serif); font-size: 22px; font-weight: 600; text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 28px; align-items: center; }
/* :not(.btn) so the nav colour cannot out-rank a button's own label colour. */
.nav a:not(.btn) { text-decoration: none; color: var(--ink-soft); font-size: 15px; }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-small { height: 38px; padding: 0 16px; font-size: 14px; }

.hero { padding: 88px 0 72px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); font-weight: 600; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 64px); line-height: 1.04; margin: 14px 0 20px; letter-spacing: -0.02em; }
.hero p { font-size: 19px; color: var(--ink-soft); max-width: 34ch; margin: 0 0 32px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art {
  aspect-ratio: 4 / 5; border-radius: 180px 180px var(--radius) var(--radius);
  background:
    radial-gradient(circle at 50% 32%, #c8794a 0 16%, transparent 16.5%),
    radial-gradient(circle at 50% 32%, #3b2518 0 26%, transparent 26.5%),
    linear-gradient(180deg, #e6d7c1 0%, #d7c3a6 100%);
  border: 1px solid var(--line);
}

section { padding: 72px 0; }
.section-alt { background: var(--paper-deep); border-block: 1px solid var(--line); }
h2 { font-family: var(--serif); font-weight: 500; font-size: 38px; line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.01em; }
.lede { color: var(--ink-soft); max-width: 60ch; margin: 0 0 40px; font-size: 18px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0 0 8px; }
.card p { color: var(--ink-soft); margin: 0; }

.origin { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.origin:last-child { border-bottom: 1px solid var(--line); }
.origin strong { font-family: var(--serif); font-size: 20px; font-weight: 500; }

.plan { display: flex; flex-direction: column; gap: 16px; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan .price { font-family: var(--serif); font-size: 44px; line-height: 1; }
.plan .price small { font-family: var(--sans); font-size: 15px; color: var(--ink-soft); }
.plan ul { margin: 0; padding-left: 18px; color: var(--ink-soft); flex: 1; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }

.checkout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font-family: var(--serif); font-size: 22px; margin-bottom: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select {
  height: 46px; padding: 0 14px; border: 1px solid #b9ab96; border-radius: 8px;
  background: #fffdf9; font: 16px var(--sans); color: var(--ink);
}
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hint { font-size: 13px; color: var(--ink-soft); }
.summary { position: sticky; top: 96px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 0; }
.summary dt { color: var(--ink-soft); }
.summary dd { margin: 0; text-align: right; }
.summary .total { border-top: 1px solid var(--line); padding-top: 12px; font-weight: 600; }

.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 32px; flex-wrap: wrap; }
.tabs a { text-decoration: none; padding: 12px 4px; margin-right: 18px; color: var(--ink-soft); border-bottom: 2px solid transparent; }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.article { max-width: 68ch; font-size: 18px; }
.article p { margin: 0 0 20px; }
.article h2 { margin-top: 44px; }

.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--ink-soft); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 820px) {
  .hero, .checkout { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .summary { position: static; }
}
