:root {
  color-scheme: light;
  --paper: #faf9f5;
  --ink: #162d40;
  --sub: #495e6c;
  --blue: #224eea;
  --line: #d9e1e6;
  --edge: #dce4ec;
  --gutter: clamp(28px,4.375vw,56px);
  font-family: Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Noto Sans SC","Microsoft YaHei",sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--blue);
}

a:focus-visible,button:focus-visible,textarea:focus-visible {
  outline: 3px solid #4168fc;
  outline-offset: 4px;
}

a,button {
  touch-action: manipulation;
}

.shell {
  width: min(100%,1280px);
  padding-inline: var(--gutter);
  margin-inline: auto;
}

.skip {
  position: fixed;
  z-index: 2;
  left: 10px;
  top: -90px;
  background: white;
  padding: 12px;
}

.skip:focus {
  top: 10px;
}

header {
  border-bottom: 1px solid var(--line);
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.025em;
}

.brand img {
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px,4.1vw,56px);
  font-size: 15px;
  font-weight: 550;
}

.desktop-nav a,.menu-link,.text-action,.back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-action {
  padding: 0 clamp(25px,4.8vw,68px);
  background: var(--ink);
  color: white;
  border-radius: 30px;
}

.nav-action:hover,.button:hover,button:hover {
  color: white;
  filter: brightness(.91);
}

.mobile-only {
  display: none;
}

main {
  flex: 1;
}

h1,h2,h3,p,ul,figure {
  margin: 0;
}

p,li {
  line-height: 1.6;
}

p {
  color: var(--sub);
}

.hero {
  min-height: 487px;
  display: grid;
  grid-template-columns: minmax(0,1.12fr) minmax(0,1fr);
  align-items: center;
  gap: clamp(36px,7vw,125px);
  padding: 54px 0;
}

.hero h1 {
  max-width: 590px;
  font-size: clamp(38px,4.53vw,58px);
  line-height: 1.1;
  margin: 0 0 40px;
  letter-spacing: -.034em;
  text-wrap: balance;
}

.hero-copy>p {
  max-width: 520px;
  font-size: clamp(17px,1.64vw,21px);
}

.hero-actions {
  margin-top: 46px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.button,button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px;
  min-width: 204px;
  min-height: 50px;
  background: var(--blue);
  color: white;
  border: 0;
  border-radius: 30px;
  font: inherit;
  font-weight: 550;
  cursor: pointer;
}

.text-action,.back {
  color: var(--blue);
  font-weight: 550;
}

.hero-art {
  display: block;
  max-width: 515px;
  justify-self: end;
  width: 100%;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 350/232;
  border-radius: 5% / 7.4%;
}

.home-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: min(12vw,150px);
  border-top: 1px solid var(--line);
  padding: 40px 0 64px;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 79px;
  padding: 9px 6px 10px 3px;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.row span {
  display: grid;
  gap: 8px;
}

.row strong {
  font-size: 18px;
}

.row small {
  font-size: 14px;
  color: var(--sub);
}

.row img {
  flex: none;
}

footer.shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 24px;
  padding-top: 19px;
  padding-bottom: 19px;
  min-height: 91px;
  align-content: center;
}

footer:before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid var(--line);
}

footer strong {
  font-size: 15px;
}

.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
}
.site-domain {
  color: var(--sub);
  font-size: 14px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 25px;
  grid-row: 1/3;
  grid-column: 2;
  align-self: start;
}

footer nav a {
  font-size: 14px;
  font-weight: 550;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

footer small {
  font-size: 13px;
  color: var(--sub);
}

.page {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: 47px;
  padding-bottom: 45px;
  min-height: calc(100svh - 166px);
}

.intro {
  margin: 0 0 63px;
}

.intro h1 {
  font-size: clamp(34px,3.75vw,48px);
  line-height: 1.35;
  letter-spacing: -.035em;
  margin-bottom: 17px;
}

.intro p {
  font-size: 19px;
}

.columns {
  display: flex;
  gap: clamp(50px,8vw,115px);
  align-items: flex-start;
}

.card {
  width: 350px;
  max-width: 100%;
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: #fff;
  padding: 20px;
}

.card h2 {
  font-size: 25px;
  margin: 12px 0;
}

.card p {
  font-size: 15px;
}

.card.status {
  min-height: 201px;
}

.card.status>p:first-child {
  font-size: 17px;
}

.card.status .button {
  margin-top: 20px;
}

.card hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0;
}

.cardhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cardhead span {
  color: var(--blue);
  font-size: 14px;
}

.plan {
  min-height: 263px;
}

.details {
  padding-top: 16px;
  max-width: 610px;
}

.details h2,.help-content h2,.reading h2 {
  font-size: 20px;
  margin-bottom: 15px;
}

.details p,.reading p {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.page>.back {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 34px;
}

.help-content {
  max-width: 670px;
}

.help-content section,.reading section+section {
  margin-top: 52px;
}

.reading {
  max-width: 760px;
}

.reading>p+p {
  margin-top: 1em;
}

.plans {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.sale ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.sale.selected {
  border-color: var(--blue);
}

.checkout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  margin-top: 24px;
}

.menu-rows {
  max-width: 680px;
}

.demo-media {
  display: block;
  max-width: 100%;
  max-height: 550px;
  height: auto;
  object-fit: contain;
}

.page figure {
  margin-bottom: 25px;
}

.page>.text-action {
  align-self: flex-start;
}

form {
  display: grid;
  max-width: 680px;
  gap: 14px;
}

textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--edge);
  border-radius: 10px;
  padding: 14px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

form button {
  justify-self: start;
  justify-content: center;
}

button:disabled {
  opacity: .6;
}

.status,.plan,.reading {
  overflow-wrap: anywhere;
}
