:root {
  --cream: #f7f8f8;
  --white: #ffffff;
  --ink: #152642;
  --muted: #68717d;
  --body: #68717d;
  --line: #dde3e6;
  --teal: #20a5b8;
  --navy: #152642;
  --danger: #9b2c2c;
  --ok: #1b6b4a;
  --ghost: #ececec;
  --radius: 12px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
}

a { color: inherit; }

.page,
.app {
  min-height: 100vh;
  background: var(--cream);
}

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.top {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.92rem;
  text-decoration: none;
}

.top-link {
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: none;
}

.hero {
  background: var(--cream);
  padding: 36px 0 48px;
}

.hero-inner {
  display: grid;
  gap: 28px;
  justify-items: center;
  text-align: center;
}

.hero-copy { width: min(520px, 100%); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 14px;
}

.cover {
  position: relative;
  margin: 0;
  width: min(420px, 88vw);
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.cover img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--cream);
  border: 0;
  outline: 0;
  box-shadow: none;
  filter: none;
  vertical-align: top;
}

.title {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 8px;
  font-weight: 700;
}

.subtitle {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 1rem;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 0 0 20px;
}

.price strong { font-size: 1.6rem; }
.price span { color: var(--muted); }

.cta-stack { display: grid; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  width: 100%;
  background: var(--navy);
  color: #fff;
}

.btn-buy {
  width: 100%;
  background: var(--teal);
  color: #fff;
}

.btn-buy.is-hidden,
.btn.is-hidden[hidden] {
  display: none !important;
}

.btn-ghost {
  background: var(--ghost);
  color: var(--ink);
  min-width: 96px;
}

.cta-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 12px 0 0;
}

.about {
  background: var(--white);
  padding: 48px 0;
  text-align: center;
}

.about .wrap {
  max-width: 640px;
  margin: 0 auto;
}

.about h2,
.form-block h2,
.thanks h1 {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.7rem;
  margin: 0 0 10px;
  font-weight: 700;
}

.about h2 {
  font-size: 2rem;
}

.about p,
.lead,
.thanks p {
  color: var(--body);
  margin: 0 0 16px;
}

.about p {
  font-size: 1.12rem;
  line-height: 1.55;
}

.about ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block;
  text-align: left;
}

.about li {
  position: relative;
  padding-left: 20px;
  margin: 0 0 12px;
  color: var(--body);
  font-size: 1.08rem;
}

.about li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.site-foot {
  background: var(--cream);
  padding: 28px 0 36px;
}

.credit {
  text-align: center;
  color: var(--teal);
  font-size: 0.86rem;
  margin: 0;
}

.credit-link {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.credit-link:hover {
  text-decoration: underline;
}

.page-order .app { background: var(--white); }

.page-order .form-block,
.page-order .thanks {
  background: var(--white);
}

.page-order .site-foot {
  background: var(--white);
}

.summary {
  background: var(--cream);
  padding: 22px 0;
}

.summary-inner {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
}

.summary img {
  position: relative;
  width: 88px;
  height: auto;
  background: transparent;
  border: 0;
  filter: none;
}

.summary h1 {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.25rem;
  margin: 0 0 4px;
  line-height: 1.25;
  font-weight: 700;
}

.summary p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.summary strong { font-size: 1.15rem; }

.form-block,
.thanks {
  padding: 36px 0 16px;
  margin-left: auto;
  margin-right: auto;
}

.form-block { width: min(420px, calc(100% - 40px)); }

.thanks { width: min(480px, calc(100% - 40px)); }

.form-block label {
  display: block;
  margin: 0 0 16px;
}

.form-block span {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.form-block input,
.form-block textarea,
.form-block select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
}

.form-block input:focus,
.form-block textarea:focus,
.form-block select:focus {
  outline: 2px solid rgba(32, 165, 184, 0.35);
  border-color: var(--teal);
}

.form-block textarea { resize: vertical; min-height: 92px; }

.form-block em {
  display: block;
  margin-top: 6px;
  color: var(--danger);
  font-style: normal;
  font-size: 0.86rem;
}

.form-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  margin-top: 8px;
}

.fine {
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
  margin: 18px 0 8px;
}

.alert {
  background: #f8e6e6;
  color: var(--danger);
  padding: 10px 12px;
  border-radius: 8px;
}

.thanks { width: min(480px, calc(100% - 40px)); }

.thanks .btn-primary { max-width: 280px; }

.thanks dl {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 8px 16px;
  margin: 0 0 18px;
}

.thanks dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.thanks dl div:last-child { border-bottom: 0; }
.thanks dt { color: var(--muted); }
.thanks dd { margin: 0; }
.ok { color: var(--ok); }

.shell,
.shell-wide {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.admin-nav { display: flex; gap: 14px; }

.table-wrap {
  overflow: auto;
  background: var(--white);
  border-radius: 12px;
}

.orders {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.orders th,
.orders td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.orders th {
  background: var(--cream);
  font-weight: 600;
}

.status-form { margin: 0; }

.status-form select {
  max-width: 180px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #e4e2dc;
  background: var(--white);
}

@media (min-width: 860px) {
  .wrap { width: min(1080px, calc(100% - 80px)); }

  .hero { padding: 64px 0 72px; }

  .hero-inner {
    grid-template-columns: minmax(320px, 520px) 1fr;
    align-items: center;
    justify-items: start;
    gap: 64px;
    text-align: left;
  }

  .cover { width: min(560px, 100%); }

  .hero-copy { width: auto; }

  .title { font-size: 3rem; }

  .price,
  .eyebrow,
  .cta-note { justify-content: flex-start; text-align: left; }

  .cta-stack { max-width: 340px; }

  .about { padding: 64px 0; }

  .about .wrap { max-width: 720px; margin: 0 auto; }

  .about h2 { font-size: 2.2rem; }

  .about p { font-size: 1.18rem; }

  .about li { font-size: 1.12rem; }

  .summary-inner { grid-template-columns: 110px 1fr; }
  .summary img { width: 110px; }
}
