/* seocontrol.app 1.1 (task 262): large graphite blocks, real app screens with an indigo glow (420 round 3), docs shell,
   language menu. Loads after site.css; colour still means state only (green ok, amber warning, red down). */

:root, :root[data-theme="dark"] {
  --bg: #0B0B0F; --bg-2: #111116; --card: #17171C; --ink: #F4F4F6; --muted: #A1A1AB; --faint: #7A7A85; --line: #2A2A31;
  --brand: #A5ABFB; --brand-hover: #C3C7FD; --brand-soft: #23244A; --brand-mid: #5A5FC4; --on-brand: #0B0B0F; --link: #A5ABFB;
  --green: #4ADE80; --amber: #FBBF24; --red: #F87171;
  --panel: linear-gradient(180deg, #18181D 0%, #121216 100%); --panel-line: rgba(255, 255, 255, 0.07);
  --ui: #0A0A0D; --ui-card: #17171C; --ui-line: #26262D; --indigo: #4338CA; --violet: rgba(99, 102, 241, 0.42);
  --head-bg: rgba(11, 11, 15, 0.72);
  color-scheme: dark;
}
body { background: var(--bg) }

/* ---------- header: language menu ---------- */
.lang { position: relative; margin-left: 6px }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font: 600 14px/1 var(--font); cursor: pointer; transition: color 0.2s, border-color 0.2s }
.lang-btn svg { width: 16px; height: 16px }
.lang-btn:hover, .lang.is-open .lang-btn { color: var(--ink); border-color: #3A3A44 }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; padding: 6px; border-radius: 16px; background: #17171C; border: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); display: none; flex-direction: column; z-index: 60 }
.lang.is-open .lang-list { display: flex }
.nav .lang-list a { padding: 10px 12px; border-radius: 10px; font-size: 15px; color: var(--muted) }
.nav .lang-list a:hover { background: #222229; color: var(--ink) }
.nav .lang-list a[aria-current="true"] { color: var(--ink); background: #222229 }
@media (max-width: 1000px) {
  .lang { margin: 8px 0 0 }
  .lang-btn { display: none }
  .lang-list { display: flex; position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 8px 0 0; background: none; border: 0; box-shadow: none; min-width: 0 }
  .nav .lang-list a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: 14px }
}

/* ---------- hero ---------- */
.v11 .hero .lead { max-width: 640px; text-wrap: balance }
.v11 .hero { padding-bottom: 72px }

/* ---------- store badge in hero/blocks ---------- */
.v11 .store { background: #000; border-color: rgba(255, 255, 255, 0.22) }
.v11 a.store:hover { box-shadow: 0 10px 30px var(--violet) }

/* ---------- blocks ---------- */
.blk { padding: 14px 0 }
.intro { padding: 96px 0 36px; text-align: center }
.intro h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.035em }
.intro p { margin: 16px auto 0; max-width: 640px; color: var(--muted); font-size: clamp(18px, 1.9vw, 21px) }
.panel { position: relative; display: grid; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); min-height: 600px; padding: clamp(28px, 5.4vw, 76px); border-radius: 40px; background: var(--panel); overflow: hidden; isolation: isolate }
.panel.flip .p-copy { order: 2 }
.panel.col { grid-template-columns: minmax(0, 1fr); min-height: 0; justify-items: center }
.p-copy { display: flex; flex-direction: column; gap: 20px; max-width: 540px }
.p-copy.center { text-align: center; align-items: center; max-width: 780px }
.p-copy h2 { font-size: clamp(32px, 4.1vw, 54px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05 }
.p-copy p { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.55 }
.p-copy p.sub { font-size: 17px }
.p-copy .cta { justify-content: flex-start; margin-top: 8px }
.p-vis { position: relative; display: flex; align-items: center; justify-content: center; min-height: 500px; width: 100% }
.docs-link { margin-top: 8px }

/* glow behind interface pieces */
.glow { position: relative }
.glow::before { content: ""; position: absolute; z-index: -1; inset: -22% -40%; background: radial-gradient(closest-side, rgba(99, 102, 241, 0.55), rgba(99, 102, 241, 0.12) 55%, transparent 75%); filter: blur(10px); pointer-events: none }

/* site type */
.tips { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 6px }
.tip { border-radius: 18px; padding: 16px; background: rgba(255, 255, 255, 0.035); display: flex; flex-direction: column; gap: 6px }
.tip small { color: var(--faint); font-size: 12px }
.tip b { font-size: 15px; line-height: 1.3 }
.tip span { color: var(--muted); font-size: 14px; line-height: 1.4 }

/* checks grid */
.groups { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px }
.grp { border-radius: 20px; padding: 18px; background: rgba(255, 255, 255, 0.035); display: flex; flex-direction: column; gap: 6px; text-align: left }
.grp b { font-size: 16px }
.grp span { color: var(--muted); font-size: 14px; line-height: 1.4 }

/* fix loop: the real screen and the two messages beside it */
.ai-vis { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 22px; align-items: center }
.bubbles { display: flex; flex-direction: column; gap: 14px }
.bubble { position: relative; max-width: 240px; padding: 12px 14px; border-radius: 18px; background: #1A1A20; border: 1px solid var(--ui-line); font-size: 13px; line-height: 1.4; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45) }
.bubble small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 4px }
.bubble.b1 { border-bottom-left-radius: 6px }
.bubble.b2 { border-bottom-left-radius: 6px; border-color: #3B3F8F; margin-left: 18px }

/* connections */
.sources { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px }
.src { border-radius: 22px; padding: 22px; background: rgba(255, 255, 255, 0.035); text-align: left }
.src h3 { font-size: 18px; margin-bottom: 12px }
.src ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px }
.src li { position: relative; padding-left: 18px; color: var(--muted); font-size: 15px; line-height: 1.4 }
.src li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-mid) }


/* all features and plans */
.all { list-style: none; margin: 16px 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px }
.all li { position: relative; border-radius: 16px; padding: 14px 14px 14px 40px; background: rgba(255, 255, 255, 0.035); font-size: 15px; line-height: 1.35 }
.all li::before { content: ""; position: absolute; left: 15px; top: 17px; width: 12px; height: 7px; border: solid var(--brand); border-width: 0 0 2px 2px; transform: rotate(-45deg) }
.plans { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 20px }
.plan { border-radius: 24px; padding: 24px; background: rgba(255, 255, 255, 0.035); display: flex; flex-direction: column; gap: 6px; text-align: left }
.plan.pro { background: linear-gradient(180deg, rgba(67, 56, 202, 0.24), rgba(67, 56, 202, 0.06)) }
.plan small { color: var(--muted); font-size: 14px }
.plan b { font-size: 28px; letter-spacing: -0.02em }
.plan span { color: var(--muted); font-size: 15px }

/* quote */
.quote { margin: 72px auto 40px; max-width: 900px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px }
.quote blockquote { margin: 0 }
.quote p { font-size: clamp(24px, 3.2vw, 38px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; text-wrap: balance }
.quote p::before { content: "“" } .quote p::after { content: "”" }
.quote figcaption { display: flex; align-items: center; gap: 14px; text-align: left }
.quote img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #17171C, 0 0 0 4px #3B3F8F }
.quote figcaption span { display: flex; flex-direction: column }
.quote figcaption a { font-weight: 650; text-decoration: none }
.quote figcaption small { color: var(--muted); font-size: 14px }

#faq { padding-top: 56px }
.final { padding: 96px 0 120px; text-align: center; position: relative; isolation: isolate }
.final::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 40%; width: min(900px, 120vw); height: 500px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, var(--violet), transparent 70%); opacity: 0.6 }
.final h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 700; letter-spacing: -0.04em }
.final p { color: var(--muted); font-size: 19px; margin: 14px 0 20px }

/* ---------- motion (only after the block scrolls into view) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .panel .bubble { opacity: 0 }
  .panel.in-view .bubble.b1 { animation: fade-up 0.6s var(--ease) 2.6s both }
  .panel.in-view .bubble.b2 { animation: fade-up 0.6s var(--ease) 3.8s both }
}
@keyframes bar-up { from { transform: scaleY(0) } to { transform: scaleY(1) } }
@keyframes pop { from { opacity: 0; transform: scale(0.94) } to { opacity: 1; transform: none } }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5) } 70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0) } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0) } }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(0.97) } to { opacity: 1; transform: none } }

/* ---------- docs and support ---------- */
.docs-shell { display: grid; grid-template-columns: 220px minmax(0, 1fr) 240px; gap: 48px; align-items: start; padding-top: 40px; padding-bottom: 80px }
.docs-nav, .docs-side { position: sticky; top: calc(var(--head-h) + 24px); display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - var(--head-h) - 48px); overflow: auto }
.docs-nav b, .toc b, .ai-box b { font-size: 13px; color: var(--faint); font-weight: 600; padding: 0 10px 8px }
.docs-nav a { text-decoration: none; color: var(--muted); font-size: 15px; padding: 7px 10px; border-radius: 10px }
.docs-nav a:hover { color: var(--ink); background: #16161B }
.docs-nav a[aria-current="page"] { color: var(--ink); background: #1C1C24 }
.doc-page .doc { max-width: 760px; padding-block: 0; gap: 16px }
.doc-page .doc h1 { font-size: clamp(34px, 4.4vw, 50px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; margin-top: 4px }
.doc-lead { font-size: 20px; color: var(--muted); line-height: 1.5 }
.doc-page .doc h2 { font-size: 26px; padding-top: 28px }
.doc-page .doc h3 { font-size: 19px; padding-top: 10px }
.doc-page .doc p, .doc-page .doc li { color: #D7D7DD }
.doc-page .doc code { background: #17171C; border-color: var(--line) }
.doc-page .doc pre { margin: 0; overflow-x: auto; padding: 16px 18px; border-radius: 16px; background: #0F0F13; border: 1px solid var(--line); font-size: 14px; line-height: 1.5 }
.doc-page .doc pre code { background: none; border: 0; padding: 0 }
.doc-page .table { background: #111116 }
.note { padding: 4px 0 4px 18px; border-inline-start: 2px solid var(--line) }
.doc .note p { margin: 0; font: inherit; line-height: 1.55 }
.doc .gu-status { border: 0; border-block: 1px solid var(--line); padding: 18px 0 }
.doc .gu-status p + p { margin-top: 4px }
.doc .gu-status .gu-source { color: var(--muted) }

.doc-date { color: var(--faint) !important; font-size: 14px; margin-top: 24px }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column }
.toc a { display: block; text-decoration: none; color: var(--muted); font-size: 14px; padding: 6px 10px; border-left: 1px solid var(--line) }
.toc a:hover { color: var(--ink); border-color: var(--brand) }
.ai-box { margin-top: 24px; border-radius: 18px; padding: 16px; background: #111116; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px }
.ai-box b { padding: 0 }
.ai-box p { font-size: 14px; color: var(--muted); line-height: 1.45 }
.ai-box div { display: flex; flex-wrap: wrap; gap: 8px }
.ai-box a, .ai-box button { font: 600 13px/1 var(--font); padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: #17171C; color: var(--ink); text-decoration: none; cursor: pointer }
.ai-box a:hover, .ai-box button:hover { border-color: var(--brand-mid) }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .groups, .all { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .docs-shell { grid-template-columns: 200px minmax(0, 1fr) }
  .docs-side { display: none }
}
@media (max-width: 900px) {
  .panel, .panel.flip { grid-template-columns: minmax(0, 1fr); min-height: 0 }
  .panel.flip .p-copy { order: 0 }
  .p-copy { max-width: none }
  .p-vis { min-height: 0; padding: 12px 0 8px }
  .groups, .all { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .ai-vis { grid-template-columns: minmax(0, 1fr); justify-items: center }
  .bubble { max-width: 320px }
}
@media (max-width: 760px) {
  .docs-shell { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px }
  .docs-nav { position: static; flex-direction: row; flex-wrap: nowrap; gap: 6px; max-height: none; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 24px), transparent) }
  .docs-nav::-webkit-scrollbar { display: none }
  .docs-nav b { display: none }
  .docs-nav a { flex: none; white-space: nowrap; background: rgba(255, 255, 255, 0.05); border-radius: 999px; font-size: 14px; padding: 7px 13px }
}
@media (max-width: 600px) {
  .panel { border-radius: 28px; padding: 26px 20px }
  .tips,   .groups, .all { grid-template-columns: minmax(0, 1fr) }
  .intro { padding-top: 64px }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none }
}
:lang(de) .quote p::before { content: "„" } :lang(de) .quote p::after { content: "“" }
:lang(fr) .quote p::before { content: "« " } :lang(fr) .quote p::after { content: " »" }
:lang(es) .quote p::before { content: "«" } :lang(es) .quote p::after { content: "»" }
.legal-page .page-head { border-bottom: 0; background: none; padding-bottom: 8px }
.legal-page .page-head h1:lang(de) { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: anywhere }
.legal-page .doc { padding-top: 24px }

/* ---------- landing for release (task 420): fix loop, updates, price, widgets, everything, plans table ---------- */
.v11 .hero h1 { max-width: 20ch; font-size: clamp(34px, 5.6vw, 66px) }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 18px }
.docs-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 4px }
.muted-note { max-width: 62ch; font-size: 14px; line-height: 1.5; color: var(--faint) }
.muted-note.center { text-align: center }


/* price */
.ticklist { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px }
.ticklist li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.4; color: var(--ink) }
.ticklist li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 12px; height: 7px; border: solid var(--muted); border-width: 0 0 2px 2px; transform: rotate(-45deg) }
.price-card { width: min(100%, 440px); display: flex; flex-direction: column; gap: 8px; padding: 30px; border-radius: 28px; background: var(--ui); border: 1px solid var(--ui-line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7) }
.pc-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px }
.pc-price b { font-size: clamp(48px, 6vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums }
.pc-price span { font-size: 18px; color: var(--muted) }
.pc-year { font-size: 18px; color: var(--ink) }
.pc-trial { font-size: 14px; line-height: 1.45; color: var(--faint) }
.price-card .cta { justify-content: flex-start; margin: 12px 0 4px }

/* updates: items under the two columns */
.panel .upd-grid { grid-column: 1 / -1; order: 3; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
.upd-grid .grp b { font-size: 17px }

/* everything in SEO Control: groups of links, packed in columns */
.all-groups { width: 100%; columns: 3; column-gap: 12px; margin-top: 12px }
.all-grp { break-inside: avoid; margin: 0 0 12px; border-radius: 22px; padding: 22px; background: rgba(255, 255, 255, 0.035); text-align: left }
.all-grp h3 { font-size: 18px; margin-bottom: 12px }
.all-grp ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px }
.all-grp li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.4 }
.all-grp li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-mid) }
.all-grp a { display: block; padding: 6px 0; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; transition: color 0.2s, text-decoration-color 0.2s }
.all-grp a:hover { color: var(--ink); text-decoration-color: var(--brand) }

/* plans table */
.plans-table { width: 100%; margin-top: 12px; background: rgba(255, 255, 255, 0.025); border-color: var(--panel-line); border-radius: 22px }
.plans-table table { min-width: 640px }
.plans-table th, .plans-table td { padding: 14px 18px; border-top: 1px solid var(--line) }
.plans-table thead th { border-top: 0; color: var(--ink); font-size: 17px }
.plans-table thead small { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--muted) }
.plans-table tbody th { width: 34%; font-weight: 600; color: var(--ink) }
.plans-table td { color: var(--muted) }
.plans-table td:last-child { color: var(--ink) }

@media (max-width: 1080px) {
  .all-groups { columns: 2 }
}
@media (max-width: 900px) {
  .price-card { width: 100% }
}
@media (max-width: 700px) {
  .plans-table { overflow: visible; border: 0; background: none; border-radius: 0 }
  .plans-table table, .plans-table tbody, .plans-table tr, .plans-table th, .plans-table td { display: block; min-width: 0; width: auto }
  .plans-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
  .plans-table tr { margin-bottom: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.035) }
  .plans-table tbody th { width: auto; padding: 0 0 6px; border: 0; font-size: 16px }
  .plans-table td { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 5px 0; border: 0; font-size: 15px }
  .plans-table td::before { content: attr(data-label); color: var(--faint); font-size: 13px; padding-top: 1px }
}
@media (max-width: 600px) {
  .all-groups { columns: 1 }
  .price-card { padding: 24px 20px }
  .docs-links { flex-direction: column }
}
.price-card h3 { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -0.01em; color: var(--ink) }
/* task 420: glows and mockups never widen the page on phones (a wider layout makes mobile browsers zoom out).
   Not on .site-head: Safari clips both axes there and hid the mobile menu, which hangs below the header. */
html { overflow-x: clip }
main > section, .site-foot { overflow-x: clip }

/* ---------- task 420 round 3: real app screens, one card pattern for figures ---------- */
/* hero: the real Home screen in a phone outline */
.hero-shot { display: flex; justify-content: center; margin-top: 52px; isolation: isolate }
.device { margin: 0; width: min(330px, 80vw); padding: 11px; border-radius: 58px; background: linear-gradient(150deg, #3A3A42 0%, #1C1C21 38%, #141418 70%, #2E2E36 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 0 0 3px #0D0D10, 0 50px 100px -40px rgba(0, 0, 0, 0.85) }
.device img, .device video { display: block; width: 100%; height: auto; border-radius: 47px; background: #F2F2F7 }
.device.land { width: min(100%, 860px); margin-top: 12px; padding: 12px; border-radius: 62px }
.device.land img, .device.land video { border-radius: 50px; background: #000 }
/* blocks: one real screen, rounded like the phone's display */
.screen { margin: 0; width: min(300px, 100%) }
.screen img { display: block; width: 100%; height: auto; border-radius: 36px; background: #F2F2F7; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 40px 80px -36px rgba(0, 0, 0, 0.85) }
.screen.wide-shot { width: min(340px, 100%); margin-top: 12px }
/* figures (site r4, owner 2026-11-15): number on top, caption and description under it, centred; equal columns, and the
   three rows line up across the row (subgrid) */
.figs { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
.figs li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; justify-items: center; align-content: start; padding: 24px 18px 22px; border-radius: 20px; background: rgba(255, 255, 255, 0.035); text-align: center }
.figs strong { font-size: clamp(36px, 3.6vw, 46px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; margin-bottom: 12px }
.figs b { font-size: 16px; font-weight: 650; line-height: 1.3; margin-bottom: 6px; text-wrap: balance }
.figs span { font-size: 14px; color: var(--muted); line-height: 1.45; text-wrap: pretty }
/* report cards (as Site check in the app): title with the figure large on the right, findings as rows under them */
.report { list-style: none; width: 100%; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px }
.report li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-row: span 3; grid-template-rows: subgrid; gap: 0 16px; align-items: center; padding: 20px 22px 8px; border-radius: 22px; background: var(--ui); border: 1px solid var(--ui-line); text-align: left }
.report b { font-size: 17px; font-weight: 650; line-height: 1.3; padding-bottom: 16px }
.report strong { font-size: clamp(34px, 3.4vw, 42px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; padding-bottom: 16px }
.report span { grid-column: 1 / -1; align-self: stretch; padding: 12px 0; border-top: 1px solid var(--ui-line); font-size: 14px; color: var(--muted); line-height: 1.4 }
/* Google update example: padel.how's own report */
.case { margin: 0; width: min(100%, 480px); border-radius: 28px; background: var(--ui); border: 1px solid var(--ui-line); padding: 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7) }
.case-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px }
.case-head b { font-size: 15px }
.case-head span { color: var(--muted); font-size: 13px }
.case-title { margin-top: 10px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15 }
.case-sub { color: var(--muted); font-size: 15px }
.case-bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; margin-top: 16px; border-radius: 6px }
.case-bars i { flex: 1; height: calc(var(--h) * 1%); border-radius: 3px 3px 1px 1px; background: #6366F1 }
.case-axis { display: flex; justify-content: space-between; color: var(--faint); font-size: 12px; margin-top: 4px }
.case-table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; margin-top: 14px; font-size: 14px; font-variant-numeric: tabular-nums }
.case-table thead th:not(:first-child) { width: 19% }
.case-table th, .case-table td { padding: 9px 0 9px 10px; border-top: 1px solid var(--ui-line); text-align: right; white-space: nowrap }
.case-table thead th { border-top: 0; padding-top: 0; color: var(--faint); font-size: 12px; font-weight: 500; white-space: normal }
.case-table tbody th { padding-left: 0; text-align: left; font-weight: 500; color: var(--muted); white-space: normal }
.case-table td:last-child { color: var(--red) }
.case-note { margin-top: 8px; color: var(--faint); font-size: 13px; line-height: 1.45 }
/* price: the App Store action sits on the right of the card */
.price-card { width: min(100%, 560px); flex-direction: row; align-items: center; justify-content: space-between; gap: 20px }
.pc-main { display: flex; flex-direction: column; gap: 8px; min-width: 0 }
.price-card .cta { flex: none; justify-content: flex-end; margin: 0 }
/* site-hero-1118 round 3: the trial line runs under the whole card, not in the narrow price column */
.price-card { flex-wrap: wrap }
.price-card > .pc-main { flex: 1 1 0 }
@media (min-width: 601px) { .price-card .pc-price b { font-size: 44px; white-space: nowrap } }
.price-card > .pc-trial { flex: 1 0 100%; margin: 0; padding-top: 14px; border-top: 1px solid var(--ui-line) }
/* widgets: real previews from the iPhone widget gallery, on the gallery's own light background */
.wg-real { width: 100%; max-width: 920px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 18px; margin-top: 12px; padding: 24px; border-radius: 34px; background: #F3F5F6; color: #1C1C1E }
.wg-right { display: flex; flex-direction: column; gap: 16px; min-width: 0 }
.wg-smalls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px }
.wg-fig { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; text-align: left }
.wg-fig img { display: block; width: 100%; height: auto }
.wg-fig figcaption { display: flex; flex-direction: column; gap: 2px; padding: 0 10px }
.wg-fig b { font-size: 15px }
.wg-fig span { font-size: 13px; color: #5A5A63; line-height: 1.35 }
@media (max-width: 900px) {
  .report { grid-template-columns: minmax(0, 1fr) }
  .ai-vis { grid-template-columns: minmax(0, 1fr) }
  .wg-real { grid-template-columns: minmax(0, 1fr); max-width: 560px }
}
@media (max-width: 600px) {
  .panel .upd-grid { grid-template-columns: minmax(0, 1fr) }
  .hero-shot { margin-top: 36px }
  .device.land { padding: 7px; border-radius: 34px }
  .device.land img, .device.land video { border-radius: 28px }
  .screen { width: min(280px, 100%) }
  .figs li { padding: 20px 14px 18px }
  .report li { padding: 18px 18px 6px }
  .case { padding: 20px 18px }
  .case-table { font-size: 13px }
  .case-table thead th:not(:first-child) { width: 23% }
  .case-table th, .case-table td { padding-left: 6px }
  .wg-real { padding: 14px; gap: 12px; border-radius: 26px }
  .wg-fig figcaption { padding: 0 4px }
}
@media (max-width: 420px) {
  .price-card { flex-direction: column; align-items: flex-start }
  .price-card .cta { justify-content: flex-start }
}
/* ---------- site r4 (owner review 2026-11-15): layout polish ---------- */
/* narrow phones: one figure per row, still number over caption, centred */
@media (max-width: 400px) {
  .figs { grid-template-columns: minmax(0, 1fr) }
  .figs li { padding: 20px 22px 18px }
  .figs span { max-width: 30ch }
}
/* phones: the App Store badge is the one action, so it gets a full-size tap target and room around it */
/* the closing line: one line on wide screens (task 522, owner 2026-11-19); when it wraps, balanced, no lone last word */
.final p { max-width: 36ch; margin-inline: auto; text-wrap: balance }
@media (min-width: 761px) { .final p { max-width: none } }
@media (max-width: 600px) {
  .cta .store { height: 60px; min-width: min(220px, 100%); justify-content: center; padding: 0 26px 0 22px; border-radius: 15px }
  .cta .store svg { width: 28px; height: 28px }
  .hero .cta { margin-top: 12px }
  .final { padding: 80px 0 104px }
  .final p { font-size: 18px; margin-top: 16px }
  .final .cta { margin-top: 32px }
  /* the Pro card stacks: price first, the badge across the card under it (beside it, it split the price) */
  .price-card { flex-direction: column; align-items: stretch }
  .price-card .cta, .price-card .store { width: 100% }
}
/* "more" links: the arrow stays with the last word when the link wraps; on the right side of the block at every width
   (site r5, owner 2026-11-16) */
.docs-link .link-more, .docs-links .link-more { display: inline }
.docs-link .link-more svg, .docs-links .link-more svg { display: inline-block; vertical-align: -4px; margin-left: 2px }
.docs-link, .docs-links { text-align: right }
.panel.col .docs-link { justify-self: stretch; width: 100%; text-align: right }
.nw { white-space: nowrap }
/* connections: one source per row on phones (two columns left Bing alone and squeezed the lists) */
@media (max-width: 760px) {
  .sources { grid-template-columns: minmax(0, 1fr) }
}

/* ---------- site r5 (task 462, owner 2026-11-16) ---------- */
/* "Every fix, checked" (site-hero-1118) and "Every Google update" (522): the docs link sits under the text on the left */
.docs-link.left { text-align: left }
/* connections: one app card with data instead of a whole phone */
.app-card { margin: 4px 0 8px; width: min(100%, 460px) }
.app-card img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55)) }
/* widgets: flat cards with their own rounded corners (scripts/site/tools/widget_flat.py) */
.wg-fig img { filter: drop-shadow(0 8px 18px rgba(28, 28, 30, 0.1)) }
