/* BoardTack shared layout: system fonts, local assets, accessible native components. */
:root {
  color-scheme: light;
  --page: #fafafa;
  --ink: #171923;
  --muted: #606879;
  --line: #e5e7ed;
  --accent: #50596c;
  --tint: #f0f1f5;
}
.theme-areaviz { --accent: #2365aa; --tint: #edf3fa; --soft: #d9e8f8; }
.theme-scantexter { --accent: #6755c9; --tint: #f0edf9; --soft: #e6dffc; }
.theme-phosplit { --accent: #9c482e; --tint: #fbf0e9; --soft: #f1d8c5; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.13; }
[hidden] { display: none !important; }
::selection { background: #e4dffb; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.page-container { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.section-space { padding-block: 92px; }
.skip-link { position: fixed; z-index: 40; top: 12px; left: 16px; padding: 10px 18px; background: var(--ink); color: #fff; border-radius: 10px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid rgba(229,231,237,.8); background: rgba(250,250,250,.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 700; letter-spacing: -.6px; white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand-mark { display: flex; align-items: center; gap: 3px; width: 27px; transform: rotate(-9deg); }
.brand-mark i { display: block; width: 7px; height: 20px; border-radius: 3px; background: #7eabd4; }
.brand-mark i:nth-child(2) { height: 28px; background: #9282d1; }
.brand-mark i:nth-child(3) { height: 23px; background: #d99a73; }
.main-navigation { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 500; }
.main-navigation > a:not(.button) { display: flex; align-items: center; min-height: 44px; padding-block: 12px; color: #515866; }
.main-navigation > a:not(.button):hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 44px; padding: 11px 18px; border: 1px solid transparent; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-1px); background: #343744; }
.button-secondary { background: var(--tint); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 12%, transparent); }
.button-secondary:hover { background: var(--soft, #e4e6ed); }
.nav-toggle { display: none; }
.eyebrow { margin-bottom: 20px; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: 1.35px; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #5e9788; vertical-align: 2px; }
h1 { font-size: clamp(48px, 5vw, 66px); font-weight: 700; letter-spacing: -.055em; line-height: 1.07; }
h2 { font-size: clamp(32px, 3.2vw, 42px); font-weight: 650; letter-spacing: -.045em; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -.5px; }
.headline-accent { color: var(--accent); }
.hero-description { max-width: 460px; margin-top: 24px; color: var(--muted); font-size: 18px; line-height: 1.65; letter-spacing: -.2px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 27px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; font-size: 14px; font-weight: 600; }
.text-link:hover { color: var(--accent); }
.platform-note { margin-top: 20px; color: var(--muted); font-size: 13px; }
.store-badge { display: inline-block; flex-shrink: 0; border-radius: 10px; transition: transform .2s ease; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { width: 164px; height: auto; }
.section-heading { max-width: 650px; }
.section-heading .eyebrow { margin-bottom: 17px; }
.section-heading > p:not(.eyebrow) { max-width: 560px; margin-top: 20px; color: var(--muted); font-size: 16px; }
.section-heading .text-link { margin-top: 20px; }
/* Studio: the apps are the first thing to explore. */
.studio-hero { padding-block: 48px 32px; text-align: center; }
.studio-hero h1 { font-size: clamp(52px, 5vw, 68px); }
.studio-hero .headline-accent { color: #65728b; padding-left: .12em; }
.studio-hero .hero-description { max-width: 640px; margin: 22px auto 0; font-size: 17px; }
.apps-section { padding-bottom: 82px; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.app-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.app-card-visual { display: flex; align-items: center; justify-content: center; height: 230px; padding: 26px 20px; background: var(--tint); transition: background .2s ease; }
.app-card-visual:hover { background: var(--soft); }
.app-card-visual img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.app-card-visual:hover img { transform: translateY(-3px); }
.app-card.theme-scantexter .app-card-visual img { border-radius: 8px; }
.app-card.theme-phosplit .app-card-visual { padding-block: 15px; }
.app-card-copy { display: flex; flex: 1; flex-direction: column; padding: 27px 26px 25px; }
.app-card-title { display: flex; align-items: center; gap: 12px; }
.app-card-title > img { width: 42px; height: 42px; border-radius: 11px; }
.app-category { margin-bottom: 4px; color: var(--muted); font-size: 11px; }
.app-card-title h2 { font-size: 23px; letter-spacing: -.65px; }
.app-card-tagline { margin-top: 25px; font-size: 26px; font-weight: 600; letter-spacing: -.7px; line-height: 1.22; }
.app-card-description { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.app-platforms { margin-top: 22px; color: var(--accent); font-size: 12px; font-weight: 500; }
.app-card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: auto; padding-top: 24px; }
.app-card-actions .button { justify-content: space-between; padding-inline: 13px; font-size: 13px; gap: 10px; }
.app-card-actions .text-link { color: var(--muted); font-size: 12px; }
.approach-section { background: #fff; border-block: 1px solid var(--line); }
.approach-grid, .support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: start; }
.principle-list article { display: grid; grid-template-columns: 30px 1fr; gap: 20px; padding-block: 25px; border-bottom: 1px solid var(--line); }
.principle-list article:first-child { padding-top: 0; }
.principle-list article:last-child { border-bottom: 0; padding-bottom: 0; }
.principle-list h3 { font-size: 18px; }
.principle-list p { margin-top: 9px; color: var(--muted); font-size: 14px; }
.step-number { display: inline-block; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .8px; }
.support-links { border-top: 1px solid var(--line); }
.support-links > a { display: flex; justify-content: space-between; align-items: center; padding-block: 23px; gap: 20px; border-bottom: 1px solid var(--line); }
.support-links > a:hover { color: var(--accent); }
.support-links strong { font-size: 17px; font-weight: 600; }
.support-links small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
/* Product pages share the structure; each product has its own emphasis. */
.hero { padding-block: 78px 86px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.06fr; gap: 58px; align-items: center; }
.hero-copy { position: relative; z-index: 1; min-width: 0; }
.hero-visual { position: relative; min-width: 0; }
.product-showcase { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 390px; padding: 38px 20px 25px; border: 1px solid color-mix(in srgb, var(--accent) 10%, transparent); border-radius: 24px; background: var(--tint); }
.product-showcase > img { width: 100%; max-height: 420px; object-fit: contain; }
.visual-caption { margin-top: 25px; color: var(--muted); font-size: 12px; text-align: center; }
.theme-phosplit .hero-grid { grid-template-columns: 1fr 1fr; gap: 75px; }
.phosplit-showcase { padding-block: 22px; min-height: 550px; }
.phosplit-showcase > img { width: auto; max-width: 100%; max-height: 495px; }
.workflow-section, .workflow { border-block: 1px solid var(--line); background: #fff; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 44px; }
.step .step-number { margin-bottom: 20px; }
.step h3 { margin-bottom: 13px; }
.step p { max-width: 330px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 42px; }
.feature-card { padding: 28px 25px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.feature-card h3 { font-size: 19px; }
.feature-card p { margin-top: 15px; color: var(--muted); font-size: 14px; }
.feature-card .feature-symbol { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 22px; border-radius: 11px; background: var(--tint); color: var(--accent); font-size: 18px; }
.feature-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 80px; align-items: center; }
.feature-layout > img, .feature-layout > figure img { max-height: 450px; width: 100%; object-fit: contain; }
.feature-detail > p:not(.eyebrow) { margin-top: 22px; color: var(--muted); font-size: 16px; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 0; color: var(--muted); font-size: 14px; }
.feature-list li { position: relative; margin-block: 12px; padding-left: 23px; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.feature-list h3 { color: var(--ink); font-size: 18px; }
.feature-list h3 + p { margin-top: 10px; }
.feature-list li:has(h3) { margin-block: 23px; }
.feature-list a, .price-note a, .faq-list p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.phone-pair { display: flex; align-items: center; justify-content: center; gap: 20px; }
.phone-pair img { width: calc(50% - 10px); max-width: 210px; max-height: 430px; object-fit: contain; }
.phone-pair img:nth-child(2) { transform: translateY(25px); }
.tinted-section { background: var(--tint); }
.quiet-section { padding-top: 0; }
.quiet-section .feature-grid { margin-top: 0; }
.pricing-section { background: #fff; border-block: 1px solid var(--line); }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; margin-top: 40px; }
.pricing-card { display: flex; flex-direction: column; align-items: start; padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--page); }
.pricing-card:last-child { border-color: color-mix(in srgb, var(--accent) 25%, transparent); background: var(--tint); }
.pricing-card h3 { font-size: 21px; }
.price { margin-top: 22px; font-size: 38px; font-weight: 650; letter-spacing: -1px; line-height: 1.2; }
.price small { color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0; }
.price-note { margin-top: 12px; color: var(--muted); font-size: 13px; }
.pricing-card > p:not(.price):not(.price-note) { margin-top: 16px; color: var(--muted); font-size: 14px; }
.pricing-card .button { margin-top: auto; }
.pricing-card .feature-list { margin-bottom: 25px; }
.pricing-footnote { max-width: 860px; margin-top: 24px; color: var(--muted); font-size: 13px; }
.pricing-note { max-width: 860px; margin-top: 24px; color: var(--muted); font-size: 13px; }
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; list-style: none; padding: 24px 36px 24px 0; font-size: 16px; font-weight: 600; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 3px; top: 19px; color: var(--muted); font-size: 22px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details > p { padding-bottom: 24px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.download-section { padding-bottom: 74px; }
.download-card { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 44px 48px; border-radius: 24px; background: #20222f; color: #fff; }
.download-copy { display: flex; align-items: center; gap: 24px; }
.download-copy > img { flex-shrink: 0; width: 64px; height: 64px; border-radius: 15px; }
.download-copy h2 { font-size: 30px; }
.download-copy p { margin-top: 9px; color: #b8bdcc; font-size: 14px; }
.site-footer { padding-bottom: 32px; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.footer-brand { font-size: 15px; font-weight: 650; letter-spacing: -.2px; }
.footer-brand span { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; margin-left: auto; font-size: 13px; color: var(--muted); }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer nav a:hover { color: var(--accent); }
.site-footer p { color: var(--muted); font-size: 12px; }
@media (max-width: 1080px) {
  .page-container { width: calc(100% - 56px); }
  .hero-grid { gap: 34px; }
  h1 { font-size: 54px; }
  .hero-description { font-size: 16px; }
  .app-grid { gap: 18px; }
  .app-card-copy { padding-inline: 21px; }
  .app-card-tagline { font-size: 24px; }
  .app-card-actions .button { width: 100%; }
  .app-card-visual { height: 225px; padding-inline: 14px; }
  .approach-grid, .support-grid, .feature-layout, .faq-grid { gap: 60px; }
  .theme-phosplit .hero-grid { gap: 45px; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 90px; }
  .page-container { width: min(600px, calc(100% - 40px)); }
  .section-space { padding-block: 64px; }
  .header-inner { min-height: 72px; }
  .brand { font-size: 19px; }
  .brand img { width: 34px; height: 34px; }
  .nav-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: transparent; }
  .nav-toggle span { display: block; width: 19px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .main-navigation { display: none; position: absolute; top: 71px; left: 0; right: 0; align-items: stretch; flex-direction: column; gap: 0; padding: 15px 20px 20px; background: #fafafa; border-bottom: 1px solid var(--line); }
  .main-navigation.is-open { display: flex; }
  .main-navigation > a:not(.button) { padding: 13px 10px; }
  .main-navigation > .button { width: fit-content; margin-top: 10px; }
  .studio-hero { padding-block: 52px 38px; }
  .studio-hero h1 { font-size: clamp(46px, 8.5vw, 60px); }
  .studio-hero .headline-accent { display: block; padding-left: 0; }
  .studio-hero .hero-description { max-width: 430px; font-size: 16px; }
  .studio-hero .hero-description br { display: none; }
  .app-grid { grid-template-columns: 1fr; gap: 25px; }
  .app-card-visual { height: 270px; padding: 25px; }
  .app-card-copy { padding: 27px; }
  .app-card-tagline { margin-top: 22px; font-size: 28px; }
  .app-card-tagline br { display: none; }
  .app-card-actions .button { width: auto; }
  .app-card-actions { justify-content: space-between; }
  .app-card.theme-phosplit .app-card-visual { height: 320px; }
  .approach-grid, .support-grid, .feature-layout, .faq-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero { padding-block: 54px 62px; }
  .hero-grid, .theme-phosplit .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  h1 { font-size: clamp(44px, 8vw, 58px); }
  h2 { font-size: 36px; }
  .hero-description { margin-top: 21px; }
  .product-showcase { min-height: 0; padding: 35px 20px 24px; }
  .phosplit-showcase > img { max-height: 470px; }
  .step-grid { gap: 25px; margin-top: 34px; }
  .step h3 { font-size: 19px; }
  .feature-grid { grid-template-columns: 1fr; gap: 18px; }
  .feature-card { padding: 25px; }
  .feature-layout > img, .feature-layout > figure img { max-height: 400px; }
  .feature-detail > p:not(.eyebrow) { margin-top: 18px; }
  .download-card { flex-direction: column; align-items: start; gap: 28px; padding: 32px; border-radius: 20px; }
  .download-copy h2 { font-size: 28px; }
  .download-copy > img { width: 54px; height: 54px; }
  .download-section { padding-bottom: 50px; }
  .footer-inner { gap: 18px 28px; }
  .site-footer p { width: 100%; }
}
@media (max-width: 480px) {
  h1 { font-size: clamp(39px, 10vw, 46px); }
  h2 { font-size: 32px; }
  .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .hero-actions { gap: 18px; }
  .store-badge img { width: 149px; }
  .text-link { font-size: 13px; }
  .app-card-visual { height: 230px; padding: 20px; }
  .app-card-copy { padding: 24px; }
  .app-card-tagline { font-size: 25px; }
  .app-card-tagline br { display: block; }
  .app-card-description { font-size: 14px; }
  .app-card-actions { gap: 12px; }
  .app-card-actions .button { width: 100%; }
  .app-card.theme-phosplit .app-card-visual { height: 280px; }
  .apps-section { padding-bottom: 60px; }
  .product-showcase { padding: 26px 14px 20px; border-radius: 18px; }
  .phosplit-showcase > img { max-height: 390px; }
  .visual-caption { margin-top: 20px; font-size: 11px; }
  .step-grid { grid-template-columns: 1fr; gap: 26px; }
  .step { display: grid; grid-template-columns: 30px 1fr; column-gap: 17px; }
  .step .step-number { grid-row: 1 / 3; padding-top: 3px; }
  .step h3 { margin-bottom: 9px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 30px; }
  .pricing-card { padding: 27px; }
  .phone-pair { gap: 14px; }
  .phone-pair img { width: calc(50% - 7px); max-height: 330px; }
  .faq-list summary { font-size: 15px; }
  .download-card { padding: 27px 24px; }
  .download-copy { gap: 15px; }
  .download-copy h2 { font-size: 25px; }
  .download-copy p { font-size: 12px; }
  .download-copy > img { width: 46px; height: 46px; }
  .site-footer nav { margin-left: 0; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
