* {
  box-sizing: border-box;
}

:root {
  --brand: #EC6917;
  --brand-dark: #C95510;
  --brand-soft: #FFF1E8;
  --ink: #17191F;
  --text: #303540;
  --muted: #687386;
  --subtle: #98A2B3;
  --bg: #F4F6FA;
  --panel: #FFFFFF;
  --panel-soft: #F9FAFC;
  --line: #E4E9F1;
  --line-strong: #D6DEEA;
  --shadow: 0 16px 38px rgba(22, 29, 43, 0.08);
  --shadow-soft: 0 8px 22px rgba(22, 29, 43, 0.06);
  --container: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
}

::selection {
  color: #FFFFFF;
  background: var(--brand);
}

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(236, 105, 23, 0.24);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px max(24px, calc((100vw - var(--container)) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(228, 233, 241, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: 42px;
}

nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

nav a:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

nav a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-soft);
}

main {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 56px;
}

.library-hero {
  margin-bottom: 18px;
}

.hero-copy,
.manual-group,
.support-panel,
.faq-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  padding: 36px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.manual-page .group-heading .eyebrow,
.manual-page .support-panel .eyebrow,
.manual-page .faq-section .eyebrow,
.download-page .app-intro .eyebrow,
.download-page .app-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  margin: 0 0 16px;
  padding: 5px 10px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  color: #FFFFFF;
  background: var(--brand);
  line-height: 1;
}

.download-page .app-copy .eyebrow {
  margin-bottom: 14px;
}

.hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy p,
.group-heading p,
.section-heading p,
.support-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy p {
  max-width: 680px;
  margin: 16px 0 0;
  font-size: 17px;
}

.hero-links,
.category-tabs a,
.manual-docs a,
.support-actions a,
.footer-links a,
.faq-content a {
  text-decoration: none;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.hero-links a:last-child {
  color: #FFFFFF;
  background: var(--brand);
  border-color: var(--brand);
}

.hero-links a:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
  text-decoration: none;
}

.hero-links a:last-child:hover {
  color: #FFFFFF;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  text-decoration: none;
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 26px;
  padding: 7px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.category-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  transition: color 160ms ease, background 160ms ease;
}

.category-tabs a:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

.manual-group,
.support-panel,
.faq-section {
  padding: 26px;
}

.manual-group + .manual-group,
.support-panel,
.faq-section {
  margin-top: 28px;
}

.group-heading,
.section-heading {
  max-width: 700px;
  margin-bottom: 18px;
}

.group-heading h2,
.section-heading h2,
.support-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: 0;
}

.group-heading p,
.section-heading p {
  margin: 10px 0 0;
  font-size: 15px;
}

.manual-list {
  display: grid;
  gap: 10px;
}

.manual-row {
  display: grid;
  grid-template-columns: 92px minmax(190px, 0.72fr) minmax(420px, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.manual-row:hover {
  background: #FFFFFF;
  border-color: rgba(236, 105, 23, 0.26);
  box-shadow: var(--shadow-soft);
}

.manual-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  aspect-ratio: 1 / 1;
  padding: 10px;
  overflow: hidden;
  background: #F1F4F8;
  border-radius: 14px;
}

.manual-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 10px rgba(22, 29, 43, 0.12));
}

.manual-info {
  min-width: 0;
}

.product-type {
  display: block;
  margin-bottom: 6px;
  color: var(--subtle);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.manual-info h3 {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: 0;
}

.manual-docs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.manual-docs a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
  color: var(--ink);
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.manual-docs a:hover {
  color: var(--brand);
  border-color: rgba(236, 105, 23, 0.36);
  background: #FFF9F5;
  transform: translateY(-1px);
}

.manual-docs span {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manual-docs small {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--subtle);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(236, 105, 23, 0.08), rgba(255, 255, 255, 0) 42%),
    #FFFFFF;
}

.support-panel p {
  max-width: 650px;
  margin: 12px 0 0;
}

.support-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button.primary {
  color: #FFFFFF;
  background: var(--brand);
}

.button.primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 10px 22px rgba(236, 105, 23, 0.22);
}

.button.secondary {
  color: var(--ink);
  background: #FFFFFF;
  border-color: var(--line-strong);
}

.button.secondary:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-soft);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  overflow: hidden;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}

details[open] {
  background: #FFFFFF;
  border-color: rgba(236, 105, 23, 0.26);
}

summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 18px 58px 18px 20px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.35;
  list-style: none;
}

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

summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 20px;
  transform: translateY(-50%);
}

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

.faq-content {
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.7;
}

.faq-content p {
  margin: 0 0 14px;
}

.faq-content ol {
  margin: 0 0 14px 20px;
  padding: 0;
}

.faq-content li + li {
  margin-top: 8px;
}

.faq-content a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.footer-links a::before {
  content: "";
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  background: currentColor;
  opacity: 0.92;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.footer-links a[href^="mailto:"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.5 5.5a3 3 0 0 1-3 0L2 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.5 5.5a3 3 0 0 1-3 0L2 7'/%3E%3C/svg%3E");
}

.footer-links a[href*="instagram.com"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='20' x='2' y='2' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cpath d='M17.5 6.5h.01'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='20' x='2' y='2' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cpath d='M17.5 6.5h.01'/%3E%3C/svg%3E");
}

.footer-links a[href*="youtube.com"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31.6 31.6 0 0 0 0 12a31.6 31.6 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1A31.6 31.6 0 0 0 24 12a31.6 31.6 0 0 0-.5-5.8ZM9.6 15.6V8.4L15.8 12l-6.2 3.6Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31.6 31.6 0 0 0 0 12a31.6 31.6 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1A31.6 31.6 0 0 0 24 12a31.6 31.6 0 0 0-.5-5.8ZM9.6 15.6V8.4L15.8 12l-6.2 3.6Z'/%3E%3C/svg%3E");
}

.faq-content a:hover,
.footer-links a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.footer-brand img {
  display: block;
  width: auto;
  height: 38px;
}

.footer-brand p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.subscription-page {
  background: #F3F6FB;
}

.subscription-main {
  width: min(var(--container), calc(100% - 40px));
  padding: 32px 0 44px;
}

.subscription-intro,
.subscription-service,
.subscription-contact {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.subscription-intro {
  padding: 28px;
}

.intro-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.intro-row h1 {
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  line-height: 1.04;
  letter-spacing: 0;
}

.intro-row p {
  max-width: 620px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.intro-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(236, 105, 23, 0.28);
  border-radius: 999px;
  color: var(--brand);
  background: #FFF9F5;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.intro-contact:hover {
  color: #FFFFFF;
  background: var(--brand);
}

.subscription-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.subscription-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.subscription-tabs a:hover {
  color: var(--brand);
  border-color: rgba(236, 105, 23, 0.34);
  background: var(--brand-soft);
}

.subscription-status {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--ink);
  background: #F7F9FC;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.subscription-status[data-type="success"] {
  color: #17633A;
  background: #EAF8F0;
  border-color: #BCE7CD;
}

.subscription-status[data-type="warning"] {
  color: #855400;
  background: #FFF7E8;
  border-color: #F2D49C;
}

.subscription-status[data-type="error"] {
  color: #9A1B1B;
  background: #FFF0F0;
  border-color: #F0B8B8;
}

.subscription-service {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  margin-top: 22px;
  padding: 24px;
}

.service-overview {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  grid-template-areas:
    "visual label"
    "visual title"
    "visual desc"
    "visual facts";
  column-gap: 24px;
  row-gap: 0;
  align-items: start;
  min-width: 0;
}

.service-visual {
  grid-area: visual;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 528 / 331;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #F7F9FC;
}

.service-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.service-overview > .eyebrow {
  grid-area: label;
  margin-bottom: 14px;
}

.service-overview h2 {
  grid-area: title;
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0;
}

.service-overview p {
  grid-area: desc;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.service-facts {
  grid-area: facts;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.service-facts div {
  flex: 1 1 210px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel-soft);
}

.service-facts dt {
  margin: 0 0 4px;
  color: var(--subtle);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.plan-grid {
  display: grid;
  align-content: start;
  align-items: stretch;
  gap: 12px;
  min-width: 0;
}

.four-plans {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tier-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(54px, 1fr) auto auto;
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(236, 105, 23, 0.035), rgba(255, 255, 255, 0) 42%),
    #FFFFFF;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.plan-card:hover {
  border-color: rgba(236, 105, 23, 0.28);
  box-shadow: 0 12px 26px rgba(22, 29, 43, 0.07);
  transform: translateY(-1px);
}

.featured-plan {
  border-color: rgba(236, 105, 23, 0.34);
  background:
    linear-gradient(180deg, rgba(236, 105, 23, 0.07), rgba(255, 255, 255, 0) 45%),
    #FFFFFF;
}

.plan-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.plan-heading h3 {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.plan-heading span {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--brand);
  background: #FFF3EB;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.plan-card p {
  min-height: 42px;
  margin: 11px 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 0;
  padding-top: 2px;
}

.plan-price strong {
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
}

.paypal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  align-self: end;
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  color: #FFFFFF;
  background: var(--brand);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.paypal-button:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: 0 10px 22px rgba(236, 105, 23, 0.2);
  transform: translateY(-1px);
}

.paypal-button:disabled {
  color: #7A8495;
  background: #F7F9FC;
  border-color: #DEE5EE;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.subscription-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 22px;
  padding: 26px;
}

.subscription-contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.16;
  letter-spacing: 0;
}

.subscription-contact p {
  max-width: 640px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.modal-open {
  overflow: hidden;
}

.checkout-modal[hidden] {
  display: none;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 23, 33, 0.48);
  backdrop-filter: blur(6px);
}

.checkout-dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #FFFFFF;
  box-shadow: 0 28px 70px rgba(22, 29, 43, 0.2);
}

.checkout-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #FFFFFF;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.checkout-dialog h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.12;
}

.checkout-note {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.checkout-summary {
  display: grid;
  gap: 0;
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
}

.checkout-summary-main,
.checkout-summary-meta > div {
  min-width: 0;
  padding: 14px;
}

.checkout-summary-main {
  border-bottom: 1px solid var(--line);
  background: #FFFFFF;
}

.checkout-summary-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.checkout-summary-meta > div + div {
  min-width: 112px;
  border-left: 1px solid var(--line);
}

.checkout-summary span,
.checkout-form label span {
  display: block;
  margin-bottom: 6px;
  color: var(--subtle);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-summary strong {
  display: block;
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.3;
}

.checkout-summary [data-checkout-price] {
  font-size: 18px;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.checkout-form label {
  display: block;
}

.checkout-form input {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--ink);
  background: #FFFFFF;
  font: inherit;
  font-size: 15px;
}

.checkout-form input:focus {
  outline: 3px solid rgba(236, 105, 23, 0.18);
  border-color: var(--brand);
}

.checkout-error {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #F0B8B8;
  border-radius: 12px;
  color: #9A1B1B;
  background: #FFF0F0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.checkout-submit:disabled {
  opacity: 0.72;
  cursor: wait;
  box-shadow: none;
}

.download-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #F3F6FB;
}

.download-page .site-footer {
  margin-top: auto;
}

.app-main {
  width: min(var(--container), calc(100% - 40px));
  padding: 32px 0 44px;
}

.app-intro,
.app-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.app-intro {
  padding: 28px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.app-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-width: 0;
  padding: 22px;
}

.app-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  aspect-ratio: 16 / 11;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #FFFFFF;
}

.app-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.app-copy {
  min-width: 0;
}

.app-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: 0;
}

.app-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.store-links {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #FFFFFF;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.store-button::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.store-button.apple::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M17.1 12.6c0-2.3 1.9-3.5 2-3.5-1.1-1.6-2.8-1.8-3.4-1.9-1.4-.1-2.8.8-3.6.8-.7 0-1.9-.8-3.1-.8-1.6 0-3.1.9-3.9 2.4-1.7 2.9-.4 7.2 1.2 9.6.8 1.2 1.8 2.5 3 2.4 1.2-.1 1.7-.8 3.1-.8 1.5 0 1.9.8 3.2.8 1.3 0 2.2-1.2 3-2.4.9-1.3 1.3-2.7 1.3-2.8 0-.1-2.6-1-2.6-4ZM14.7 5.6c.7-.8 1.1-1.9 1-3-.9 0-2 .6-2.7 1.4-.6.7-1.1 1.9-1 3 .9.1 2-.5 2.7-1.4Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M17.1 12.6c0-2.3 1.9-3.5 2-3.5-1.1-1.6-2.8-1.8-3.4-1.9-1.4-.1-2.8.8-3.6.8-.7 0-1.9-.8-3.1-.8-1.6 0-3.1.9-3.9 2.4-1.7 2.9-.4 7.2 1.2 9.6.8 1.2 1.8 2.5 3 2.4 1.2-.1 1.7-.8 3.1-.8 1.5 0 1.9.8 3.2.8 1.3 0 2.2-1.2 3-2.4.9-1.3 1.3-2.7 1.3-2.8 0-.1-2.6-1-2.6-4ZM14.7 5.6c.7-.8 1.1-1.9 1-3-.9 0-2 .6-2.7 1.4-.6.7-1.1 1.9-1 3 .9.1 2-.5 2.7-1.4Z'/%3E%3C/svg%3E");
}

.store-button.google::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M4.2 2.6c-.4.3-.7.9-.7 1.6v15.6c0 .7.3 1.3.8 1.6l8.9-8.9L4.2 2.6Zm10.2 9.1 2.5-2.5L6.1 3c-.2-.1-.4-.2-.6-.2l8.9 8.9Zm-8.9 9.5c.2 0 .4-.1.6-.2l10.8-6.2-2.5-2.5-8.9 8.9Zm12.2-11.8-2.8 2.8 2.8 2.8 2.1-1.2c1.2-.7 1.2-2.5 0-3.2l-2.1-1.2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M4.2 2.6c-.4.3-.7.9-.7 1.6v15.6c0 .7.3 1.3.8 1.6l8.9-8.9L4.2 2.6Zm10.2 9.1 2.5-2.5L6.1 3c-.2-.1-.4-.2-.6-.2l8.9 8.9Zm-8.9 9.5c.2 0 .4-.1.6-.2l10.8-6.2-2.5-2.5-8.9 8.9Zm12.2-11.8-2.8 2.8 2.8 2.8 2.1-1.2c1.2-.7 1.2-2.5 0-3.2l-2.1-1.2Z'/%3E%3C/svg%3E");
}

.store-button:hover {
  color: #FFFFFF;
  border-color: var(--brand);
  background: var(--brand);
  transform: translateY(-1px);
}

.page {
  padding: 44px 0 72px;
}

.hero,
.card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.hero {
  padding: 38px;
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p,
.card p {
  color: var(--muted);
  line-height: 1.65;
}

.card {
  padding: 24px;
}

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

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #EEF1F5;
}

@media (max-width: 1040px) {
  .library-hero,
  .support-panel {
    grid-template-columns: 1fr;
  }

  .subscription-service,
  .subscription-contact {
    grid-template-columns: 1fr;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .four-plans {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .tier-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }

  .manual-row {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .manual-thumb {
    width: 108px;
  }

  .manual-docs {
    grid-column: 1 / -1;
  }

  .support-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
  }

  .brand img {
    height: 36px;
  }

  nav {
    width: 100%;
    gap: 4px;
  }

  nav a {
    min-height: 36px;
    padding-inline: 10px;
    font-size: 13px;
  }

  main {
    width: min(100% - 28px, var(--container));
    padding: 28px 0 54px;
  }

  .subscription-main {
    width: min(100% - 28px, var(--container));
    padding: 24px 0 34px;
  }

  .app-main {
    width: min(100% - 28px, var(--container));
    padding: 24px 0 34px;
  }

  .hero-copy,
  .manual-group,
  .support-panel,
  .faq-section {
    border-radius: 18px;
  }

  .subscription-intro,
  .subscription-service,
  .subscription-contact,
  .app-intro,
  .app-card {
    border-radius: 18px;
  }

  .hero-copy,
  .manual-group,
  .support-panel,
  .faq-section {
    padding: 22px;
  }

  .subscription-intro,
  .subscription-service,
  .subscription-contact,
  .app-intro,
  .app-card {
    padding: 20px;
  }

  .intro-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro-row h1 {
    font-size: 38px;
  }

  .intro-contact {
    width: 100%;
  }

  .subscription-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .subscription-tabs a {
    white-space: normal;
  }

  .app-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .app-shot {
    aspect-ratio: 16 / 11;
    padding: 0;
    border-radius: 16px;
  }

  .app-copy h2 {
    font-size: 26px;
  }

  .store-button {
    white-space: normal;
  }

  .service-visual {
    margin-bottom: 16px;
    padding: 0;
    border-radius: 16px;
  }

  .service-overview {
    grid-template-columns: 1fr;
    grid-template-areas:
      "visual"
      "label"
      "title"
      "desc"
      "facts";
  }

  .service-overview h2,
  .subscription-contact h2 {
    font-size: 26px;
  }

  .four-plans,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .checkout-modal {
    align-items: flex-start;
    padding: 14px;
  }

  .checkout-dialog {
    max-height: calc(100vh - 28px);
    padding: 22px;
    border-radius: 18px;
  }

  .checkout-dialog h2 {
    font-size: 26px;
  }

  .checkout-summary {
    grid-template-columns: 1fr;
  }

  .checkout-summary-meta {
    grid-template-columns: 1fr;
  }

  .checkout-summary-meta > div + div {
    min-width: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .plan-card {
    min-height: 0;
    padding: 16px;
  }

  .plan-heading {
    align-items: flex-start;
  }

  .plan-price strong {
    font-size: 30px;
  }

  .paypal-button {
    white-space: normal;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-links a,
  .button {
    width: 100%;
  }

  .category-tabs {
    border-radius: 18px;
  }

  .category-tabs a {
    flex: 1 1 100%;
  }

  .manual-group + .manual-group,
  .support-panel,
  .faq-section {
    margin-top: 22px;
  }

  .group-heading,
  .section-heading {
    margin-bottom: 16px;
  }

  .group-heading h2,
  .section-heading h2,
  .support-panel h2 {
    font-size: 26px;
  }

  .manual-row {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .manual-thumb {
    width: 82px;
    padding: 9px;
    border-radius: 14px;
  }

  .manual-info {
    padding-top: 0;
  }

  .manual-info h3 {
    font-size: 23px;
  }

  .manual-docs {
    grid-template-columns: 1fr;
    grid-column: 1 / -1;
  }

  .manual-docs a {
    min-height: 42px;
  }

  .support-actions,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  summary {
    padding: 18px 54px 18px 18px;
  }

  .faq-content {
    padding: 0 18px 18px;
  }

  .footer-inner {
    width: min(100% - 28px, var(--container));
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

}
