:root {
  color-scheme: light;
  --canvas: #f8f9fd;
  --surface: #fff;
  --ink: #141529;
  --muted: #535972;
  --line: #dce0eb;
  --accent: #493ac8;
  --accent-hover: #3b2eaa;
  --tint: #eeecff;
  --radius: 16px;
  --page: 1120px;
  --gutter: clamp(20px, 4vw, 44px);
  --section: clamp(48px, 7vw, 88px);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { color: inherit; font: inherit; cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -.037em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1.04; letter-spacing: -.05em; }
h2 { font-size: clamp(1.85rem, 4vw, 3.3rem); line-height: 1.09; }
h3 { font-size: clamp(1.2rem, 2.45vw, 1.65rem); line-height: 1.2; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.accent { color: var(--accent); }
.section-label {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.icon { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.15em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 10px; left: 12px; z-index: 10; padding: 8px 12px; background: var(--surface); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.section-shell, .nav-shell, .site-footer { width: min(100% - 2 * var(--gutter), var(--page)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--line); background: var(--canvas); }
.nav-shell { position: relative; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.05rem; font-weight: 730; letter-spacing: -.035em; }
.brand img { width: 32px; height: 32px; }
.primary-nav, .nav-actions { display: flex; align-items: center; gap: clamp(12px, 2.1vw, 26px); }
.primary-nav a { color: var(--muted); font-size: .9rem; font-weight: 550; }
.primary-nav a:hover, .site-footer nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.button, .menu-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: .57rem .95rem; border: 1px solid transparent; border-radius: 10px; font-size: .9rem; font-weight: 650; text-align: center; transition: background-color .16s ease, border-color .16s ease; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary, .menu-button { background: var(--surface); border-color: var(--line); }
.button-secondary:hover, .menu-button:hover { border-color: var(--accent); }
.menu-button { display: none; }

.hero { width: min(100% - 2 * var(--gutter), 58rem); margin-inline: auto; padding: clamp(38px, 5vw, 64px) 0 clamp(25px, 3vw, 38px); text-align: center; }
.hero h1 .accent { color: inherit; }
.hero-copy > p:not(.proof-line) { max-width: 41rem; margin: 18px auto 0; font-size: clamp(1rem, 1.7vw, 1.2rem); color: var(--muted); }
.hero-actions, .closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 23px; }
.hero-actions .button, .closing-actions .button { padding-inline: 1.14rem; }
.proof-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 18px; font-size: .82rem; color: var(--muted); }
.proof-line span + span::before { content: "·"; margin-inline-end: 18px; color: var(--accent); }
.view-stage, .feature-panel figure { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--tint); }
.view-stage { aspect-ratio: 659 / 436; }
.view-stage img, .feature-panel img { width: 100%; }
.view-switcher { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); margin-top: 8px; }
.view-option { min-width: 0; display: grid; align-content: start; text-align: start; gap: 6px; padding: 15px clamp(8px, 1.5vw, 18px) 14px; border: 0; border-bottom: 2px solid transparent; background: transparent; }
.view-option:hover { background: var(--tint); }
.view-option.is-active { border-color: var(--accent); }
.view-option.is-active strong { color: var(--accent); }
.view-option strong { font-size: .91rem; }
.view-option > span:last-child, .view-explainer { color: var(--muted); font-size: .86rem; }
.view-explainer { max-width: 50rem; margin: 15px auto 0; text-align: center; }

.product-tour, .process, .use-cases, .ownership, .reuse, .blog-section, .mobile-section, .testimonials, .pricing { padding-block: var(--section); }
.product-tour { padding-top: calc(var(--section) * .75); }
.section-heading { max-width: 47rem; margin-bottom: 21px; }
.section-heading p, .use-cases-intro p, .ownership-copy p, .reuse-copy p, .mobile-copy p, .pricing-heading p { color: var(--muted); margin-top: 12px; }
.tab-list { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.tab-list button { flex: none; white-space: nowrap; background: transparent; border: 0; border-bottom: 2px solid transparent; padding: 10px clamp(10px, 2vw, 22px); font-size: .91rem; font-weight: 620; color: var(--muted); }
.tab-list button:hover, .tab-list button[aria-selected="true"] { color: var(--accent); }
.tab-list button[aria-selected="true"] { border-bottom-color: var(--accent); }
.tab-list :focus-visible { outline-offset: -4px; }
.feature-panel { display: grid; gap: 15px; margin-top: 24px; }
.feature-panel-copy p { max-width: 52rem; margin-top: 6px; color: var(--muted); }
.feature-more { margin-top: 12px; }
.feature-panel figure { aspect-ratio: 1318 / 927; }
@supports (grid-template-rows: subgrid) {
  .feature-tabs { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
  .feature-tabs > [role="tabpanel"] { display: grid; grid-area: 2 / 1 / span 2; grid-template-rows: subgrid; }
  .feature-panel { grid-row: span 2; grid-template-rows: subgrid; }
  /* Size the shared copy row with all descriptions. Only the selected image takes space. */
  .feature-tabs > [role="tabpanel"][hidden] { display: grid !important; visibility: hidden; }
  .feature-tabs > [role="tabpanel"][hidden] figure { display: none; }
}
.process { padding-bottom: calc(var(--section) * .65); }
.process > h2 { font-size: clamp(1.35rem, 2.7vw, 2.15rem); margin-bottom: 20px; }
.process-line { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.process-line article { display: flex; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.process-line .icon { margin-top: .22rem; color: var(--accent); }
.process-line p { margin-top: 5px; color: var(--muted); font-size: .88rem; }

.use-cases { padding-block: calc(var(--section) * .75); background: var(--surface); }
.use-cases-grid, .ownership, .reuse-grid, .mobile-grid, .pricing { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(24px, 6vw, 76px); }
.use-cases-grid, .pricing { align-items: start; }
.use-case-list { border-top: 1px solid var(--line); }
.use-case-list details { border-bottom: 1px solid var(--line); }
.use-case-list summary { padding: 11px 0; cursor: pointer; font-weight: 650; }
.use-case-list details p { padding: 0 0 13px; color: var(--muted); }

.ownership { border-top: 1px solid var(--line); }
.file-browser { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.browser-sidebar { display: grid; align-content: start; gap: 9px; padding: 21px 15px; background: var(--tint); color: var(--muted); font-size: .87rem; }
.browser-sidebar strong { color: var(--accent); }
.file-grid { display: grid; padding: 12px 16px; }
.file-grid article { display: flex; align-items: center; padding: 12px 3px; gap: 10px; font-size: .9rem; overflow-wrap: anywhere; }
.file-grid article + article { border-top: 1px solid var(--line); }
.file-grid .icon, .reuse-points .icon { color: var(--accent); }
.reuse { background: var(--tint); }
.reuse-grid { grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); }
.snippet-visual { overflow: hidden; padding: clamp(8px, 1.5vw, 16px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.reuse-points { display: grid; gap: 8px; margin-top: 18px; font-size: .9rem; }
.reuse-points .icon { margin-inline-end: 5px; }

.blog-archive { margin-top: 20px; text-align: end; }
.blog-archive a, .blog-card:hover h3, .blog-card:focus-visible h3 { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.blog-grid:empty { display: none; }
.blog-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.blog-card:hover { border-color: var(--accent); }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tint); }
.blog-card-copy { padding: 15px; }
.blog-card h3 { font-size: 1.15rem; }
.blog-card p { margin-top: 7px; color: var(--muted); font-size: .9rem; }

.mobile-section { padding-bottom: 0; overflow: hidden; background: var(--tint); }
.mobile-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.mobile-copy { padding-bottom: var(--section); }
.mobile-copy .button { margin-top: 18px; }
.phone-frame { width: min(100%, 330px); margin-inline: auto; align-self: end; }
.phone-frame img { width: 100%; }

.testimonials { background: var(--surface); }
.testimonial-lead { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.testimonial-grid { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.testimonial-card { flex: 1 1 30%; min-width: 0; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); }
.testimonial-card blockquote { margin: 0; }
.testimonial-card figcaption { margin-top: 14px; color: var(--muted); font-size: .9rem; }
.testimonial-card figcaption strong { display: block; color: var(--ink); }
.testimonial-card figcaption a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.testimonial-source { margin-bottom: 8px; color: var(--muted); font-size: .8rem; font-weight: 650; }
.testimonial-stars { margin-inline-end: 8px; color: var(--accent); letter-spacing: .08em; white-space: nowrap; }
.testimonial-title { margin-bottom: 8px; font-size: 1.08rem; letter-spacing: -.015em; }
.testimonial-featured { grid-column: span 2; padding: clamp(22px, 3vw, 32px); background: var(--tint); }
.testimonial-featured blockquote { max-width: 68ch; font-size: clamp(1.08rem, 1.65vw, 1.3rem); line-height: 1.5; }
.testimonial-featured figcaption { margin-top: 20px; }

.pricing { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(22px, 5vw, 58px); }
.early-bird-pricing { margin-top: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.early-bird-pricing .early-bird-rates { margin-top: 6px; color: var(--accent); font-weight: 650; }
.early-bird-rates span { white-space: nowrap; }
.early-bird-pricing .early-bird-currency { margin-top: 4px; font-size: .85rem; }
.comparison-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.comparison-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.comparison-table :is(th, td) { padding: .65rem .6rem; text-align: center; font-size: .85rem; border-bottom: 1px solid var(--line); }
.comparison-table th:first-child { width: 57%; text-align: start; padding-inline-start: .9rem; overflow-wrap: anywhere; }
.comparison-table thead th { font-weight: 700; }
.comparison-table tbody th { font-weight: 600; }
.comparison-table tbody th:has(.comparison-info) { position: relative; padding-inline-end: 36px; }
.comparison-table tr:last-child td, .comparison-table tbody tr:last-child th { border-bottom: 0; }
.pro-column { background: var(--tint); }
.comparison-table .icon { color: var(--accent); }
.comparison-info { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--canvas); color: var(--accent); font-size: .72rem; font-weight: 750; }
.comparison-info:hover { border-color: var(--accent); }
.comparison-popover { width: min(20rem, 100% - 2rem); padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); box-shadow: 0 8px 24px #15163229; font-size: .9rem; text-align: start; }
.comparison-popover p { margin-top: 4px; color: var(--muted); }
@supports (position-area: block-start) {
  .comparison-popover { position-area: block-start span-inline-end; position-try-fallbacks: flip-inline, flip-block, flip-block flip-inline; margin: 7px; }
}

.closing { padding: 0 var(--gutter); }
.closing-inner { max-width: var(--page); margin: auto; padding: clamp(24px, 5vw, 55px) 20px; background: var(--tint); border-radius: var(--radius); text-align: center; }
.closing-inner h2 { font-size: clamp(1.55rem, 3.4vw, 2.65rem); }
.closing-actions { margin-top: 15px; }
.site-footer { display: grid; grid-template-columns: 1fr auto auto; gap: 22px clamp(24px, 7vw, 80px); margin-top: 40px; padding: 24px 0; border-top: 1px solid var(--line); font-size: .85rem; }
.site-footer nav { display: grid; align-content: start; gap: 5px; }
.site-footer p, .site-footer nav a { color: var(--muted); }
.footer-brand p { margin-top: 7px; }
.copyright { grid-column: 1 / -1; }

@media (max-width: 820px) {
  .nav-shell { min-height: 60px; }
  .menu-button { display: inline-flex; }
  .nav-shell:has(.menu-button[aria-expanded="false"]) .primary-nav { display: none; }
  .primary-nav { position: absolute; top: calc(100% + 6px); inset-inline: 0; display: grid; gap: 0; padding: 6px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
  .primary-nav a { padding: 7px 3px; }
  .view-switcher { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .use-cases-grid, .ownership, .reuse-grid, .pricing { grid-template-columns: 1fr; gap: 22px; }
  .testimonial-lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial-featured { grid-column: auto; }
  .testimonial-card { flex-basis: 45%; }
  .reuse-copy { grid-row: 1; }
}
@media (max-width: 600px) {
  .tab-list { flex-wrap: wrap; overflow: visible; }
  .proof-line span + span::before { margin-inline-end: 8px; }
  .proof-line { gap: 5px 8px; }
  .process-line { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-grid, .mobile-grid { grid-template-columns: 1fr; }
  .testimonial-lead { grid-template-columns: 1fr; }
  .testimonial-card { flex-basis: 100%; }
  .mobile-grid { gap: 15px; }
  .mobile-copy { padding-bottom: 0; }
  .phone-frame { width: min(78%, 270px); }
  .comparison-table :is(th, td) { padding-inline: .35rem; }
  .comparison-table th:first-child { padding-inline-start: .55rem; width: 55%; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::after, *::before { transition: none !important; }
}
