:root {
  --bg: #fbfcfb;
  --surface: #ffffff;
  --surface-soft: #f2fafb;
  --ink: #050d26;
  --muted: #374866;
  --quiet: #6a7890;
  --line: #dce7ed;
  --line-strong: #c5d8e2;
  --teal: #027a7a;
  --teal-dark: #005d61;
  --teal-soft: #e8f7f7;
  --sky: #f0f8fb;
  --mint: #e8f5ee;
  --gold: #f5bd3f;
  --shadow: 0 24px 70px rgba(3, 22, 39, 0.08);
  --shadow-soft: 0 12px 34px rgba(3, 22, 39, 0.06);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 52%, rgba(194, 231, 239, 0.24), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 122, 122, 0.026) 1px, transparent 1px),
    linear-gradient(180deg, rgba(2, 122, 122, 0.022) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 68%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 68%);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  font: inherit;
}

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

svg {
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding: 0 44px;
  border-bottom: 1px solid rgba(5, 13, 38, 0.08);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  line-height: 1;
}

.brand-text {
  display: grid;
  gap: 5px;
}

.brand-text strong {
  font-size: clamp(1.62rem, 2.55vw, 2.32rem);
  font-weight: 850;
  line-height: 1;
}

.brand-text small {
  color: var(--quiet);
  font-size: clamp(0.86rem, 1.2vw, 1.08rem);
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 45%),
    linear-gradient(135deg, #008a8f, #00626a);
  box-shadow: 0 18px 40px rgba(0, 98, 106, 0.22);
}

.brand-mark svg {
  width: 31px;
  height: 31px;
  stroke: currentColor;
  stroke-width: 2.1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(28px, 4vw, 56px);
  color: #020923;
  font-size: 1.12rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--teal);
  opacity: 0;
  transform: scaleX(0.8);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.read-online-link {
  margin-left: clamp(12px, 2.2vw, 34px);
  color: var(--teal-dark);
}

.read-online-link::before {
  position: absolute;
  top: 50%;
  left: calc(clamp(12px, 2.2vw, 34px) * -0.5);
  width: 1px;
  height: 22px;
  content: "";
  background: rgba(5, 13, 38, 0.14);
  transform: translateY(-50%);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.menu-button span:not(.visually-hidden) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.76fr);
  gap: clamp(38px, 6vw, 84px);
  align-items: center;
  max-width: 1380px;
  min-height: calc(100vh - 272px);
  margin: 0 auto;
  padding: clamp(62px, 7vw, 86px) 60px 50px;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  color: #020923;
  font-size: clamp(4.2rem, 6vw, 5.62rem);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 520px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1.22rem, 2vw, 1.58rem);
  line-height: 1.48;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 42px;
}

.reader-link {
  margin: 22px 0 0;
  color: var(--quiet);
  font-size: 1rem;
  line-height: 1.5;
}

.reader-link a {
  color: var(--teal-dark);
  font-weight: 760;
  text-decoration: underline;
  text-decoration-color: rgba(2, 122, 122, 0.34);
  text-underline-offset: 5px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 72px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 0 40px;
  font-size: 1.24rem;
  font-weight: 790;
  line-height: 1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.primary-button {
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 16px 34px rgba(0, 93, 97, 0.22);
}

.primary-button:hover,
.primary-button:focus-visible {
  box-shadow: 0 20px 44px rgba(0, 93, 97, 0.28);
}

.secondary-button {
  color: var(--teal-dark);
  border-color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.72);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.compact {
  min-height: 56px;
  padding: 0 24px;
  font-size: 1rem;
}

.cc0-card {
  position: relative;
  overflow: hidden;
  min-height: 510px;
  padding: 42px 50px 38px;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background:
    radial-gradient(circle at 15% 14%, rgba(222, 244, 247, 0.9), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 250, 252, 0.88));
  box-shadow: var(--shadow-soft);
}

.cc0-card::before,
.cc0-card::after {
  position: absolute;
  content: "";
  border: 2px solid rgba(2, 122, 122, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.cc0-card::before {
  right: -72px;
  bottom: -108px;
  width: 250px;
  height: 250px;
}

.cc0-card::after {
  right: -12px;
  bottom: -72px;
  width: 170px;
  height: 170px;
}

.cc0-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 30px;
}

.cc0-badge {
  display: inline-grid;
  place-items: center;
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: white;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(135deg, var(--teal), #00636f);
  box-shadow: 0 16px 34px rgba(0, 93, 97, 0.18);
  font-size: 1.46rem;
  font-weight: 780;
}

.cc0-heading h2 {
  margin: 0;
  color: #030a23;
  font-size: clamp(1.85rem, 3vw, 2.48rem);
  line-height: 1.1;
  font-weight: 830;
}

.cc0-list {
  position: relative;
  z-index: 1;
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cc0-list li {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 96px;
  border-top: 1px solid var(--line-strong);
  color: #020923;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  font-weight: 500;
}

.cc0-list li:first-child {
  border-top: 0;
}

.icon-bubble,
.summary-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-dark);
  background:
    radial-gradient(circle at 32% 24%, #ffffff, transparent 48%),
    var(--sky);
}

.icon-bubble {
  width: 58px;
  height: 58px;
}

.icon-bubble svg,
.summary-icon svg {
  stroke: currentColor;
  stroke-width: 2.05;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-bubble svg {
  width: 31px;
  height: 31px;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1420px;
  margin: 0 auto;
  padding: 48px 60px 62px;
  border-top: 1px solid rgba(5, 13, 38, 0.13);
}

.summary-strip article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 116px;
  padding: 0 42px;
  border-left: 1px solid rgba(5, 13, 38, 0.13);
}

.summary-strip article:first-child {
  border-left: 0;
  padding-left: 10px;
}

.summary-icon {
  width: 74px;
  height: 74px;
}

.summary-icon svg {
  width: 39px;
  height: 39px;
}

.summary-strip h2 {
  margin: 0;
  color: #020923;
  font-size: 1.1rem;
  line-height: 1.22;
}

.summary-strip p {
  max-width: 280px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.quiet-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(360px, 0.86fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: start;
  max-width: 1220px;
  margin: 0 auto;
  padding: 96px 60px;
  border-top: 1px solid rgba(5, 13, 38, 0.09);
}

.section-copy {
  max-width: 520px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-copy h2 {
  margin: 0;
  color: #020923;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.02;
  font-weight: 830;
}

.section-copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.6;
}

.download-panel,
.faq-list {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.download-panel {
  padding: 16px;
}

.format-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.format-option {
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-weight: 780;
}

.format-option.active {
  color: var(--teal-dark);
  border-color: rgba(2, 122, 122, 0.22);
  background: var(--teal-soft);
}

.selected-format {
  min-height: 228px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 90%, rgba(2, 122, 122, 0.12), transparent 34%),
    var(--surface);
}

.selected-format h3 {
  margin: 0;
  color: #020923;
  font-size: 2rem;
  line-height: 1;
}

.selected-format p:not(.eyebrow) {
  max-width: 430px;
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.license-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 10px;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 760;
  text-decoration: underline;
  text-decoration-color: rgba(2, 122, 122, 0.34);
  text-underline-offset: 5px;
}

.faq-list {
  overflow: hidden;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 0;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 0 24px;
  color: #020923;
  cursor: pointer;
  font-weight: 780;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--teal-dark);
  font-size: 1.45rem;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.55;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  max-width: min(380px, calc(100vw - 44px));
  padding: 14px 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  font-size: 0.96rem;
  font-weight: 720;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

@media (max-width: 1060px) {
  .site-header {
    padding: 0 28px;
  }

  .hero,
  .quiet-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding: 56px 34px 44px;
  }

  .cc0-card {
    max-width: 720px;
  }

  .summary-strip {
    grid-template-columns: 1fr;
    padding: 34px;
  }

  .summary-strip article,
  .summary-strip article:first-child {
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid rgba(5, 13, 38, 0.11);
  }

  .summary-strip article:first-child {
    border-top: 0;
  }

  .quiet-section {
    padding: 72px 34px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 76px;
    padding: 0 18px;
  }

  .brand {
    gap: 12px;
  }

  .brand-text strong {
    font-size: 1.38rem;
  }

  .brand-text small {
    font-size: 0.86rem;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-mark svg {
    width: 27px;
    height: 27px;
  }

  .menu-button {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 16px;
    border-radius: 10px;
  }

  .read-online-link {
    margin-left: 0;
    color: var(--teal-dark);
    background: var(--teal-soft);
  }

  .read-online-link::before {
    display: none;
  }

  .site-nav a:hover {
    background: var(--teal-soft);
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    padding: 46px 22px 34px;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .hero-copy p {
    margin-top: 24px;
    font-size: 1.12rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
  }

  .button {
    width: 100%;
    min-height: 58px;
    padding: 0 22px;
    font-size: 1rem;
  }

  .cc0-card {
    min-height: 0;
    padding: 28px 22px 22px;
    border-radius: 18px;
  }

  .cc0-heading {
    gap: 16px;
    margin-bottom: 18px;
  }

  .cc0-badge {
    width: 62px;
    height: 62px;
    font-size: 1.1rem;
  }

  .cc0-heading h2 {
    font-size: 1.72rem;
  }

  .cc0-list li {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    min-height: 78px;
    font-size: 1rem;
  }

  .icon-bubble {
    width: 46px;
    height: 46px;
  }

  .icon-bubble svg {
    width: 25px;
    height: 25px;
  }

  .summary-strip {
    padding: 20px 22px 36px;
  }

  .summary-strip article {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 16px;
  }

  .summary-icon {
    width: 54px;
    height: 54px;
  }

  .summary-icon svg {
    width: 30px;
    height: 30px;
  }

  .quiet-section {
    grid-template-columns: 1fr;
    padding: 56px 22px;
  }

  .section-copy h2 {
    font-size: 2.3rem;
  }

  .format-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .selected-format {
    padding: 22px;
  }

  .license-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand-text {
    max-width: 230px;
  }

  .hero-copy h1 {
    font-size: 2.85rem;
  }

  .format-options {
    grid-template-columns: 1fr;
  }
}
