/* Shared branding, page layouts, and mobile refinements. */
:root { --accent: #1871ff; --accent-ink: #0758d5; --accent-soft: #edf4ff; --accent-line: #1871ff59; --muted: #5e657b; --faint: #6b7186; }
html { scroll-padding-top: 100px; }
body { overflow-x: clip; }
main, article, section, .frame, .cust > *, .plan-grid > * { min-width: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: 6px; background: var(--accent); color: white; }
.skip-link:focus { top: 8px; }
.brand { flex-direction: column; align-items: flex-start; gap: 2px; flex: none; }
.brand-logo { display: block; position: relative; width: 142px; height: 43px; overflow: hidden; }
.brand-logo img { position: absolute; width: 171%; height: auto; max-width: none; left: -43%; top: -176%; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 24px; font-size: 14px; color: var(--ink-2); }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.legal-page .breadcrumbs { width: 100%; padding-inline: 0; }
.breadcrumbs + .page-heading { padding-top: 32px; }
.desktop-nav { display: flex; align-items: center; }
.desktop-nav a { font-size: 14px; color: var(--ink-2); padding-block: 12px; }
.desktop-nav a:hover, .prose a:hover, .foot a:hover { color: var(--accent); }
.header-cta { white-space: nowrap; }
.mobile-nav { display: none; }
.hero-brand { display: grid; justify-items: center; }
.hero-brand .brand-logo { width: 245px; height: 74px; }
.hero__r { flex-wrap: wrap; justify-content: center; }
.hero__p { max-width: 40ch; }
.hero { padding-top: 48px; }
.btn { min-height: 40px; height: auto; padding-block: 9px; }
.btn--lg { min-height: 44px; }
.hero__lnk { min-height: 44px; }
.mono, .kick { font-size: 12px; }
.cap p, .card p { font-size: 14px; line-height: 1.6; }
.ct__l, .seg button { font-size: 14px; }
.sw { width: 32px; height: 32px; }
.seg button { min-height: 36px; }
.fld { height: 40px; border: 1px solid var(--line-3); box-shadow: none; font-size: 16px; }
.tg { width: 44px; height: 28px; }
.tg::after { width: 22px; height: 22px; top: 3px; left: 3px; }
.tg[aria-pressed="true"]::after { transform: translateX(16px); }
.well::after { pointer-events: none; }
.strip { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; overflow: visible; padding-bottom: 0; }
.scr { min-width: 0; }
.scr__v { height: 210px; }
.scr__c b { font-size: 14px; line-height: 1.5; }
.scr__c span { font-size: 13px; line-height: 1.6; }
.quotes { max-width: none; }
.quote { min-height: 220px; }
.quote p { font-size: 16px; line-height: 1.7; }
@media (max-width: 1100px) {
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scr__v { height: 190px; }
  .quote { min-height: 0; }
}
@media (max-width: 380px) {
  .strip { grid-template-columns: 1fr; }
}
.privacy-more { margin-block: 16px 24px; }
.text-link, .prose a:not(.btn), .feature-detail a, .pricing-notes a, .privacy-summary a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.cta > .cta__bg, .cta > .cta__dots { position: absolute; pointer-events: none; }
.foot h2 { font-size: 14px; line-height: 1.5; margin-bottom: 12px; }
.foot a { font-size: 14px; }
.footer-description { margin-top: 18px; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 30ch; }
.foot li a { display: inline-block; padding-block: 3px; }
.foot__b { font-size: 12px; }
.page-heading { padding-block: 72px 48px; max-width: 960px; }
.page-heading h1 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.12; margin-block: 18px 22px; text-wrap: balance; }
.page-heading p { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 64ch; }
.page-heading .page-date { font-size: 14px; margin-bottom: 24px; }
.page-heading .btn { margin-top: 24px; }
.legal-page { max-width: 960px; }
.legal-page .page-heading { padding-inline: 0; }
.prose { max-width: 780px; font-size: 16px; line-height: 1.85; color: var(--ink-2); }
.prose section { margin-block: 40px; }
.prose h2 { font-size: clamp(23px, 2.5vw, 28px); color: var(--ink); line-height: 1.3; margin: 34px 0 16px; }
.prose h3 { font-size: 18px; line-height: 1.4; margin: 24px 0 12px; color: var(--ink); }
.prose p + p, .prose ul + p, .prose ol + p { margin-top: 16px; }
.prose li { margin-bottom: 10px; padding-left: 4px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose blockquote { margin: 24px 0; border-left: 3px solid var(--accent); background: var(--accent-soft); padding: 22px 26px; }
.prose .btn { margin-block: 18px; text-decoration: none; }
.privacy-summary { padding: 28px 32px; background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: var(--r-3); font-size: 16px; line-height: 1.8; }
.privacy-summary h2 { font-size: 22px; line-height: 1.4; margin-bottom: 16px; }
.privacy-summary ul { margin: 0; padding-left: 22px; }
.privacy-summary li + li { margin-top: 8px; }
.privacy-summary p { margin-bottom: 12px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 12px 22px; padding-block: 28px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--accent-ink); }
.legal-toc a { padding-block: 6px; }
.compact-section { padding-block: 20px 60px; }
.inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.feature-page-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.feature-detail { border: 1px solid var(--line); border-radius: 10px; padding: 32px; background: var(--bg); }
.feature-detail h2 { font-size: 24px; line-height: 1.3; margin-block: 14px; }
.feature-detail p { font-size: 16px; line-height: 1.8; color: var(--muted); margin-bottom: 18px; }
.feature-detail a { font-size: 14px; line-height: 1.7; }
.docs-layout { display: grid; grid-template-columns: 200px minmax(0,1fr); gap: 50px; align-items: start; }
.docs-nav { display: grid; gap: 8px; position: sticky; top: 110px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; }
.docs-nav a { padding-block: 8px; font-size: 14px; color: var(--ink-2); }
.docs-layout .prose section:first-child { margin-top: 0; }
.docs-layout .prose section:first-child h2 { margin-top: 0; }
.faq { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); padding-right: 10px; }
.faq p { padding-top: 14px; }
.notice { padding: 18px 22px; border-left: 3px solid var(--accent); background: var(--accent-soft); font-size: 15px; line-height: 1.7; }
.pricing-section { background: var(--bg-2); }
.pricing-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 30px; align-items: start; }
.estimator { border-right: 1px solid var(--line); padding-right: 24px; }
.estimator h3 { font-size: 19px; line-height: 1.4; margin-bottom: 10px; }
.estimator p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.estimator label:not(.sr) { display: block; margin-block: 24px 10px; font-size: 14px; font-weight: 600; }
.estimator input[type=number] { width: 100%; padding: 10px 12px; border: 1px solid var(--line-3); border-radius: 6px; background: white; font-size: 18px; color: var(--ink); }
.estimator input[type=range] { width: 100%; margin: 18px 0 4px; min-height: 30px; accent-color: var(--accent); }
.range-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.estimator .estimate-tip { margin-top: 20px; color: var(--accent-ink); font-weight: 500; }
.plan-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.plan { display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--sh-card); overflow: hidden; }
.plan--volume { border-color: var(--accent-line); }
.plan-top { padding: 26px; flex: 1; }
.plan h3 { margin-top: 14px; font-size: 24px; line-height: 1.3; }
.plan h3 span { display: block; font-size: 14px; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-top: 6px; }
.plan .plan-price { font-size: 32px; font-weight: 600; line-height: 1.3; color: var(--ink); margin: 18px 0 4px; }
.plan-price span { font-size: 14px; color: var(--muted); font-weight: 400; }
.plan p { font-size: 14px; color: var(--muted); }
.plan h4 { font-size: 15px; margin-top: 26px; margin-bottom: 14px; }
.estimate-total { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.estimate-total output { font-size: 25px; line-height: 1.4; color: var(--ink); font-weight: 600; }
.plan .btn { width: 100%; margin-top: 18px; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { position: relative; padding-left: 20px; margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-ink); }
.usage-details { border-top: 1px solid var(--line); }
.usage-details summary { padding: 18px 26px; cursor: pointer; font-size: 14px; }
.usage-details table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.usage-details th { background: var(--well); font-weight: 500; }
.usage-details th, .usage-details td { padding: 12px 20px; border-top: 1px solid var(--line); }
.pricing-notes { margin-top: 30px; font-size: 14px; line-height: 1.75; color: var(--muted); }
.pricing-notes p + p { margin-top: 12px; }
@media (max-width: 1080px) {
  .pricing-layout { grid-template-columns: 1fr; }
  .estimator { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 24px; max-width: 560px; width: 100%; }
  .cards { flex-direction: row; align-items: flex-start; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 20px; scrollbar-width: thin; }
  .cards__i { flex: 0 0 auto; scroll-snap-align: center; }
  .cards__l { display: none; }
}
@media (max-width: 900px) {
  :root { --pad: 24px; }
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .mobile-nav { display: block; }
  .mobile-nav summary { cursor: pointer; min-height: 44px; padding: 12px 6px; font-size: 14px; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { margin-left: 4px; }
  .mobile-nav nav { position: absolute; left: var(--pad); right: var(--pad); top: 76px; background: white; box-shadow: var(--sh-card); border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; max-height: calc(100dvh - 100px); overflow-y: auto; }
  .mobile-nav nav a { padding: 13px 16px; border-radius: 6px; font-size: 15px; }
  .mobile-nav nav a:hover { background: var(--accent-soft); }
  .docs-layout { grid-template-columns: 1fr; gap: 28px; }
  .docs-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px 20px; }
}
@media (max-width: 620px) {
  :root { --pad: 18px; }
  .brand-logo { width: 125px; height: 38px; }
  .header-cta { font-size: 12px; padding: 8px 10px; min-height: 38px; }
  .hero { padding-top: 34px; }
  .hero-brand .brand-logo { width: 205px; height: 62px; }
  .hero h1 { margin-top: 24px; font-size: clamp(30px, 8vw, 42px); }
  .hero__p { font-size: 16px; line-height: 1.6; }
  .hero__r { gap: 8px 18px; margin-top: 20px; }
  .cards { margin-top: 28px; gap: 16px; }
  .cards__i { width: min(318px, calc(100vw - 48px)); }
  .cards .w, .cards .w--m { width: 100%; height: 540px; }
  .w--m { width: min(344px, 100%); }
  .well { min-height: 560px; padding: 12px; }
  .well .w { width: 100%; max-width: 344px; height: 530px; }
  .w__t { font-size: 20px; }
  .w__pf li { gap: 6px; font-size: 11.5px; }
  .w__b { padding-inline: 12px; }
  .w__f { padding-inline: 12px; }
  .w__tr div { font-size: 11px; gap: 6px; }
  .sec { padding-block: 52px; }
  .sec--tall { padding-block: 60px; }
  .sh { margin-bottom: 28px; }
  .sh p { font-size: 16px; line-height: 1.65; }
  .cust { gap: 24px; }
  .cap { padding: 24px 20px; }
  .rule { gap: 12px; }
  .rule__d { font-size: 14px; line-height: 1.7; }
  .stat { padding: 20px 14px; }
  .stat b { font-size: 24px; }
  .stat span { font-size: 12px; }
  .cta { padding: 36px 20px; }
  .cta__r { flex-direction: column; }
  .foot { margin-top: 32px; }
  .foot__g { gap: 30px 20px; }
  .foot__g > div:first-child { grid-column: 1 / -1; }
  .page-heading { padding-block: 44px 32px; }
  .page-heading p { font-size: 16px; }
  .page-heading h1 { font-size: 34px; }
  .privacy-summary { padding: 22px; }
  .prose { font-size: 16px; line-height: 1.8; }
  .prose blockquote { padding: 18px; }
  .feature-page-grid, .plan-grid { grid-template-columns: 1fr; }
  .feature-detail { padding: 24px; }
  .plan-top { padding: 24px; }
  .compact-section { padding-bottom: 36px; }
}
/* Floating navigation, adapted from the inset panel at delucks.com/en. */
:root { --nav-top: 16px; --nav-height: 76px; }
body { padding-top: var(--nav-top); }
html { scroll-padding-top: calc(var(--nav-top) + var(--nav-height) + 24px); }
.hdr {
  position: sticky; top: var(--nav-top); z-index: 50;
  height: var(--nav-height);
  width: min(calc(var(--frame) - 2 * var(--pad)), calc(100% - 2 * var(--pad)));
  margin-inline: auto;
  background: rgb(255 255 255 / 85%); border: 1px solid rgb(11 12 23 / 9%);
  border-radius: 16px; box-shadow: 0 8px 32px -16px rgb(11 12 23 / 16%);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}
.hdr__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; width: 100%; padding-inline: 22px; gap: 18px; }
.hdr .brand { min-width: 0; align-self: center; justify-content: center; }
.hdr .brand-logo { width: 142px; height: 43px; flex: none; isolation: isolate; }
.hdr .brand-logo img { width: 243px; left: -61px; top: -76px; mix-blend-mode: normal; }
.hdr .desktop-nav { gap: 4px; margin-left: 0; justify-content: center; }
.hdr .desktop-nav a { padding: 12px 10px; border-radius: 9px; font-family: var(--sans); font-size: 14px; font-weight: 500; transition: color .2s, background-color .2s; }
.hdr .desktop-nav a:hover, .hdr a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); }
.hdr .header-cta { border-radius: 10px; gap: 12px; min-height: 42px; }
.hdr .header-cta span { transition: transform .2s; }
.hdr .header-cta:hover span { transform: translate(2px, -2px); }
.hdr.is-scrolled, .hdr:has(.mobile-nav[open]) { background: rgb(255 255 255 / 96%); border-color: rgb(11 12 23 / 14%); box-shadow: 0 12px 36px -16px rgb(11 12 23 / 24%); }
.hdr .mobile-nav summary { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; }
.hdr .mobile-nav summary:hover { background: var(--accent-soft); }
.hdr .menu-icon { position: relative; display: block; width: 18px; height: 14px; margin: 0; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, top .2s; }
.menu-icon::before { top: 3px; }
.menu-icon::after { top: 10px; }
.mobile-nav[open] .menu-icon::before { top: 6px; transform: rotate(45deg); }
.mobile-nav[open] .menu-icon::after { top: 6px; transform: rotate(-45deg); }
.hdr .mobile-nav nav { top: calc(100% + 12px); left: -1px; right: -1px; border-radius: 16px; padding: 10px; background: rgb(255 255 255 / 98%); max-height: calc(100dvh - var(--nav-top) - var(--nav-height) - 32px); overscroll-behavior: contain; }
.hdr .mobile-nav nav a { min-height: 44px; padding: 12px 16px; font-family: var(--mono); font-size: 14px; }
@media (max-width: 900px) {
  .hdr__in { grid-template-columns: minmax(0, 1fr) auto auto; padding-inline: 16px; }
}
@media (max-width: 620px) {
  :root { --nav-top: 12px; --nav-height: 70px; }
  .hdr__in { padding-inline: 12px; gap: 8px; }
  .hdr .brand-logo { width: 108px; height: 33px; }
  .hdr .brand-logo img { width: 185px; left: -46px; top: -58px; }
  .hdr .header-cta { padding-inline: 10px; gap: 6px; font-size: 12px; }
}
@media (max-width: 380px) {
  .hdr .header-cta span { display: none; }
  .hdr .header-cta { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
