/* Rounce landing theme, read from the edited Penpot Home boards, 4 October 2026.
   tokens.css is generated; this file owns layout and semantic content patterns. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/source-serif-4-400.woff2") format("woff2"); }
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--font-ui); font-size: var(--t-body); line-height: 1.5; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-accent-text); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .12em; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 5px; }
button, summary { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 400; }
.site-shell { max-width: var(--layout-content); margin-inline: auto; width: calc(100% - 2 * clamp(24px, 6.6667vw, 96px)); }
.skip-link { position: absolute; z-index: 10; top: 1rem; left: 1rem; padding: .75rem 1rem; background: var(--c-accent); color: var(--c-button-text); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.site-header { min-height: 96px; display: flex; align-items: center; gap: 2rem; border-bottom: 1px solid var(--c-rule); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: var(--c-text); font-family: var(--font-display); font-size: var(--t-brand); line-height: 1.4; text-decoration: none; }
.brand span { overflow-wrap: anywhere; }
.brand img { width: 40px; height: 40px; flex: 0 0 auto; }
.header-links { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: .875rem; }
.header-links > a:not(.button) { color: var(--c-muted); text-decoration: none; }
.header-links > a:not(.button):hover { color: var(--c-accent-text); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .5em; min-height: 56px; padding: .875rem 1.75rem; border: 1px solid transparent; border-radius: var(--r-button); background: var(--c-accent); color: var(--c-button-text); font-weight: 600; font-size: 1rem; line-height: 1.4; text-decoration: none; }
.button:hover { background: var(--c-accent-hover); text-decoration: none; }
.button--secondary { background: transparent; border-color: var(--c-rule); color: var(--c-text); }
.button--secondary:hover { background: var(--c-panel); border-color: var(--c-accent); }
.header-links .button { min-height: 44px; padding: .65rem 1.125rem; }
.mobile-menu { display: none; margin-left: auto; position: relative; flex-shrink: 0; }
.mobile-menu summary { list-style: none; cursor: pointer; display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--c-muted); font-size: 1.5rem; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; top: calc(100% + 8px); right: 0; z-index: 5; width: min(19rem, calc(100vw - 48px)); padding: 1rem; background: var(--c-panel); border: 1px solid var(--c-rule); border-radius: var(--r-card); box-shadow: 0 12px 32px #1011141A; }
.mobile-menu nav a { display: block; padding: .75rem; color: var(--c-text); overflow-wrap: anywhere; }
/* The composed table of contents stays available below the hero navigation;
   the landing page's single Home entry duplicates the logo and is suppressed. */
.project-nav:has(> ul > li:only-child > a[aria-current="page"]) { display: none; }
.project-nav ul { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 1rem 0; gap: 1.25rem; }
.project-nav ul ul { display: block; }
.breadcrumb { font-size: .875rem; color: var(--c-muted); }
.breadcrumb:has(li:only-child) { display: none; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; padding: 0; margin: 1rem 0; }
.version-banner:not(:empty) { padding: 1rem; margin-top: 1rem; background: var(--c-panel); border-left: 3px solid var(--c-accent); }
.hero { padding-top: 66px; text-align: center; }
.hero-brand { color: var(--c-accent); font-family: var(--font-display); font-size: var(--t-hero-brand); line-height: 1.5625; text-transform: lowercase; letter-spacing: 0; }
.brand, .footer-brand { text-transform: lowercase; }
.hero h1 { font-size: var(--t-hero); line-height: 1.31579; }
.hero h1 span { display: block; }
.hero-year { color: var(--c-accent); }
.hero-lead { max-width: 750px; margin: 36px auto 0; font-size: var(--t-lead); line-height: 1.4; color: var(--c-muted); }
.hero-lead span { display: block; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 54px; }
.hero-actions .button:first-child { min-width: 225px; }
.hero-actions .button:last-child { min-width: 207px; }
.hero-assurance { margin-top: 16px; font-size: .8125rem; color: var(--c-muted); }
.intro-section { margin-top: 73px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-card-gap); }
.feature-card { min-width: 0; min-height: 222px; padding: 25px 24px 24px; border: 1px solid var(--c-rule); border-radius: var(--r-card); background: var(--c-panel); }
.feature-icon { width: 30px; height: 30px; margin-bottom: 22px; object-fit: contain; }
.feature-card h3 { min-height: 54px; font-family: var(--font-ui); font-weight: 600; font-size: var(--t-card-title); line-height: 1.4; }
.feature-card p { margin-top: 7px; font-size: var(--t-card-body); line-height: 1.4; color: var(--c-muted); }
.feature-grid--intro .feature-card { min-height: 246px; text-align: center; }
.feature-grid--intro .feature-icon { margin-inline: auto; }
.section-heading .eyebrow { font-size: var(--t-eyebrow); font-weight: 600; color: var(--c-accent-text); line-height: 1.5; }
.section-heading h2 { margin-top: 22px; font-size: var(--t-section); line-height: 1.4; }
.section-heading .section-lead { margin-top: 16px; font-size: var(--t-section-lead); color: var(--c-muted); line-height: 1.4; }
.product-section { margin-top: 68px; padding-top: 58px; border-top: 1px solid var(--c-rule); }
.product-preview { margin-top: 48px; overflow: hidden; border-radius: var(--r-preview); }
.product-preview img { width: 100%; }
.feature-section { margin-top: 86px; }
.feature-section .feature-grid { margin-top: 48px; row-gap: 20px; }
.closing-statement { margin-top: 55px; padding-top: 36px; border-top: 1px solid var(--c-rule); text-align: center; }
.closing-statement h2 { font-size: var(--t-closing); line-height: 1.4; }
.closing-statement p { margin-top: 20px; font-size: var(--t-section-lead); color: var(--c-muted); }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 4rem; padding-block: 62px 26px; color: var(--c-muted); font-size: .75rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.4375rem; color: var(--c-text); text-decoration: none; }
.site-footer > a:last-child { margin-left: auto; text-decoration: none; }
/* General topic styles: this remains a usable theme beyond the landing page. */
main > h1, main > h2, main > h3, main > p, main > ul, main > ol, main > pre, main > table, main > dl, .generated { max-width: 80ch; margin: 1.5rem auto; }
main > h1 { font-size: 3rem; }
main > h2 { font-size: 2rem; }
main > h3 { font-size: 1.25rem; }
code, pre { font-family: ui-monospace, Consolas, monospace; }
pre { overflow: auto; padding: 1rem; background: var(--c-panel); border-radius: var(--r-card); }
table { border-collapse: collapse; width: 100%; }
td, th { border: 1px solid var(--c-rule); padding: .75rem; text-align: left; }
blockquote { border-left: 3px solid var(--c-accent); padding-left: 1rem; color: var(--c-muted); }
.generated { padding: 2rem; }
.generated ul { padding-left: 1.25rem; }
@media (max-width: 68rem) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .header-links { gap: 20px; }
  .hero h1 { font-size: clamp(2.25rem, 5.28vw, var(--t-hero)); }
}
@media (max-width: 44rem) {
  .site-shell { width: calc(100% - 48px); }
  .site-header { min-height: 84px; gap: 1rem; }
  .brand { flex: 1; font-size: 1.6875rem; }
  .brand img { width: 36px; height: 36px; }
  .header-links { display: none; }
  .mobile-menu { display: block; }
  .hero { padding-top: 51px; }
  .hero-brand { font-size: var(--t-hero-brand-narrow); line-height: 1.46; }
  .hero h1 { margin-top: 34px; font-size: calc(var(--t-hero-narrow) * .958333); line-height: 1.58; }
  .hero-year { font-size: var(--t-year-narrow); line-height: 1.4; }
  .hero-lead { margin-top: 60px; font-size: 1rem; line-height: 1.4; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; gap: 12px; margin-top: 56px; }
  .hero-actions .button { width: 100%; min-height: 54px; min-width: 0; }
  .hero-assurance { margin-top: 28px; font-size: .75rem; }
  .intro-section { margin-top: 53px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .feature-card, .feature-grid--intro .feature-card { min-height: 188px; text-align: left; padding: 20px 22px 22px; }
  .feature-grid--intro .feature-card { min-height: 204px; }
  .feature-grid--intro .feature-icon { margin-inline: 0; }
  .feature-icon { width: 28px; height: 28px; margin-bottom: 18px; }
  .feature-card h3 { min-height: 0; font-size: 1.125rem; }
  .feature-card p { margin-top: 16px; }
  .product-section { margin-top: 52px; padding-top: 41px; }
  .section-heading .eyebrow { font-size: .6875rem; }
  .section-heading h2 { font-size: var(--t-section-narrow); line-height: 1.4; margin-top: 22px; }
  .section-heading .section-lead { margin-top: 22px; font-size: .9375rem; }
  .product-preview { margin-top: 36px; border-radius: 10px; }
  .feature-section { margin-top: 62px; }
  .feature-section .feature-grid { margin-top: 48px; gap: 16px; }
  .closing-statement { margin-top: 40px; padding-top: 36px; }
  .closing-statement h2 { font-size: 1.8125rem; }
  .closing-statement p { font-size: .875rem; }
  .site-footer { gap: 1rem; padding-block: 65px 32px; }
  .site-footer p { display: none; }
}
@media (max-width: 24rem) {
  .hero h1 { font-size: 1.65rem; }
  .hero-year { font-size: 1.875rem; }
  .hero-brand { white-space: normal; }
}
@media (prefers-contrast: more) {
  :root { --c-muted: #3D3530; --c-rule: #71665E; --c-accent-text: #79091B; }
  .button--secondary { border-color: var(--c-text); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  html { color-scheme: light; }
  body { background: #FFF; color: #000; }
  .site-shell { width: 100%; }
  .header-links, .mobile-menu, .hero-actions { display: none; }
  .feature-card { break-inside: avoid; background: #FFF; border-color: #777; }
  .hero-year, .hero-brand, .section-heading .eyebrow, .hero-lead, .feature-card p, .section-heading .section-lead, .closing-statement p { color: #333; }
}
