/* Shared design tokens of every surface (DESIGN.md 2 to 4 and 9; hs 959). Change DESIGN.md first, then this file.
   Light is the base; the dark set is tokens-dark.css. */
:root {
  /* Colour, light (DESIGN.md 2) */
  --bg: #ffffff; --chrome: #ffffff; --surface: #f5f6f7; --surface-2: #eceef0; --surface-3: #e2e5e8; --card: #ffffff;
  --line: #e2e5e8; --text: #25272a; --muted: #56626a; --faint: #8a949a;
  /* One lightness step under `surface`, barely warm: a band on a `surface` page (hs 1110) */
  --surface-warm: #f0ecec;
  --berry: #ce2853; --berry-hi: #e8456f; --berry-ink: #a81f43; --berry-text: var(--berry-ink);
  --green: #24834c; --green-ink: #1f7343; --green-deep: #1d6b3e; --amber: #9a6a10; --online: #26774a; --danger: #a81f43; --blue: #1d64c8;
  --maintenance: #b4561c;
  /* On a berry or green fill, and the shade over art */
  --on-accent: #ffffff; --overlay: rgba(13, 14, 17, .78); --scrim: rgba(13, 14, 17, .55);

  /* Type (DESIGN.md 3) */
  --font-ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: Outfit, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --font-mc: Monocraft, var(--font-mono);
  --fs-2xs: .75rem;     /* 12: counts, chips */
  --fs-xs: .8125rem;    /* 13: small print, meta */
  --fs-sm: .875rem;     /* 14: secondary text, small buttons */
  --fs-md: .9375rem;    /* 15: body */
  --fs-lg: 1rem;        /* 16: card titles, large buttons */
  --fs-xl: 1.125rem;    /* 18: the wordmark, figures */
  --fs-2xl: 1.3125rem;  /* 21: section titles */
  --fs-3xl: 1.5rem;     /* 24: sheet and dialog titles */
  --fs-4xl: 2rem;       /* 32: error pages */
  --fs-display: 2.5rem; /* 40: large figures and icons */
  --fs-title: clamp(1.625rem, 2.8vw, 2.1875rem);   /* 26 to 35: page titles */
  --fs-title-sm: clamp(1.375rem, 2.4vw, 1.75rem);  /* 22 to 28: titles inside a page */
  --fw-regular: 400; --fw-medium: 500; --fw-semibold: 600; --fw-bold: 700; --fw-display: 800;
  --lh: 1.5; --lh-tight: 1.15; --lh-sheet: 1.2; --lh-heading: 1.25; --tracking-display: -.02em;

  /* Space (DESIGN.md 4): a 4 px grid; 2 and 6 only inside small controls */
  --sp-0-5: 2px; --sp-1: 4px; --sp-1-5: 6px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px;
  --sp-7: 28px; --sp-8: 32px; --sp-9: 36px; --sp-10: 40px; --sp-12: 48px; --sp-16: 64px; --sp-20: 80px;
  --ctl-h: 40px; --ctl-h-sm: 36px; --ctl-h-lg: 48px;

  /* Shape (DESIGN.md 4): controls 10, cards 12 to 16, pills full round */
  --r-2xs: 2px; --r-xs: 4px; --r-sm: 6px; --r-md: 8px; --r-ctl: 10px; --r-card: 12px; --r-panel: 14px; --r-lg: 16px;
  --r-xl: 20px; --r-pill: 999px; --r-round: 50%;

  /* Depth (hs 811: popups have no shadow) */
  --shadow-pop: none; --shadow-sm: 0 1px 2px rgba(0, 0, 0, .2);
  /* The one focus ring (DESIGN.md 4; hs 1205): thin and neutral, never berry, outside the control and following its own
     corners; 6.3:1 on white here, 8.6:1 or more on every dark surface (tokens-dark.css) */
  --focus-ring: #56626a;
  --focus: 0 0 0 2px var(--focus-ring);

  /* Motion (DESIGN.md 9) */
  --ease: cubic-bezier(.22, 1, .36, 1); --dur-fast: 150ms; --dur: 180ms;
  /* A disabled control (DESIGN.md 6.1): the whole of it at 45 % */
  --opacity-disabled: .45;
  color-scheme: light;
}

/* Focus on every surface that loads this file (DESIGN.md 4; hs 1205). Each surface draws the ring on its controls with
   `:focus-visible { outline: none; box-shadow: var(--focus); }`, so a mouse click or a tap shows nothing. A box never
   shows a focus frame: the page's regions, sections, dialogs and headings, and anything that takes the focus only from
   a script or a click (tabindex="-1") unless it is a control itself. */
:is(main, section, article, aside, nav, header, footer, form, fieldset, dialog, pre, h1, h2, h3, h4, h5, h6, p,
  [role="main"], [role="region"], [role="tabpanel"], [role="dialog"], [role="alertdialog"], [role="document"], [role="log"],
  [role="status"], [role="alert"],
  [tabindex="-1"]:not(a[href], button, input, select, textarea, summary, [role="button"], [role="link"], [role="tab"],
    [role="menuitem"], [role="menuitemradio"], [role="menuitemcheckbox"], [role="option"], [role="radio"],
    [role="checkbox"], [role="switch"], [role="treeitem"], [role="gridcell"])):not([tabindex="0"]):focus {
  outline: none !important; box-shadow: none !important;
}
/* A box that scrolls by keyboard (a console, a code block, a reader) is reached with Tab: only its own edge takes the
   ring's colour, with no frame around it (WCAG 2.4.7). */
:is(pre, [role="region"], [role="tabpanel"], [role="log"], [data-reader-scroll])[tabindex="0"]:focus-visible {
  outline: 1px solid var(--focus-ring) !important; outline-offset: -1px !important; box-shadow: none !important;
}
/* High Contrast (forced colours) drops every box-shadow, so the ring becomes an outline in the system colour there. */
@media (forced-colors: active) {
  :focus-visible { outline: 2px solid CanvasText !important; outline-offset: 2px !important; }
}

/*
 * The dark set of the shared tokens (DESIGN.md 2; hs 959), imported after tokens.css by the surfaces that follow the
 * visitor's system setting, or that force a theme with data-theme (the docs: Fumadocs' `.dark` and `.light` classes).
 */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"], .light) {
    --bg: #0d0e11; --chrome: #111317; --surface: #17191e; --surface-2: #1e2127; --surface-3: #262a31; --card: var(--surface); --surface-warm: #1e181b;
    --line: #2a2e35; --text: #eef0f2; --muted: #9aa3aa; --faint: #6b747b; --berry-text: color-mix(in srgb, var(--berry-hi) 70%, #ffffff);
    --amber: #f0b44c; --online: #5ee08f; --danger: #ff8a9f; --blue: #6ea8fe; --maintenance: #f08a4b;
    --focus-ring: #c4c9ce;
    color-scheme: dark;
  }
}
:root:is([data-theme="dark"], .dark) {
  --bg: #0d0e11; --chrome: #111317; --surface: #17191e; --surface-2: #1e2127; --surface-3: #262a31; --card: var(--surface); --surface-warm: #1e181b;
  --line: #2a2e35; --text: #eef0f2; --muted: #9aa3aa; --faint: #6b747b; --berry-text: color-mix(in srgb, var(--berry-hi) 70%, #ffffff);
  --amber: #f0b44c; --online: #5ee08f; --danger: #ff8a9f; --blue: #6ea8fe; --maintenance: #f08a4b;
  --focus-ring: #c4c9ce;
  color-scheme: dark;
}

@font-face {
  font-family: Outfit;
  src: url("/assets/outfit-800.27147c0353ec.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* The colours, type, shape and motion are the shared tokens of every Strawberry surface (hs 1043): the build puts
     infra/ctrlpanel-extension/public/strawberry/tokens.css and tokens-dark.css in front of this file (tools/site.mjs). Only
     the two landing sizes are the company site's own. */
  --fs-landing-hero: clamp(3.3rem, 8.6vw, 7.5rem); --fs-landing-section: clamp(1.9rem, 3.2vw, 2.65rem);
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  color-scheme: light dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--fw-display); text-wrap: balance; }
h1 { font-size: var(--fs-landing-hero); line-height: .99; letter-spacing: var(--tracking-display); }
h2 { font-size: var(--fs-landing-section); line-height: 1.13; letter-spacing: var(--tracking-display); }
h3 { font-size: var(--fs-2xl); line-height: 1.25; letter-spacing: var(--tracking-display); }
p { text-wrap: pretty; }
main:focus { outline: none; }
/* One focus ring for the keyboard: outside the control, at its own corners. On the berry band it is white. */
:focus-visible { outline: none; box-shadow: var(--focus); }
::selection { background: var(--berry-ink); color: var(--on-accent); }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -90px; z-index: 5; padding: 12px 20px; background: var(--text); color: var(--bg); border-radius: var(--r-md); }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 32px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: var(--fw-display); font-size: var(--fs-2xl); line-height: 1.25; letter-spacing: var(--tracking-display); white-space: nowrap; }
.brand img { flex-shrink: 0; image-rendering: pixelated; }
.desktop-nav { display: flex; align-items: center; gap: 32px; font-size: var(--fs-md); font-weight: var(--fw-semibold); }
.desktop-nav a { display: flex; align-items: center; min-height: 44px; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--berry-text); }
.desktop-nav a[aria-current] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.mobile-menu { display: none; }
.lead { font-size: var(--fs-xl); line-height: 1.65; max-width: 62ch; }
.section-copy { margin-top: 20px; color: var(--muted); font-size: var(--fs-lg); line-height: 1.8; max-width: 46ch; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 32px; }
/* The button: berry, white words, 10 px corners; under the pointer and pressed berry-ink, pressed 1 px down. */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--berry); border-radius: var(--r-ctl); background: var(--berry); color: var(--on-accent); font-size: var(--fs-lg); font-weight: var(--fw-bold); line-height: 1.5; text-align: center; transition: background-color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.button:hover, .button:active { background: var(--berry-ink); border-color: var(--berry-ink); }
.button:active { transform: translateY(1px); }
/* On the berry band the button is white with berry-ink words, in both themes. */
.button-light { background: var(--on-accent); border-color: var(--on-accent); color: var(--berry-ink); }
.button-light:hover, .button-light:active { color: var(--on-accent); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--berry-text); font-size: var(--fs-md); font-weight: var(--fw-bold); line-height: 1.6; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover, .inline-link:hover { text-decoration-thickness: 2px; }
.inline-link { color: var(--berry-text); text-decoration: underline; text-underline-offset: 4px; }
.home-hero { background: var(--berry); color: var(--on-accent); padding: 96px 48px 88px; }
.hero-simple.wrap { width: min(1200px, 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 80px; align-items: end; padding-block: 88px 80px; }
.home-intro h1 { max-width: 17ch; }
.home-intro .lead { margin-top: 28px; max-width: 51ch; font-size: var(--fs-xl); }
.home-hero :focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--on-accent) 70%, transparent); }
.hero-link { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-md); font-weight: var(--fw-semibold); text-decoration: underline; text-underline-offset: 5px; }
.hero-context { border-left: 1px solid color-mix(in srgb, var(--on-accent) 50%, transparent); padding-left: 36px; padding-block: 4px; }
.hero-context > p:first-child { font-size: var(--fs-sm); margin-bottom: 16px; }
.hero-context h2 { font-size: var(--fs-title-sm); line-height: 1.2; }
.hero-context h2 + p { margin-top: 24px; font-size: var(--fs-md); line-height: 1.75; max-width: 34ch; }
.hero-context > a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 24px; font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 5px; }
.section { padding: 76px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; margin-bottom: 40px; }
.section-heading > h2 { max-width: 22ch; }
.section-heading > p { color: var(--muted); font-size: var(--fs-lg); line-height: 1.8; max-width: 53ch; }
.portfolio { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.portfolio > article { display: grid; grid-template-rows: auto auto 1fr auto auto; padding: 36px 40px; }
.platform-feature { border: 1px solid var(--line); }
.game-feature { background: var(--surface); }
.product-kind, .section-caption { font-size: var(--fs-sm); font-weight: var(--fw-semibold); line-height: 1.6; color: var(--muted); }
.product-kind { margin-bottom: 16px; }
.portfolio h3 { min-height: 2.32em; font-size: var(--fs-landing-section); line-height: 1.16; }
.portfolio h3 + p { margin-top: 24px; font-size: var(--fs-lg); line-height: 1.8; max-width: 48ch; }
.portfolio .product-status { margin-top: 24px; font-size: var(--fs-xs); color: var(--muted); line-height: 1.7; }
.portfolio .text-link { margin-top: 16px; }
.stage-section { padding-block: 72px; border-block: 1px solid var(--line); }
.stage-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
.stage-grid h2 { margin-top: 16px; }
.prose { max-width: 64ch; font-size: var(--fs-lg); line-height: 1.85; }
.prose p { color: var(--muted); }
.prose p + p { margin-top: 20px; }
.prose h2 + p { margin-top: 24px; }
.prose .lead { color: var(--text); font-size: var(--fs-2xl); }
.prose .text-link { margin-top: 24px; }
.closing-section { display: flex; align-items: center; justify-content: space-between; gap: 64px; padding-block: 64px 72px; }
.closing-section h2 { font-size: var(--fs-title-sm); max-width: 30ch; }
.closing-section p { margin-top: 16px; font-size: var(--fs-lg); line-height: 1.8; color: var(--muted); max-width: 61ch; }
.closing-section > .button, .closing-section > .actions { flex-shrink: 0; }
.closing-section > .actions { flex-direction: column; align-items: flex-start; margin: 0; gap: 12px; }
.page-hero { padding-block: 68px 64px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 21ch; }
.page-hero .section-caption { margin-bottom: 16px; color: var(--berry-text); }
.page-hero > .lead { margin-top: 28px; max-width: 65ch; }
.page-hero.not-found { border: 0; }
.page-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 24px; }
.page-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: var(--fs-sm); font-weight: var(--fw-semibold); text-decoration: underline; text-underline-offset: 5px; }
.page-links a:hover { color: var(--berry-text); }
.split-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; }
.split-section h2 { max-width: 24ch; }
.company-profile { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 88px; }
.fact-sheet { background: var(--surface); border-radius: var(--r-card); padding: 32px; align-self: start; }
.fact-sheet h2 { font-size: var(--fs-xl); letter-spacing: 0; margin-bottom: 12px; }
.fact-sheet dl > div { padding-block: 16px; border-top: 1px solid var(--line); }
dt { color: var(--muted); font-size: var(--fs-xs); line-height: 1.7; }
dd { margin-top: 4px; font-size: var(--fs-md); line-height: 1.7; }
.business-section, .gameplay-section, .creation-section, .correspondence-section { background: var(--surface); padding-block: 68px; }
.business-models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
.business-models article { padding-top: 24px; border-top: 2px solid var(--berry); }
.business-models p { color: var(--muted); margin-top: 16px; font-size: var(--fs-lg); line-height: 1.85; max-width: 57ch; }
.business-section .small-print { max-width: 88ch; margin-top: 32px; }
.priorities-list article { padding-block: 24px; border-bottom: 1px solid var(--line); }
.priorities-list article:first-child { padding-top: 0; }
.priorities-list article:last-child { padding-bottom: 0; border-bottom: 0; }
.priorities-list p { margin-top: 12px; color: var(--muted); font-size: var(--fs-lg); line-height: 1.8; }
.information-block dl > div { display: grid; grid-template-columns: minmax(120px, .6fr) minmax(0, 1fr); gap: 20px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.information-block dl > div:first-child { padding-top: 0; }
.information-block dd { margin-top: 0; }
.small-print { color: var(--muted); font-size: var(--fs-xs); line-height: 1.8; margin-top: 24px; max-width: 65ch; }
.product-feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 88px; }
.product-heading h2 { font-size: var(--fs-landing-section); }
/* A status line is a quiet surface-2 note, never a line down its side. */
.status-note { margin-top: 24px; color: var(--muted); font-size: var(--fs-md); line-height: 1.8; background: var(--surface-2); border-radius: var(--r-ctl); padding: 12px 16px; }
.product-heading .text-link { margin-top: 24px; }
.capability-list { margin-top: 32px; }
.capability-list > div { display: grid; grid-template-columns: minmax(150px, .75fr) minmax(0, 1.4fr); gap: 24px; padding-block: 20px; border-top: 1px solid var(--line); }
.capability-list dt { color: var(--text); font-weight: var(--fw-semibold); font-size: var(--fs-sm); }
.capability-list dd { color: var(--muted); margin: 0; }
.capability-list + .text-link { margin-top: 16px; }
.gameplay-description { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; padding-block: 32px 40px; border-top: 1px solid var(--line); }
.gameplay-description h3 { max-width: 26ch; font-size: var(--fs-3xl); }
.game-editions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
.game-editions article { padding-top: 28px; border-top: 1px solid var(--line); }
.game-editions h3 { font-size: var(--fs-title-sm); }
.game-editions h3 + p { margin-top: 16px; color: var(--muted); font-size: var(--fs-lg); line-height: 1.8; }
.game-editions .text-link { margin-top: 16px; }
.quality-standards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.quality-standards article { padding-top: 24px; border-top: 2px solid var(--line); }
.quality-standards p { margin-top: 16px; font-size: var(--fs-lg); line-height: 1.8; color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
.contact-layout > div { display: grid; grid-template-rows: auto 1fr auto auto; align-content: start; }
.contact-layout h2 { font-size: var(--fs-title-sm); }
/* The business column has no stripe of its own: its heading and its address are enough. */
.company-contact { padding-left: 0; }
.contact-layout > div > p { margin-top: 20px; color: var(--muted); font-size: var(--fs-lg); line-height: 1.8; max-width: 50ch; }
.contact-email { display: inline-block; margin-top: 24px; padding-block: 12px; min-height: 44px; color: var(--berry-text); font-size: var(--fs-xl); font-weight: var(--fw-bold); overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 6px; }
.contact-email:hover { text-decoration-thickness: 2px; }
.contact-layout .channel-context, .contact-layout .contact-review-note { font-size: var(--fs-sm); }

@media (max-width: 1080px) {
  .wrap { width: calc(100% - 64px); }
  .home-hero { padding-inline: 32px; }
  .desktop-nav { gap: 24px; }
  .hero-grid { gap: 48px; }
  .hero-context { padding-left: 28px; }
  .section-heading, .stage-grid, .split-section, .company-profile, .business-models, .product-feature, .gameplay-description, .game-editions, .contact-layout { gap: 48px; }
  .portfolio > article { padding: 32px; }
  .closing-section { align-items: flex-start; flex-direction: column; gap: 24px; }
  .closing-section > .actions { flex-direction: row; align-items: center; gap: 24px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .home-hero { padding: 64px 20px 56px; }
  .header-inner { min-height: 80px; gap: 12px; }
  .brand { gap: 8px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; padding-block: 16px; }
  .mobile-menu summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0 8px 12px; cursor: pointer; font-size: var(--fs-sm); font-weight: var(--fw-semibold); }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; top: 100%; left: -20px; right: -20px; z-index: 2; padding: 12px 20px 20px; border-block: 1px solid var(--line); background: var(--bg); }
  .mobile-menu nav a { display: flex; align-items: center; min-height: 48px; padding-inline: 12px; font-size: var(--fs-lg); font-weight: var(--fw-semibold); }
  .mobile-menu nav a[aria-current] { color: var(--berry-text); }
  /* The landing hero step is for a wide screen; a phone's headline is the display step. */
  h1, .home-intro h1, .page-hero h1, .hero-simple .home-intro h1 { font-size: var(--fs-display); }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding-block: 56px; }
  .home-intro h1 { max-width: 20ch; }
  .home-intro .lead { max-width: 54ch; margin-top: 24px; }
  .hero-context { border-left: 0; border-top: 1px solid color-mix(in srgb, var(--on-accent) 50%, transparent); padding: 28px 0 0; }
  .hero-context h2 { font-size: var(--fs-title-sm); }
  .hero-context h2 + p { max-width: 48ch; margin-top: 16px; }
  .hero-context > a { margin-top: 12px; }
  .section { padding: 48px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .portfolio { grid-template-columns: 1fr; }
  .portfolio > article { padding: 32px; }
  .portfolio h3 { min-height: 0; }
  .stage-section, .business-section, .gameplay-section, .creation-section, .correspondence-section { padding-block: 48px; }
  .stage-grid, .split-section, .company-profile, .business-models, .product-feature, .gameplay-description, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { padding-block: 48px; }
  .page-hero > .lead { margin-top: 24px; }
  .game-editions { gap: 32px; }
  .quality-standards { grid-template-columns: 1fr; gap: 24px; }
  .quality-standards article p { max-width: 60ch; }
  .closing-section { padding-block: 48px; }
  .support-contact { padding-top: 28px; border-top: 1px solid var(--line); }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 36px); }
  .home-hero { padding-inline: 18px; }
  .brand { font-size: var(--fs-xl); }
  .brand img { width: 28px; height: 28px; }
  .mobile-menu nav { left: -18px; right: -18px; padding-inline: 18px; }
  .hero-grid { padding-block: 44px; gap: 32px; }
  .home-intro .lead, .lead { font-size: var(--fs-lg); }
  .actions { gap: 12px 20px; margin-top: 24px; }
  .hero-link { font-size: var(--fs-sm); }
  .portfolio > article { padding: 28px; }
  .game-editions { grid-template-columns: 1fr; }
  .capability-list > div { grid-template-columns: 1fr; gap: 8px; }
  .information-block dl > div { grid-template-columns: 1fr; gap: 4px; }
  .contact-email { font-size: var(--fs-lg); }
  .fact-sheet { padding: 24px; }
}

@media (max-width: 360px) {
  .brand { font-size: var(--fs-lg); gap: 8px; }
  .brand img { width: 24px; height: 24px; }
  .header-inner { gap: 8px; }
  .mobile-menu summary { gap: 8px; padding-left: 8px; font-size: var(--fs-xs); }
  .portfolio > article { padding: 24px; }
}

.hero-simple .home-intro h1 { max-width: 20ch; }
.section > h2 { margin-bottom: 40px; }
.home-product { max-width: 68ch; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-card); }
.home-product h3 { font-size: var(--fs-title-sm); line-height: 1.2; }
.home-product h3 + p { margin-top: 16px; color: var(--muted); font-size: var(--fs-lg); line-height: 1.75; }
.home-product .product-status { margin-top: 16px; font-size: var(--fs-xs); font-weight: var(--fw-semibold); color: var(--berry-text); }
.home-product .text-link { margin-top: 12px; }
.about-section .lead { max-width: 56ch; }
.contact-layout h3 { font-size: var(--fs-3xl); }
.sb-footer-social .footer-discord { display: inline-grid; place-items: center; justify-self: start; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: var(--r-ctl); color: var(--text); }
.sb-footer-social .footer-discord:hover { background: var(--surface); }
.footer-discord svg { flex: none; width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 760px) {
}

/* Reduced motion: every transition stops and the 1 px press no longer moves. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .button:active { transform: none; }
}

.blog-page {
  width: min(760px, calc(100% - 32px));
  margin-inline: auto;
  padding-block: 48px 64px;
  line-height: 1.6;
}
.blog-page h1 { font-size: clamp(1.625rem, 2.8vw, 2.1875rem); line-height: 1.15; text-wrap: wrap; }
.blog-page h2 { font-size: var(--fs-2xl); line-height: 1.25; text-wrap: wrap; }
.blog-intro { margin-top: 12px; color: var(--muted); max-width: 68ch; }
.blog-languages ul, .blog-list { list-style: none; margin: 0; padding: 0; }
.blog-languages ul { display: flex; flex-wrap: wrap; column-gap: 16px; margin-top: 12px; }
.blog-languages a { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; color: var(--muted); white-space: nowrap; }
.blog-languages .language-flag { flex: none; border-radius: var(--r-2xs); }
.blog-languages a[aria-current], .blog-languages a:hover { color: var(--berry-text); text-decoration: underline; text-underline-offset: 4px; }
.blog-list, .blog-body { border-top: 1px solid var(--line); margin-top: 20px; }
.blog-list { padding-top: 12px; }
.blog-list li { padding-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.blog-list p { color: var(--muted); margin-top: 8px; max-width: 68ch; }
.blog-body { padding-top: 20px; max-width: 68ch; }
.blog-body p + p { margin-top: 12px; }
.blog-body h2 { margin-block: 28px 8px; }
.blog-body figure { margin: 24px 0; }
.blog-body figure > svg { display: block; width: 100%; height: auto; }
.blog-chart { fill: currentColor; font-family: var(--font-ui); font-size: 20px; }
.blog-chart-track { fill: var(--surface-2); }
.blog-chart-bar { fill: var(--berry); }
.roundup-chart ul { padding: 0; margin: 0; list-style: none; }
.roundup-chart li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px 16px;
  border-block-start: 1px solid var(--line);
  padding-block: 8px;
}
.roundup-chart li:last-child { border-block-end: 1px solid var(--line); }
.roundup-chart li span { color: var(--muted); }
.roundup-chart-bar { display: block; grid-column: 1 / -1; }
.blog-body figcaption { color: var(--muted); margin-top: 8px; }
.blog-body table { width: 100%; border-collapse: collapse; overflow-wrap: anywhere; }
.blog-body :is(th, td) { padding: 8px; border-bottom: 1px solid var(--line); text-align: start; }
@media (max-width: 600px) {
  .blog-page { padding-block: 32px 48px; }
}

/* The footer of every Play Strawberry site (DESIGN.md 7), short (owner, 2026-11-30, hoststrawberry 1145: "Footer bu
   kadar büyük yer kaplamasın benim attığım örnekti daha kısa olabilir"; it followed 1093's columns): the link groups
   flow on one line and wrap, a wider space between groups than between links; each group's heading is kept for screen
   readers only. Below, one row: Discord, the company line, the language on the right; on a narrow footer the company
   line moves under them. The groups and their words are config/strawberry_footer.json; each site draws its own
   addresses. The site's tokens only (--text, --muted, --line). Links change colour at
   once: the legal pages inline this file and their check refuses the CSS property that would animate it. */
/* The layout follows the footer's own width, not the window's: beside a side menu (docs, the panel) it is narrower. */
.sb-footer { container-type: inline-size; margin-top: 48px; border-top: 1px solid var(--line); padding-block: 24px; color: var(--muted); font-size: var(--fs-sm, .875rem); line-height: 1.5; text-align: left; }
.sb-footer-cols { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; }
.sb-footer .sb-footer-col h2 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sb-footer-col ul { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.sb-footer-col li { min-width: 0; margin: 0; padding: 0; }
.sb-footer-col li:empty { display: none; }
/* Two classes: a surface's own link colour (the panel's `body.sb-body a`) must not win. */
.sb-footer .sb-footer-col :is(a, button) { display: inline; min-height: 0; margin: 0; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 500; text-align: left; text-decoration: none; white-space: nowrap; cursor: pointer; }
.sb-footer .sb-footer-col :is(a, button):hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.sb-footer .sb-footer-col a[aria-current="page"] { color: var(--text); }
.sb-footer .sb-footer-col a.sb-footer-email { font-size: var(--fs-xs, .8125rem); font-weight: 400; }

.sb-footer-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px; }
.sb-footer-social { display: flex; flex: none; gap: 8px; }
.sb-footer-legal { flex: 1 1 0; min-width: 0; margin: 0; color: var(--muted); font-size: var(--fs-xs, .8125rem); line-height: 1.5; text-align: left; }
.sb-footer-lang { display: flex; flex: none; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; margin-left: auto; }

/* A narrow footer (a phone, beside the docs' side menu): the links of all groups run on together, a wider space after
   each group's last; rows 27 px apart, so every link keeps a 24 px target (WCAG 2.5.8). Discord and the language on
   one line, the company line under them. */
@container (max-width: 640px) {
  .sb-footer-cols { display: block; }
  .sb-footer-col, .sb-footer-col ul { display: inline; }
  .sb-footer-col li { display: inline-block; margin: 0 20px 6px 0; }
  .sb-footer-col li:last-child { margin-right: 32px; }
  .sb-footer-end { margin-top: 10px; }
  .sb-footer-legal { flex-basis: 100%; order: 3; }
}
@media (max-width: 640px) {
  .sb-footer { margin-top: 40px; padding-block: 16px 20px; }
}
