:root {
  color-scheme: light;
  --ink: #132e49;
  --muted: #526374;
  --paper: #fcfaf4;
  --canvas: #f6f3eb;
  --line: #dedbcf;
  --sand: #dbc599;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { display: grid; grid-template-rows: auto 1fr auto; min-height: 100vh; margin: 0; background: var(--canvas); color: var(--ink); font: 1rem/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #517eaa; outline-offset: 4px; }
.wrap { width: min(1190px, calc(100% - 88px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-row { min-height: 79px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.23rem; font-weight: 700; letter-spacing: -.045em; }
nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); font-size: .88rem; font-weight: 600; }
.nav-guide:hover, .footer-row > a:last-child:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-signin { padding: 8px 15px; border: 1px solid #8e9ba5; border-radius: 6px; }
.nav-signin:hover { background: #e8e9e3; }
.hero { display: grid; justify-items: center; gap: 24px; padding-block: clamp(30px, 5vw, 60px); }
.hero-intro { width: 100%; max-width: 52rem; justify-self: start; }
.hero-intro h1 { margin: 0; font: 400 clamp(2.15rem, 4.2vw, 3.25rem)/1.08 var(--serif); letter-spacing: -.045em; text-wrap: balance; }
.hero-intro p { max-width: 69ch; margin: 12px 0 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); }
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 14px 24px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 1.0625rem;
  font-weight: 700;
  box-shadow: 0 6px 16px #132e4926;
}
.button:hover { background: #254d71; }
.preview { width: min(100%, 45rem); margin: 0; padding: clamp(12px, 3vw, 36px); border-radius: 16px; background: radial-gradient(ellipse at top right, #345675, transparent 68%), #172f48; color: #f4eee2; }
.preview figcaption { margin: 12px 0 -10px; color: #d8e0e7; font-size: .72rem; text-align: center; }
.pricing { width: min(100%, 39rem); }
.pricing h2 { margin: 0 0 16px; font: 400 clamp(1.65rem, 3vw, 2.45rem)/1.16 var(--serif); letter-spacing: -.037em; }
.pricing-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.pricing-plan {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(12px, 1.65vw, 20px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 5px 15px #132e4908;
}
.pricing-plan dt { font-size: .9rem; font-weight: 700; }
.pricing-plan dd { display: grid; justify-items: start; gap: 3px; margin: 0; }
.pricing-plan dd strong { font-size: clamp(1.65rem, 2.65vw, 2.15rem); line-height: 1.08; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.billing-period { color: var(--muted); font-size: .75rem; }
.pricing-trial { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; }
.pricing-trial dd { justify-items: end; text-align: right; }
.trial-terms { margin: 10px 0 0; color: var(--muted); font-size: .75rem; }
.savings { margin-top: 6px; padding: 2px 8px; border-radius: 20px; color: #355941; background: #dce9da; font-size: .72rem; font-weight: 650; white-space: nowrap; }
.pricing > .button { margin-top: 18px; }
.demo { overflow: hidden; border-radius: 10px; background: #f7f4eb; color: var(--ink); box-shadow: 0 18px 42px #0a192988; }
.demo-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 16px; background: #eae4d5; font-size: .69rem; }
.demo-brand { display: inline-flex; align-items: center; gap: 5px; font-weight: 760; }
.demo-body { padding: clamp(12px, 2.3vw, 26px); }
.demo-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 15px; }
.demo-heading h2 { margin: 0; font: 400 clamp(1.15rem, 2vw, 1.8rem)/1.15 var(--serif); letter-spacing: -.035em; }
.demo-heading span { color: #3f604d; font-size: .65rem; white-space: nowrap; }
.demo-heading i, .demo-deadline i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: #60866d; }
.demo-grades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.demo-grade { border: 1px solid #e4dfd2; border-radius: 6px; padding: 9px; background: var(--paper); }
.demo-grade > span { display: block; min-height: 2.6em; color: #485966; font-size: .68rem; line-height: 1.32; }
.demo-grade strong { display: block; margin: 2px 0 7px; font-size: clamp(1rem, 2vw, 1.6rem); font-weight: 650; line-height: 1.1; letter-spacing: -.06em; }
.demo-grade small { margin-left: 2px; font-size: .62em; font-weight: 500; }
.demo-grade i { display: block; height: 3px; border-radius: 8px; background: linear-gradient(90deg, #607f91 var(--grade), #e9e4d7 var(--grade)); }
.demo-grade:nth-child(2) i { background: linear-gradient(90deg, #9a8159 var(--grade), #e9e4d7 var(--grade)); }
.demo-grade:nth-child(3) i { background: linear-gradient(90deg, #678671 var(--grade), #e9e4d7 var(--grade)); }
.demo-deadlines { margin-top: 17px; }
.demo-deadlines h3 { margin: 0 0 6px; font-size: .75rem; }
.demo-deadline { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px; padding: 7px 0; border-top: 1px solid #e1dccf; font-size: .68rem; line-height: 1.25; }
.demo-deadline i { background: #a28a58; }
.demo-deadline time { color: #4e6371; }
.details { padding-block: 53px 67px; border-top: 1px solid var(--line); }
.details h2 { margin: 0 0 26px; font: 400 clamp(1.65rem, 2.7vw, 2.6rem)/1.16 var(--serif); letter-spacing: -.037em; }
.details-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 45px); }
.details h3 { margin: 0 0 6px; font-size: 1rem; }
.details p { max-width: 335px; margin: 0; color: var(--muted); font-size: .94rem; }
.site-footer { padding-block: 24px 12px; border-top: 1px solid var(--line); color: #4f5d69; font-size: .82rem; }
.footer-brand { color: var(--ink); font-size: 1rem; }
.pricing-note { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: .625rem; line-height: 1.45; }

@media (min-width: 700px) {
  .pricing > .button { min-height: 80px; font-size: 1.3125rem; }
}

@media (min-width: 881px) {
  .hero { grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); align-items: center; gap: 30px clamp(28px, 5vw, 72px); }
  .hero-intro { grid-column: 1 / -1; }
  .preview, .pricing { width: 100%; }
  .details { padding-block: 40px 56px; }
}

@media (max-width: 880px) {
  .wrap { width: min(690px, calc(100% - 48px)); }
  .preview { padding: 22px; }
  .preview figcaption { margin-bottom: -4px; }
}

@media (max-width: 550px) {
  .header-row { min-height: 65px; gap: 12px; }
  .nav-guide { display: none; }
  .wrap { width: calc(100% - 36px); }
  .preview { padding: 12px; }
  .preview figcaption { margin-bottom: 0; }
  .details { padding-block: 37px; }
  .details-grid { grid-template-columns: 1fr; gap: 20px; }
}
