/* Torus: a compact, product-led companion to the personal folio. */
.product-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.product-brand img { width: 50px; height: 50px; border-radius: 14px; }
.product-brand strong { display: block; font-family: var(--display); font-size: calc(36px * var(--scale)); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.product-byline { display: inline-block; margin-top: 6px; font-size: calc(14px * var(--scale)); color: var(--muted); line-height: 1.4; }
.product-byline:hover { color: var(--ink); }
.product-page .main-nav .nav-download { border-radius: 999px; background: var(--ink); color: var(--paper); padding: 12px 26px; font-weight: 600; }
.product-hero { text-align: center; padding-block: 48px 36px; }
.product-hero .kicker { margin-bottom: 22px; }
.product-hero h1 { font-size: calc(clamp(46px, 6.4vw, 80px) * var(--scale)); }
.product-hero .lead { max-width: 49ch; margin: 24px auto 28px; font-size: calc(18px * var(--scale)); line-height: 1.7; }
.product-hero .actions { justify-content: center; gap: 14px 20px; margin-top: 40px; }
.product-hero .small { margin-top: 14px; font-size: calc(12px * var(--scale)); }
.promise-band { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4.5vw, 64px) clamp(24px, 3.5vw, 56px); margin: clamp(48px, 6vw, 80px) 0 0; }
.promise-band li { display: grid; align-content: start; gap: 10px; padding-top: 22px; border-top: 4px solid var(--ink); }
.promise-band strong { color: var(--ink); font-size: calc(clamp(26px, 3.2vw, 42px) * var(--scale)); font-weight: 800; line-height: 1.05; letter-spacing: -0.045em; }
.promise-band span { color: var(--muted); font-size: calc(17px * var(--scale)); line-height: 1.5; }
.app-preview { margin-top: 16px; }
.preview-toolbar { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 22px; }
.segmented { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; background: var(--wash); border: 1px solid transparent; border-radius: 999px; }
.segmented button { min-height: 36px; min-width: 76px; padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: calc(12px * var(--scale)); line-height: 1.3; }
.preview-toolbar .segmented, .segmented.segmented--large { padding: 7px; border: 2px solid var(--ink); background: var(--surface); }
.preview-toolbar .segmented button, .segmented.segmented--large button { min-height: 52px; min-width: 128px; padding: 10px 30px; color: var(--ink); font-size: calc(18px * var(--scale)); font-weight: 600; }
.preview-toolbar .segmented button[aria-pressed='true'], .segmented.segmented--large button[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.segmented button[aria-pressed='true'] { color: var(--ink); background: var(--surface); box-shadow: 0 2px 8px rgb(23 43 75 / 6%); }
.preview-frame { padding: 0; border-radius: 0; background: none; }
.preview-frame a { display: block; border-radius: 18px; }
.preview-frame img { width: 100%; border-radius: 18px; box-shadow: 0 24px 70px rgb(14 28 48 / 28%); }
.preview-frame[data-device='ipad'] img { border: clamp(6px, 1vw, 12px) solid #090b11; border-radius: clamp(20px, 3vw, 34px); }
.preview-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 8px 0; font-size: calc(11px * var(--scale)); color: var(--muted); }
.tour-heading { text-align: center; display: grid; gap: 16px; margin-bottom: 40px; }
.tour-heading h2 { max-width: 22ch; margin-inline: auto; }
.feature-tour { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.feature-screen img { width: 100%; border-radius: 16px; box-shadow: 0 14px 44px rgb(14 28 48 / 18%); }
.feature-screen figcaption { padding: 18px 0 0; font-size: calc(11px * var(--scale)); color: var(--muted); }
.feature-options details { border-bottom: 1px solid var(--line); }
.feature-options summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 20px; list-style: none; font-size: calc(19px * var(--scale)); font-weight: 500; line-height: 1.35; letter-spacing: -0.02em; }
.feature-options summary::-webkit-details-marker { display: none; }
.feature-options summary::after { content: '+'; flex: none; font-size: calc(17px * var(--scale)); font-weight: 400; color: var(--muted); }
.feature-options details[open] summary::after { content: '−'; }
.feature-options p { padding-bottom: 22px; font-size: calc(14px * var(--scale)); line-height: 1.75; }
.more-shots { margin-top: 18px; text-align: right; }
.more-shots .link { font-size: calc(12px * var(--scale)); }

/* A sideways gallery of native screenshots, iPad first. */
.carousel-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrows button { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); font-size: calc(18px * var(--scale)); line-height: 1; }
.carousel-arrows button:hover:not(:disabled) { background: var(--wash); }
.carousel-arrows button:disabled { opacity: 0.35; cursor: not-allowed; }
.carousel-track[hidden] { display: none; }
.carousel-track { display: flex; gap: 28px; overflow-x: auto; padding-bottom: 24px; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: thin; }
.slide { flex: none; display: grid; align-content: start; gap: 16px; margin: 0; scroll-snap-align: start; }
.slide > a { display: block; padding: 14px; border-radius: 28px; background: var(--blue-wash); }
.slide img { width: auto; max-width: none; height: clamp(240px, 34vw, 420px); border-radius: 14px; box-shadow: 0 10px 34px rgb(14 28 48 / 14%); }
.slide figcaption { display: grid; gap: 4px; padding-inline: 6px; }
.slide figcaption strong { color: var(--ink); font-size: calc(18px * var(--scale)); font-weight: 500; letter-spacing: -0.02em; }
.slide figcaption span:last-child { font-size: calc(15px * var(--scale)); line-height: 1.6; }
:root[data-contrast] .slide > a { border: 1px solid var(--ink); }
/* One document, many themes. */
.theme-showcase .tour-heading { margin-bottom: 28px; }
.theme-showcase .lead { max-width: 52ch; margin-inline: auto; font-size: calc(18px * var(--scale)); }
.segmented--themes { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 28px; }
.segmented--themes button { min-width: 0; padding-inline: 18px; font-size: calc(15px * var(--scale)); }
.theme-stage { display: grid; gap: 16px; margin: 0; }
.theme-stage > a { display: block; padding: clamp(14px, 3vw, 40px); border-radius: 36px; background: var(--blue-wash); }
.theme-stage img { width: 100%; border-radius: 14px; box-shadow: 0 24px 70px rgb(14 28 48 / 22%); }
.theme-stage figcaption { text-align: center; font-size: calc(15px * var(--scale)); color: var(--muted); }
:root[data-contrast] .theme-stage > a { border: 1px solid var(--ink); }
.privacy-note { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(36px, 6vw, 88px); border-radius: 44px; background: var(--ink); color: var(--paper); }
.privacy-note > div { display: grid; gap: 22px; }
.privacy-note .kicker, .privacy-note p { color: color-mix(in srgb, var(--paper) 80%, transparent); }
.privacy-note h2 { color: var(--paper); font-family: var(--body); font-size: calc(clamp(56px, 9vw, 124px) * var(--scale)); font-weight: 800; line-height: 0.95; letter-spacing: -0.055em; }
.privacy-lead { max-width: 36ch; font-size: calc(20px * var(--scale)); line-height: 1.55; }
.privacy-note .link { color: var(--paper); text-decoration-color: color-mix(in srgb, var(--paper) 45%, transparent); font-size: calc(16px * var(--scale)); }
.privacy-note :focus-visible { outline-color: var(--paper); }
.privacy-list { list-style: none; padding: 0; display: grid; }
.privacy-list li { position: relative; padding: 20px 0 20px 48px; border-top: 1px solid color-mix(in srgb, var(--paper) 28%, transparent); color: var(--paper); font-size: calc(clamp(18px, 2vw, 24px) * var(--scale)); font-weight: 650; letter-spacing: -0.02em; }
.privacy-list li:last-child { border-bottom: 1px solid color-mix(in srgb, var(--paper) 28%, transparent); }
.privacy-list li::before { content: '✓'; position: absolute; left: 0; top: 18px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: calc(16px * var(--scale)); font-weight: 800; }

/* Pricing: two tall boxes side by side. The subscription is the highlighted one. */
.pricing-layout { display: grid; justify-items: center; gap: 44px; text-align: center; }
.pricing-intro { display: grid; justify-items: center; gap: 20px; }
.pricing-intro p:not(.kicker) { max-width: 52ch; }
.purchase-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; width: min(100%, 880px); padding-top: 14px; text-align: left; }
.purchase-option { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 460px; padding: 40px 36px 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.purchase-option h3 { font-size: calc(22px * var(--scale)); font-weight: 500; }
.price { font-family: var(--display); font-size: calc(58px * var(--scale)); line-height: 1.1; letter-spacing: -0.04em; }
.price small { font-family: var(--body); font-size: calc(15px * var(--scale)); color: var(--muted); letter-spacing: 0; }
.purchase-option ul { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 12px; }
.purchase-option li { position: relative; padding-left: 28px; color: var(--muted); font-size: calc(15px * var(--scale)); line-height: 1.55; }
.purchase-option li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); }
.purchase-option--featured { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.purchase-option--featured .kicker, .purchase-option--featured .price small, .purchase-option--featured li { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.purchase-option--featured li::before { color: var(--paper); }
.purchase-badge { position: absolute; top: -14px; left: 32px; padding: 6px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--ink); color: var(--ink); font-size: calc(13px * var(--scale)); font-weight: 600; line-height: 1.4; }
.purchase-support { margin-top: auto; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--paper) 30%, transparent); color: var(--paper); font-size: calc(15px * var(--scale)); line-height: 1.6; }
.purchase-option--featured h3 { color: var(--paper); }
.pricing-terms { max-width: 72ch; font-size: calc(13px * var(--scale)); line-height: 1.75; }
.product-faq { max-width: 760px; margin-inline: auto; }
.product-faq h2 { margin-bottom: 24px; }
.product-faq .faq { font-size: calc(15px * var(--scale)); }
.download-note { display: grid; justify-items: center; gap: 20px; text-align: center; padding-block: 36px; }
.download-note img { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 4px; }
.download-note p { max-width: 52ch; }
.download-note .actions { justify-content: center; }
.product-footer { align-items: start; }
.product-footer p { max-width: 54ch; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.gallery figure { display: grid; gap: 14px; }
.gallery img { width: 100%; border-radius: 20px; }
.gallery figcaption { font-size: calc(13px * var(--scale)); color: var(--muted); }
.product-document { max-width: 780px; }
.product-document .page-intro h1 { font-size: calc(clamp(42px, 5.5vw, 68px) * var(--scale)); }
.product-document .notice { margin-bottom: 32px; }
.product-document .prose { max-width: 100%; }
:root[data-contrast] .segmented, :root[data-contrast] .preview-frame, :root[data-contrast] .feature-screen, :root[data-contrast] .privacy-note { border: 1px solid var(--ink); }

@media (max-width: 940px) {
  .product-page .site-header { gap: 20px; }
  .product-page .main-nav { gap: 10px 18px; }
  .product-page .main-nav .nav-download { padding: 10px 20px; }
  .product-byline { max-width: 190px; }
  .feature-tour { gap: 32px; }
  }
@media (max-width: 720px) {
  .product-hero { padding-block: 40px 28px; }
        .product-hero h1 { font-size: calc(clamp(42px, 9vw, 64px) * var(--scale)); }
  .preview-frame { border-radius: 24px; }
  .preview-frame img, .preview-frame a { border-radius: 12px; }
    .promise-band { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
    .feature-tour, .privacy-note { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feature-options summary { padding-block: 16px; }
  .privacy-note { grid-template-columns: minmax(0, 1fr); padding: 32px 26px; border-radius: 30px; }
  .segmented--large button, .preview-toolbar .segmented button { min-width: 100px; padding-inline: 22px; }
  .purchase-options { grid-template-columns: minmax(0, 1fr); }
  .purchase-option { min-height: 0; }
}
@media (max-width: 480px) {
  .product-byline { max-width: 190px; font-size: calc(12px * var(--scale)); }
  .product-brand img { width: 34px; height: 34px; }
  .product-brand strong { font-size: calc(30px * var(--scale)); }
  .product-page .site-header { column-gap: 12px; }
  .segmented button { min-width: 60px; padding-inline: 12px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
}
