:root {
  color-scheme: light dark;
  --header: #0C4A6E;
  --ground: #EEF3F7;
  --card: #FFFFFF;
  --line: #E5E5EA;
  --chip-border: #DCE4EA;
  --text: #16202A;
  --secondary: #5B6570;
  --link: #0C4A6E;
  --accent: #0C4A6E;
  --on-accent: #FFFFFF;
  --on-header: #FFFFFF;
  --on-header-secondary: #BAD9EA;
  --on-header-fill: rgba(255, 255, 255, 0.14);
  --sky: #7CC4FF;
  --gold: #FCD34D;
  --overdue: #C8102E;
  --trial: #8A5A00;
  --trial-fill: #FFF3D6;
  --bezel: #071824;
  --shadow: 0 1px 2px rgba(12, 74, 110, 0.06), 0 10px 28px rgba(12, 74, 110, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0B1620;
    --card: #152433;
    --line: #27394B;
    --chip-border: #27394B;
    --text: #F2F5F8;
    --secondary: #9FB3C2;
    --link: #7CC4FF;
    --accent: #1B6FA0;
    --overdue: #FB7185;
    --trial: #FBBF24;
    --trial-fill: #3A3014;
    --bezel: #02080D;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px rgba(0, 0, 0, 0.25);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--card);
  border-radius: 10px;
}

/* Header block: the app's Ocean header, a deep blue slab with a rounded lower edge. */

.ocean {
  background: var(--header);
  color: var(--on-header);
  border-radius: 0 0 36px 36px;
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--on-header);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.nav-links {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  border-radius: 22px;
  color: var(--on-header-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--on-header);
  background: var(--on-header-fill);
}

/* Landing hero */

.hero {
  display: grid;
  gap: 40px;
  padding-top: 28px;
}

.hero-copy {
  padding-bottom: 8px;
}

.hero h1 {
  font-size: clamp(2.3rem, 6.4vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.hero .lede {
  margin-top: 18px;
  max-width: 34em;
  color: var(--on-header-secondary);
  font-size: clamp(1.06rem, 2.1vw, 1.22rem);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 28px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 27px;
  background: #FFFFFF;
  color: #0C4A6E;
  font-weight: 700;
  text-decoration: none;
}

.store svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.cta-note {
  color: var(--on-header-secondary);
  font-size: 0.92rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 7px 13px;
  border-radius: 18px;
  background: var(--on-header-fill);
  font-size: 0.9rem;
  font-weight: 600;
}

/* The whole phone shows: its tab bar is at the bottom. */
.hero-shot {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding-bottom: 36px;
}

.shot-note {
  color: var(--on-header-secondary);
  font-size: 0.88rem;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 48px;
    padding-top: 44px;
  }

  .hero-copy {
    padding-bottom: 72px;
  }

  .hero-shot {
    padding-bottom: 52px;
  }
}

/* The phone: the app's three tabs drawn in markup, with made-up entries. The radio buttons at the top of the screen
   pick the tab that shows; the labels in the bar at the bottom are their visible side. */

.phone {
  flex: none;
  width: 310px;
  height: 674px;
  padding: 10px;
  border-radius: 50px;
  background: var(--bezel);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.16), 0 30px 60px rgba(0, 0, 0, 0.35);
}

.screen {
  --fade: 0.28s;
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 40px;
  background: var(--ground);
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
  .screen {
    --fade: 0s;
  }
}

.screen > input {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.s-view {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--fade) ease, visibility 0s linear var(--fade);
}

#mock-home:checked ~ .s-home,
#mock-calendar:checked ~ .s-cal,
#mock-spending:checked ~ .s-spend {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--fade) ease;
}

.s-head {
  padding: 12px 16px 14px;
  border-radius: 0 0 26px 26px;
  background: var(--header);
  color: var(--on-header);
}

.s-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 22px;
  padding-inline: 12px;
  font-size: 12px;
  font-weight: 600;
}

.s-island {
  width: 74px;
  height: 20px;
  border-radius: 10px;
  background: var(--bezel);
}

.s-batt {
  width: 20px;
  height: 10px;
  border-radius: 3px;
  background: var(--on-header);
}

.s-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  margin-top: 16px;
}

.s-title {
  flex: 1;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.s-round {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--on-header-fill);
}

.s-round svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.s-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.s-label {
  color: var(--on-header-secondary);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.s-pill {
  padding: 4px 10px;
  border-radius: 12px;
  background: var(--on-header-fill);
  font-size: 10.5px;
  font-weight: 600;
}

.s-total {
  margin-top: 6px;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.s-total small {
  color: var(--on-header-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.s-sub {
  margin-top: 2px;
  color: var(--on-header-secondary);
  font-size: 12.5px;
}

.s-next {
  margin-top: 10px;
  font-size: 12.5px;
}

.s-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 10px;
  text-align: center;
}

.s-week span {
  display: grid;
  justify-items: center;
  gap: 3px;
}

.s-week i {
  color: var(--on-header-secondary);
  font-size: 9.5px;
  font-style: normal;
}

.s-week b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12.5px;
  font-weight: 500;
}

.s-week .today b {
  background: var(--on-header);
  color: var(--header);
  font-weight: 700;
}

.s-week u {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: transparent;
}

.s-week .due u {
  background: var(--on-header);
}

.s-week .late u {
  background: #FFD1D6;
}

.s-chips {
  display: flex;
  gap: 6px;
  padding: 12px 0 0 14px;
  white-space: nowrap;
}

.s-chips span {
  padding: 7px 12px;
  border: 1px solid var(--chip-border);
  border-radius: 16px;
  background: var(--card);
  font-size: 12px;
  font-weight: 600;
}

.s-chips .on {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.s-section {
  padding: 14px 16px 5px;
  color: var(--secondary);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.s-card {
  margin-inline: 14px;
  border-radius: 14px;
  background: var(--card);
}

.s-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
}

.s-row + .s-row {
  border-top: 1px solid var(--line);
  margin-left: 58px;
  padding-left: 0;
}

.s-row + .s-row .s-logo {
  margin-left: -46px;
}

.s-logo {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
}

.s-name {
  flex: 1;
  min-width: 0;
}

.s-name b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.s-name span {
  color: var(--secondary);
  font-size: 11px;
  white-space: nowrap;
}

.s-name .late {
  color: var(--overdue);
}

.s-name .s-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 5px 11px;
  border-radius: 13px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 11px;
  font-weight: 600;
}

.s-name .s-tag {
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--trial-fill);
  color: var(--trial);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: 1px;
}

.s-price {
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.s-price.late {
  color: var(--overdue);
}

.s-price small {
  display: block;
  color: var(--secondary);
  font-size: 10px;
  font-weight: 400;
}

/* Calendar tab */

.s-month {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 14.5px;
}

.s-month b {
  font-weight: 600;
}

.s-month .s-round {
  width: 28px;
  height: 28px;
}

.s-month .s-round svg {
  width: 13px;
  height: 13px;
}

.s-month .s-pill {
  margin-left: auto;
  color: var(--on-header-secondary);
}

.s-cal .s-total small {
  font-size: 12.5px;
}

.s-sub b {
  color: var(--on-header);
  font-weight: 600;
}

.s-sub .late {
  color: #FFD1D6;
}

.s-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 12px;
  padding: 10px 6px 4px;
  text-align: center;
}

.s-grid i {
  padding-bottom: 4px;
  color: var(--secondary);
  font-size: 9.5px;
  font-style: normal;
  font-weight: 600;
}

.s-grid span {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 2px;
  height: 38px;
}

.s-grid b {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12.5px;
  font-weight: 500;
}

.s-grid .today b {
  background: var(--ground);
  color: var(--link);
  font-weight: 700;
}

.s-grid .late b::after {
  content: "";
  position: absolute;
  top: 1px;
  right: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--overdue);
  box-shadow: 0 0 0 1.5px var(--card);
}

.s-grid u {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}

/* Spending tab */

.s-range {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.s-range span {
  flex: 1;
  padding: 6px 0;
  border-radius: 14px;
  background: var(--on-header-fill);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.s-range .on {
  background: var(--on-header);
  color: var(--header);
}

.s-dates {
  color: var(--on-header-secondary);
  font-size: 10.5px;
}

.s-chart {
  margin-top: 12px;
  padding: 12px 12px 8px;
}

.s-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--secondary);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.s-chart-head b {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.s-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 72px;
  margin: 8px 0 16px;
}

.s-bars span {
  position: relative;
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
}

.s-bars i {
  position: absolute;
  inset: auto 0 -15px;
  color: var(--secondary);
  font-size: 8.5px;
  font-style: normal;
  text-align: center;
}

.s-opt {
  margin-top: 10px;
}

.s-opt .s-logo {
  background: var(--accent);
}

.s-opt .s-logo svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.s-opt .s-name span {
  display: block;
  white-space: normal;
}

.s-chev {
  flex: none;
  width: 7px;
  height: 12px;
  fill: none;
  stroke: var(--secondary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.s-cats {
  padding: 3px 12px 10px;
}

.s-cats div {
  display: grid;
  grid-template-columns: 8px 1fr auto 28px;
  align-items: center;
  gap: 5px 8px;
  padding-top: 9px;
  font-size: 12.5px;
}

.s-cats i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
}

.s-cats b {
  font-weight: 700;
}

.s-cats em {
  color: var(--secondary);
  font-size: 11px;
  font-style: normal;
  text-align: right;
}

.s-cats u {
  grid-column: 1 / -1;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c) var(--p), var(--line) var(--p));
}

/* The floating tab bar and the plus beside it */

.s-bar {
  position: absolute;
  inset: auto 12px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.s-tabs {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 50px;
  padding-inline: 6px;
  border: 1px solid var(--chip-border);
  border-radius: 25px;
  background: var(--card);
  box-shadow: 0 6px 18px rgba(7, 24, 36, 0.18);
}

.s-tabs label {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  border-radius: 22px;
  color: var(--secondary);
  font-size: 9.5px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease;
}

.s-tabs label:active {
  transform: scale(0.93);
}

.s-tabs svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#mock-home:checked ~ .s-bar [for="mock-home"],
#mock-calendar:checked ~ .s-bar [for="mock-calendar"],
#mock-spending:checked ~ .s-bar [for="mock-spending"] {
  color: var(--link);
  font-weight: 700;
}

#mock-home:focus-visible ~ .s-bar [for="mock-home"],
#mock-calendar:focus-visible ~ .s-bar [for="mock-calendar"],
#mock-spending:focus-visible ~ .s-bar [for="mock-spending"] {
  outline: 3px solid var(--sky);
  outline-offset: -4px;
}

/* The tab that takes over is pressed for a moment, as under a finger. */
@media (prefers-reduced-motion: no-preference) {
  #mock-home:checked ~ .s-bar [for="mock-home"] svg,
  #mock-calendar:checked ~ .s-bar [for="mock-calendar"] svg,
  #mock-spending:checked ~ .s-bar [for="mock-spending"] svg {
    animation: s-press 0.34s ease;
  }
}

@keyframes s-press {
  40% {
    transform: scale(0.82);
  }
}

.s-plus {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 6px 18px rgba(7, 24, 36, 0.22);
}

.s-plus svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

/* Sections */

.section {
  padding-block: 72px 0;
}

.eyebrow {
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section h2 {
  margin-top: 8px;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
}

.section .intro {
  margin-top: 12px;
  max-width: 40em;
  color: var(--secondary);
  font-size: 1.06rem;
}

.grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}

.card {
  padding: 22px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 8px;
  color: var(--secondary);
  font-size: 0.98rem;
}

.tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: var(--accent);
  color: var(--on-accent);
}

.tile svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tag {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 9px;
  background: var(--trial-fill);
  color: var(--trial);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: 2px;
}

/* What Subrella leaves alone */

.promise {
  margin-top: 28px;
  padding: 8px 26px;
  border-radius: 24px;
  background: var(--header);
  color: var(--on-header);
}

.promise dl {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  column-gap: 40px;
}

.promise div {
  padding-block: 20px;
  border-bottom: 1px solid var(--on-header-fill);
}

.promise dt {
  font-size: 1.08rem;
  font-weight: 700;
}

.promise dd {
  margin: 6px 0 0;
  color: var(--on-header-secondary);
  font-size: 0.98rem;
}

.promise a {
  color: var(--on-header);
}

/* Plans */

.plan {
  display: flex;
  flex-direction: column;
}

.plan .price {
  margin-top: 10px;
  color: var(--text);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.plan .price small {
  color: var(--secondary);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
}

.plan ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: var(--secondary);
  font-size: 0.96rem;
}

.plan li {
  position: relative;
  padding-left: 24px;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.42em;
  width: 11px;
  height: 6px;
  border-left: 2.2px solid var(--link);
  border-bottom: 2.2px solid var(--link);
  transform: rotate(-45deg);
}

.plan.best {
  outline: 2px solid var(--link);
  outline-offset: -2px;
}

.fine {
  margin-top: 16px;
  color: var(--secondary);
  font-size: 0.88rem;
}

/* Questions */

.faq {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  max-width: 760px;
}

.faq details {
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 14px 20px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2.2px solid var(--secondary);
  border-bottom: 2.2px solid var(--secondary);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.18s ease;
}

.faq details[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.faq details p {
  padding: 0 20px 18px;
  color: var(--secondary);
}

/* Footer */

.footer {
  margin-top: 72px;
  padding-block: 32px 44px;
  border-top: 1px solid var(--line);
  color: var(--secondary);
  font-size: 0.92rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
}

.footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a {
  display: inline-block;
  padding-block: 6px;
  font-weight: 600;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer .small {
  margin-top: 14px;
  max-width: 46em;
  font-size: 0.85rem;
}

/* Text pages: privacy, terms, support */

.doc-head {
  padding-block: 20px 34px;
}

.doc-head h1 {
  font-size: clamp(2rem, 5vw, 2.7rem);
  font-weight: 800;
}

.doc-head p {
  margin-top: 8px;
  color: var(--on-header-secondary);
}

.doc {
  width: min(100% - 40px, 760px);
  margin: 28px auto 0;
  padding: clamp(22px, 5vw, 44px);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.doc > :first-child {
  margin-top: 0;
}

.doc h2 {
  margin-top: 40px;
  font-size: 1.4rem;
  font-weight: 750;
}

.doc h3 {
  margin-top: 26px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.doc p,
.doc ul,
.doc ol {
  margin-top: 12px;
}

.doc ul,
.doc ol {
  padding-left: 1.25em;
}

.doc li + li {
  margin-top: 6px;
}

.doc .summary {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--ground);
}

.doc .summary ul {
  margin-top: 0;
}

.doc .summary strong {
  display: block;
  margin-bottom: 8px;
}

.doc .mail {
  font-weight: 650;
}
