:root {
  --wine: #731735;
  --wine-dark: #50122b;
  --blue: #e3eff6;
  --deep: #213947;
  --ink: #26353e;
  --muted: #4b626f;
  --line: #c7dae5;
  --paper: #f9fcfd;
  --green: #eaf4e6;
  --pink: #fcf1f5;
  color: var(--ink);
  font-family: "Segoe UI", "Noto Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 5.6rem; }
body { margin: 0; }
a { color: #24556d; text-underline-offset: .22em; }
a:hover { color: var(--wine); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #397d9d; outline-offset: 3px; }
button, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
audio { max-width: 100%; display: block; margin: .8rem 0 1rem; }
[hidden] { display: none !important; }
.wrap { width: min(1140px, calc(100% - 3rem)); margin: 0 auto; }
.skip { position: absolute; top: -10rem; background: #fff; padding: 1rem; z-index: 8; }
.skip:focus { top: 0; }
.top { position: sticky; top: 0; background: #fffeff; border-bottom: 1px solid var(--line); z-index: 4; }
.top-inner { min-height: 4.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; line-height: 1.15; color: var(--wine); }
.brand img { width: 49px; }
.brand small { display: block; color: var(--muted); font-size: .8rem; margin-top: .2rem; }
.top nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.35rem; }
.top nav a:not(.button) { text-decoration: none; font-weight: 600; color: var(--deep); }
.hero { background: var(--blue); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); align-items: center; column-gap: 3.8rem; padding: 5.4rem 0 5.6rem; }
.eyebrow { font-size: .88rem; text-transform: uppercase; letter-spacing: .075em; color: var(--wine); font-weight: 700; margin: 0 0 .7rem; }
h1, h2, h3 { line-height: 1.13; color: var(--wine); margin: 0; }
h1 { font-size: clamp(2.9rem,5.4vw,5.3rem); font-weight: 350; line-height: 1.02; letter-spacing: -.065em; }
h2 { font-size: clamp(2rem,3.4vw,3.3rem); font-weight: 400; letter-spacing: -.045em; }
h3 { font-size: clamp(1.25rem,2.5vw,1.75rem); font-weight: 640; letter-spacing: -.025em; }
.intro p:not(.eyebrow) { margin: 1.15rem 0 1.45rem; color: var(--deep); font-size: clamp(1rem,1.5vw,1.18rem); max-width: 40rem; }
.button { display: inline-flex; justify-content: center; align-items: center; background: var(--wine); color: #fff; border: 1px solid transparent; border-radius: .47rem; padding: .73rem 1.05rem; font-weight: 650; line-height: 1.27; text-decoration: none; min-height: 44px; }
.button:hover { color: #fff; background: var(--wine-dark); }
.button-small { padding: .55rem .85rem; font-size: .96rem; }
.quiet { font-weight: 650; }
.cover-preview { margin: 0; }
.cover-preview a { display: block; background: white; padding: .55rem; border: 1px solid #bed5e3; border-radius: .9rem; box-shadow: 0 18px 45px #264b6124; }
.cover-preview img, .inside img { border-radius: .35rem; width: 100%; max-height: none; object-fit: contain; }
.cover-preview figcaption { color: var(--muted); font-size: .88rem; margin-top: .6rem; }
.section { padding-top: 4.35rem; padding-bottom: 4.35rem; }
.heading { margin-bottom: 1.6rem; }
.heading p { margin: .65rem 0 0; color: var(--muted); }
.modules { margin: 0; list-style: none; padding: 0; border-top: 1px solid var(--line); }
.modules li a { display: grid; grid-template-columns: minmax(11.5rem, .9fr) minmax(0,1.4fr) auto; align-items: start; gap: 1.3rem; padding: .83rem .45rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.modules li a:hover { background: var(--paper); }
.modules strong { color: var(--wine); }
.modules span { color: var(--ink); }
.modules em { font-style: normal; font-size: .94rem; text-decoration: underline; }
.demo-section { background: #f3f8fb; border-block: 1px solid var(--line); }
.picks { display: flex; gap: .42rem; flex-wrap: wrap; margin-bottom: 1.17rem; }
.picks a { padding: .5rem .9rem; border: 1px solid #bbd2df; background: #fff; border-radius: .4rem; font-weight: 650; text-decoration: none; }
.picks a[aria-current] { background: var(--wine); color: white; border-color: var(--wine); }
.sample-grid { display: grid; grid-template-columns: minmax(0,1.32fr) minmax(0,.95fr); align-items: start; gap: 1.45rem; }
.sample, .inside { padding: clamp(1rem,2.5vw,1.7rem); background: #fff; border: 1px solid var(--line); border-radius: .7rem; }
.sample p { margin: .8rem 0; }
.sample label[for] { display: block; margin: .9rem 0 .27rem; font-weight: 650; }
.sample details, .sample blockquote { padding: .65rem .82rem; border-radius: .28rem; margin: .83rem 0; border-left: 3px solid #9ebc9b; background: var(--green); }
.sample details.model { background: var(--pink); border-left-color: #d4a6ba; }
.sample summary { cursor: pointer; color: var(--deep); font-weight: 650; }
.sample details ul { margin-bottom: .3rem; padding-left: 1.4rem; }
.sample blockquote { background: #eef5f9; border-left-color: #a8c7d9; }
.sample textarea { display: block; width: 100%; resize: vertical; padding: .5rem .6rem; border: 1px solid #87aabf; border-radius: .35rem; color: var(--ink); }
.sample output { display: block; text-align: right; color: var(--muted); font-size: .91rem; }
.sample .photo { width: 100%; border-radius: .3rem; margin-top: 1rem; }
fieldset { border: 0; padding: 0; margin: .75rem 0 1rem; min-width: 0; }
legend { font-weight: 700; padding: 0; margin-bottom: .3rem; }
fieldset label { display: block; width: fit-content; padding: .24rem .35rem .24rem 0; cursor: pointer; }
fieldset input { accent-color: var(--wine); margin-right: .52rem; }
.feedback { padding: .6rem .77rem; background: #fff3e4; border-left: 3px solid #b57b34; border-radius: .18rem; }
.feedback[data-state="correct"] { background: var(--green); border-color: #71a36d; }
.inside h3 { font-size: 1.27rem; margin-bottom: .8rem; }
.inside img { border: 1px solid var(--line); margin-bottom: .45rem; }
.inside a { display: block; }
.inside p { margin: .65rem 0 0; color: var(--muted); }
.offer { background: #eef5eb; border-bottom: 1px solid #ccdec8; }
.offer-inner { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 3rem; }
.offer p { margin: .65rem 0 1rem; }
.prices strong { font-size: 1.55rem; font-weight: 650; color: var(--wine); }
footer { background: #fff; }
.footer-inner { min-height: 6.1rem; display: flex; align-items: center; gap: .85rem; padding: .75rem 0; color: var(--deep); }
.footer-inner img { flex: 0 0 66px; }
.footer-inner p { margin: 0; font-size: .9rem; color: var(--muted); }
.footer-inner > a { margin-left: auto; }
@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr 1fr; column-gap: 1.4rem; padding-block: 4rem; }
  .sample-grid { grid-template-columns: minmax(0,1fr) minmax(0,.65fr); column-gap: .8rem; }
}
@media (max-width: 630px) {
  .wrap { width: calc(100% - 2rem); }
  .hero-inner, .sample-grid, .offer-inner { grid-template-columns: 1fr; row-gap: 1.45rem; }
  .hero-inner, .section { padding-block: 2.6rem; }
  .top-inner { min-height: 4.3rem; }
  .top nav a:not(.button) { display: none; }
  .modules li a { grid-template-columns: minmax(0,1fr) auto; gap: .2rem .55rem; }
  .modules span { grid-column: 1 / -1; grid-row: 2; }
  .modules em { grid-column: 2; grid-row: 1; }
  .inside { max-width: none; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner img { flex-basis: 48px; width: 48px; }
  .footer-inner > a { margin-left: 0; }
}
