.ap-page {
  --ap-bg: #f5f5f7;
  --ap-surface: #ffffff;
  --ap-ink: #1d1d1f;
  --ap-secondary: #67676c;
  --ap-rule: #e5e5e9;
  --ap-track: #e6e6eb;
  --ap-accent: #6634d9;
  --ap-accent-hover: #5424c4;
  --ap-focus: #6634d9;
  --ap-switch-off: #86868b;
  --ap-shadow: 0 8px 32px rgba(29, 29, 31, .035), 0 1px 3px rgba(29, 29, 31, .025);
  --ap-radius: 28px;
  color-scheme: light dark;
  background: var(--ap-bg);
  color: var(--ap-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.ap-page *, .ap-page *::before, .ap-page *::after { box-sizing: border-box; }
.ap-page h1, .ap-page h2, .ap-page h3, .ap-page p { margin: 0; }
.ap-page a { color: inherit; text-decoration: none; }
.ap-page button, .ap-page input, .ap-page textarea { font: inherit; }
.ap-page button { cursor: pointer; }
.ap-page svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ap-page :focus-visible { outline: 3px solid var(--ap-focus); outline-offset: 5px; }
.ap-page [hidden] { display: none !important; }
.ap-container { width: min(100% - 64px, 1016px); margin-inline: auto; }
.ap-sr-only { position: absolute; width: 1px !important; height: 1px !important; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ap-skip { position: fixed; top: 12px; left: 12px; z-index: 10; transform: translateY(-200%); padding: 12px 20px; background: var(--ap-surface); border-radius: 12px; }
.ap-skip:focus { transform: none; }
.ap-header { border-bottom: 1px solid var(--ap-rule); }
.ap-nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ap-brand { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.ap-brand-mark { position: relative; display: block; width: 30px; height: 36px; overflow: hidden; margin-right: 7px; }
.ap-brand-mark img { position: absolute; width: 46px; height: 46px; max-width: none; left: -8px; top: -5px; }
.ap-wordmark { font-size: 21px; font-weight: 700; letter-spacing: -.035em; }
.ap-brand-section { margin-left: 17px; padding-left: 17px; border-left: 1px solid #c9c9ce; font-size: 14px; font-weight: 500; letter-spacing: -.01em; }
.ap-back { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ap-secondary) !important; }
.ap-back:hover { color: var(--ap-ink) !important; text-decoration: underline; text-underline-offset: 4px; }
.ap-header-actions { display: flex; align-items: center; gap: 12px; }
.ap-theme-toggle { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--ap-rule); border-radius: 50%; color: var(--ap-ink); background: var(--ap-surface); }
.ap-theme-toggle:hover { border-color: var(--ap-secondary); }
.ap-theme-toggle:active { opacity: .7; }
.ap-main { padding-top: 49px; padding-bottom: 44px; }
.ap-intro { text-align: center; }
.ap-intro h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.07; font-weight: 650; letter-spacing: -.055em; }
.ap-intro p { font-size: 20px; line-height: 1.45; letter-spacing: -.025em; color: var(--ap-secondary); margin-top: 14px; }
.ap-config { display: flex; justify-content: center; align-items: center; gap: 32px; margin: 36px auto 0; }
.ap-frequency { border: 0; margin: 0; padding: 0; min-width: 0; }
.ap-frequency legend { padding: 0; margin-bottom: 10px; width: 100%; text-align: center; font-size: 14px; font-weight: 550; }
.ap-segments { display: grid; grid-template-columns: 1fr 1fr; width: 228px; padding: 4px; border-radius: 999px; background: var(--ap-track); }
.ap-segment { position: relative; cursor: pointer; }
.ap-segment input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; width: 100%; height: 100%; z-index: 1; }
.ap-segment span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 18px; font-size: 15px; font-weight: 500; border-radius: 999px; transition: box-shadow .18s; white-space: nowrap; }
.ap-segment input:checked + span { background: var(--ap-surface); box-shadow: 0 2px 5px #00000010, 0 0 0 1px #00000003; font-weight: 600; }
.ap-segment input:focus-visible + span { outline: 3px solid var(--ap-focus); outline-offset: 3px; }
.ap-segment input:active + span { opacity: .7; }
.ap-config-divider { height: 40px; width: 1px; background: #d2d2d7; align-self: flex-end; margin-bottom: 6px; }
.ap-management { display: flex; align-items: center; gap: 20px; cursor: pointer; align-self: flex-end; min-height: 52px; }
.ap-management-copy { display: flex; flex-direction: column; }
.ap-management-title { font-size: 15px; font-weight: 550; letter-spacing: -.02em; }
.ap-management-note { font-size: 13px; color: var(--ap-secondary); margin-top: 3px; }
.ap-switch { position: relative; display: flex; align-items: center; width: 52px; height: 44px; flex: none; }
.ap-switch input { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; opacity: 0; z-index: 1; cursor: pointer; }
.ap-switch-track { position: relative; width: 52px; height: 31px; display: block; border-radius: 99px; background: var(--ap-switch-off); transition: background .2s; }
.ap-switch-thumb { display: block; position: absolute; top: 3px; left: 3px; width: 25px; height: 25px; background: white; border-radius: 50%; box-shadow: 0 2px 3px #00000018; transition: transform .22s cubic-bezier(.22, 1, .36, 1); }
.ap-switch input:checked + .ap-switch-track { background: var(--ap-accent); }
.ap-switch input:checked + .ap-switch-track .ap-switch-thumb { transform: translateX(21px); }
.ap-switch input:focus-visible + .ap-switch-track { outline: 3px solid var(--ap-focus); outline-offset: 5px; }
.ap-switch input:active + .ap-switch-track { opacity: .8; }
.ap-shared-note { text-align: center; color: var(--ap-secondary); font-size: 14px; margin-top: 25px !important; }
.ap-shared-note strong { font-weight: 500; color: var(--ap-ink); }
.ap-plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 25px; align-items: start; }
.ap-card { padding: 34px 36px 18px; background: var(--ap-surface); border-radius: var(--ap-radius); box-shadow: var(--ap-shadow); border: 1px solid transparent; }
.ap-category { display: block; font-size: 13px; font-weight: 550; color: var(--ap-secondary); letter-spacing: -.005em; }
.ap-card h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.04em; font-weight: 650; margin-top: 9px; }
.ap-description { margin-top: 12px !important; font-size: 16px; line-height: 1.55; letter-spacing: -.015em; color: var(--ap-secondary); min-height: 3.1em; }
.ap-price-block { margin-top: 28px; }
.ap-price { display: flex; align-items: baseline; gap: 9px; }
.ap-currency { font-size: 18px; letter-spacing: -.02em; font-weight: 550; }
.ap-amount { display: inline-block; font-size: 52px; font-weight: 650; letter-spacing: -.055em; line-height: 1.14; font-variant-numeric: lining-nums tabular-nums; }
.ap-price-caption { margin-top: 7px !important; font-size: 13px; color: var(--ap-secondary); }
.ap-price-caption > span[aria-hidden] { padding-inline: 4px; }
.ap-quantity { display: flex; align-items: center; gap: 25px; margin-top: 25px; margin-bottom: 26px; }
.ap-quantity > div { display: flex; flex-direction: column; gap: 2px; }
.ap-quantity strong { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.ap-quantity div > span { font-size: 13px; color: var(--ap-secondary); }
.ap-quantity-plus { color: var(--ap-secondary); font-weight: 400; font-size: 22px; }
.ap-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; padding: 12px 20px; color: #fff !important; background: var(--ap-accent); border: 0; border-radius: 999px; font-weight: 550; font-size: 15px; letter-spacing: -.01em; line-height: 1.5; transition: background .18s, transform .18s; }
.ap-button svg { width: 17px; height: 17px; }
.ap-button:hover { background: var(--ap-accent-hover); }
.ap-button:active { transform: scale(.985); }
.ap-card-detail { margin-top: 26px; border-top: 1px solid var(--ap-rule); }
.ap-features { padding: 0; margin: 22px 0 12px; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ap-features li { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; line-height: 1.5; letter-spacing: -.01em; }
.ap-features svg { width: 16px; height: 16px; stroke-width: 1.7; margin-top: 2px; color: var(--ap-secondary); }
.ap-page summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.ap-page summary::-webkit-details-marker { display: none; }
.ap-page summary::marker { content: ""; }
.ap-page summary svg { width: 16px; height: 16px; transition: transform .18s; }
.ap-page details[open] > summary svg { transform: rotate(45deg); }
.ap-breakdown summary { font-size: 14px; font-weight: 500; color: var(--ap-secondary); }
.ap-breakdown summary:hover { color: var(--ap-ink); }
.ap-costs { margin: 3px 0 16px; font-size: 13px; }
.ap-costs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 6px; }
.ap-costs dt { color: var(--ap-secondary); }
.ap-costs dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ap-costs .ap-cost-total { margin-top: 10px; border-top: 1px solid var(--ap-rule); padding-top: 14px; font-weight: 600; }
.ap-cost-total dt { color: var(--ap-ink); }
.ap-after-plans > p { font-size: 13px; color: var(--ap-secondary); text-align: center; margin: 20px 0 30px; }
.ap-scope { border-top: 1px solid #d2d2d7; border-bottom: 1px solid #d2d2d7; }
.ap-scope > summary { font-size: 16px; font-weight: 550; min-height: 66px; padding-inline: 2px; letter-spacing: -.02em; }
.ap-scope > summary svg { width: 20px; height: 20px; color: var(--ap-secondary); }
.ap-scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 0 2px 30px; }
.ap-scope-grid h3 { font-size: 16px; letter-spacing: -.02em; font-weight: 600; }
.ap-scope-grid p { font-size: 14px; line-height: 1.6; margin-top: 12px; color: var(--ap-secondary); }
.ap-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--ap-secondary); padding-bottom: 28px; }
.ap-footer span[aria-hidden] { padding-inline: 6px; }
.ap-dialog { --dialog-pad: 36px; position: fixed; color: var(--ap-ink); background: var(--ap-surface); width: min(480px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 48px var(--dialog-pad) 24px; border: 1px solid var(--ap-rule); border-radius: 28px; box-shadow: 0 28px 90px #00000033; overflow: auto; overscroll-behavior: contain; }
.ap-dialog::backdrop { background: #11111866; }
.ap-close { display: grid; place-items: center; position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; border-radius: 50%; color: var(--ap-secondary); }
.ap-close:hover { background: var(--ap-bg); }
.ap-dialog h2 { font-size: 29px; font-weight: 650; letter-spacing: -.045em; margin-top: 8px; line-height: 1.2; }
.ap-dialog-description { font-size: 16px; color: var(--ap-secondary); margin-top: 14px !important; }
.ap-dialog-selection { background: var(--ap-bg); border-radius: 16px; padding: 20px; margin-top: 24px; }
.ap-dialog-selection p { color: var(--ap-secondary); font-size: 14px; margin-top: 5px; }
.ap-dialog-selection p:first-child { font-size: 17px; font-weight: 550; color: var(--ap-ink); margin-top: 0; }
.ap-dialog-price { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin: 24px 0 !important; }
.ap-dialog-price strong { font-size: 30px; letter-spacing: -.035em; font-weight: 650; }
.ap-dialog-price > span { font-size: 13px; color: var(--ap-secondary); }
.ap-copy { display: block; min-height: 44px; padding: 10px 15px; margin: 12px auto 0; background: transparent; border: 0; color: var(--ap-ink); font-size: 14px; border-radius: 99px; }
.ap-copy:hover { background: var(--ap-bg); }
.ap-copy-status { text-align: center; font-size: 13px; color: var(--ap-secondary); min-height: 1.5em; }
.ap-dialog [data-copy-fallback] { margin-top: 12px; font-size: 14px; }
.ap-dialog textarea { display: block; margin-top: 8px; width: 100%; background: var(--ap-bg); color: var(--ap-ink); border: 1px solid var(--ap-rule); padding: 12px; border-radius: 10px; font-size: 14px; }
.ap-no-script { padding-block: 24px; }
.ap-no-script a { text-decoration: underline; }
@media (max-width: 850px) {
  .ap-container { width: min(100% - 40px, 1016px); }
  .ap-card { padding: 28px 25px 16px; }
  .ap-card h2 { font-size: 26px; }
  .ap-description br { display: none; }
  .ap-description { min-height: 4.65em; }
  .ap-config { gap: 24px; }
  .ap-plans { gap: 18px; }
}
@media (max-width: 680px) {
  .ap-nav { min-height: 64px; gap: 12px; }
  .ap-back { font-size: 12px; gap: 5px; }
  .ap-brand-section { display: none; }
  .ap-main { padding-top: 35px; padding-bottom: 32px; }
  .ap-intro h1 { font-size: 42px; }
  .ap-intro p { font-size: 18px; margin-top: 11px; max-width: 310px; margin-inline: auto; }
  .ap-config { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; width: min(100%, 390px); }
  .ap-frequency { width: 100%; }
  .ap-frequency legend { font-size: 14px; }
  .ap-segments { width: 100%; }
  .ap-config-divider { display: none; }
  .ap-management { align-self: stretch; justify-content: space-between; gap: 15px; }
  .ap-management-note { font-size: 13px; }
  .ap-management-title { font-size: 15px; }
  .ap-shared-note { max-width: 290px; margin: 22px auto 0 !important; font-size: 14px; }
  .ap-plans { grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 440px; margin-inline: auto; margin-top: 25px; }
  .ap-card { padding: 29px 28px 16px; }
  .ap-card h2 { font-size: 28px; }
  .ap-description { min-height: 0; }
  .ap-description br { display: initial; }
  .ap-amount { font-size: 50px; }
  .ap-price-block { margin-top: 24px; }
  .ap-quantity { margin-top: 23px; margin-bottom: 24px; }
  .ap-scope-grid { grid-template-columns: 1fr; gap: 26px; }
  .ap-scope-grid p { font-size: 16px; }
  .ap-after-plans { max-width: 440px; margin-inline: auto; }
  .ap-after-plans > p { max-width: 280px; margin: 19px auto 28px; }
}
@media (max-width: 360px) {
  .ap-nav { flex-wrap: wrap; gap: 0 12px; padding-block: 8px; }
  .ap-header-actions { margin-left: auto; }
  .ap-container { width: calc(100% - 32px); }
  .ap-card { padding-inline: 22px; }
  .ap-card h2 { font-size: 26px; }
  .ap-description { font-size: 15px; }
  .ap-description br { display: none; }
  .ap-dialog { --dialog-pad: 22px; }
}
@media (prefers-color-scheme: dark) {
  :where(html:not([data-ap-theme="light"])) .ap-page { --ap-bg: #121214; --ap-surface: #202023; --ap-ink: #f5f5f7; --ap-secondary: #aaaab3; --ap-rule: #37373c; --ap-track: #333338; --ap-accent: #7541e0; --ap-accent-hover: #8250e8; --ap-focus: #c5adff; --ap-shadow: none; --ap-switch-off: #75757c; }
  :where(html:not([data-ap-theme="light"])) :is(.ap-brand-section, .ap-scope) { border-color: #45454c; }
  :where(html:not([data-ap-theme="light"])) .ap-config-divider { background: #45454c; }
  :where(html:not([data-ap-theme="light"])) .ap-segment input:checked + span { background: #53535b; box-shadow: 0 2px 5px #00000022; }
  :where(html:not([data-ap-theme="light"])) .ap-dialog::backdrop { background: #00000099; }
}
:where(html[data-ap-theme="light"]) .ap-page { --ap-bg: #ffffff; color-scheme: light; }
:where(html[data-ap-theme="light"]) .ap-card {
  background: #f5f5f7;
  border-color: #e8e8ed;
  box-shadow: none;
}
:where(html[data-ap-theme="dark"]) .ap-page { --ap-bg: #121214; --ap-surface: #202023; --ap-ink: #f5f5f7; --ap-secondary: #aaaab3; --ap-rule: #37373c; --ap-track: #333338; --ap-accent: #7541e0; --ap-accent-hover: #8250e8; --ap-focus: #c5adff; --ap-shadow: none; --ap-switch-off: #75757c; color-scheme: dark; }
:where(html[data-ap-theme="dark"]) :is(.ap-brand-section, .ap-scope) { border-color: #45454c; }
:where(html[data-ap-theme="dark"]) .ap-config-divider { background: #45454c; }
:where(html[data-ap-theme="dark"]) .ap-segment input:checked + span { background: #53535b; box-shadow: 0 2px 5px #00000022; }
:where(html[data-ap-theme="dark"]) .ap-dialog::backdrop { background: #00000099; }
@media (prefers-contrast: more) {
  .ap-page { --ap-secondary: var(--ap-ink); --ap-rule: var(--ap-ink); }
  .ap-card, .ap-segments { border: 1px solid var(--ap-ink); }
  .ap-segment input:checked + span { outline: 2px solid var(--ap-ink); outline-offset: -2px; }
  .ap-switch-track { border: 1px solid var(--ap-ink); }
  .ap-switch-thumb { top: 2px; left: 2px; }
}
@media (forced-colors: active) {
  .ap-card, .ap-button, .ap-segments, .ap-switch-track { border: 1px solid ButtonText; }
  .ap-segment input:checked + span { outline: 2px solid Highlight; outline-offset: -3px; }
  .ap-switch-track { forced-color-adjust: none; background: GrayText; }
  .ap-switch input:checked + .ap-switch-track { background: Highlight; }
  .ap-switch-thumb { background: Canvas; }
}
@media (prefers-reduced-motion: reduce) {
  .ap-page *, .ap-page *::before, .ap-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .ap-page { color: #000; background: #fff; }
  .ap-config, .ap-button, .ap-header, .ap-dialog, .ap-skip { display: none !important; }
  .ap-card { border: 1px solid #ccc; break-inside: avoid; box-shadow: none; }
}
