/* G1 layouts share the AppNova S18 token layer. */
.g1-page { color: var(--pm-body); }
.g1-page h1,.g1-page h2,.g1-page h3 { color: var(--pm-ink); }
.g1-hero { padding: 2.25rem 0 3.5rem; border-bottom: 1px solid var(--pm-line); }
.g1-hero .breadcrumbs { margin-bottom: 2.5rem; }
.g1-hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; }
.g1-hero h1 { font-size: clamp(2.4rem,4.2vw,4rem); line-height: 1.06; max-width: 22ch; margin: 1rem 0 1.5rem; }
.g1-hero-copy > p { max-width: 52ch; margin-top: 1.25rem; }
.g1-hero-copy > p:last-child { font-size: .9375rem; line-height: 1.65; }
.g1-hero-picture { min-width: 0; margin-right: -24px; }
.g1-picture img { display: block; width: 100%; height: auto; }
.g1-hero-picture .media-caption { font-size: .8125rem; text-align: center; }
.g1-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem; margin-top: 1.5rem; }
.g1-actions .button { white-space: normal; line-height: 1.5; text-align: left; }
.g1-hero-copy .g1-actions + .g1-actions { margin-top: .8rem; }
.g1-hero-copy a[href="#arak"] { background: transparent; color: var(--pm-accent); border: 1px solid var(--pm-control-border); }
.g1-section { padding-block: clamp(3rem,5vw,5rem); border-bottom: 1px solid var(--pm-line); }
.g1-section h2,.g1-delta h2 { font-size: clamp(2rem,3.15vw,2.85rem); line-height: 1.15; max-width: 32ch; margin-bottom: 1.5rem; }
.g1-section p { max-width: 74ch; }
.g1-section p + p,.g1-section h3 + p { margin-top: 1.25rem; }
.g1-three,.g1-examples { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; margin: 2rem 0; }
.g1-three > * { border-top: 1px solid var(--pm-control-border); padding-top: 1.5rem; min-width: 0; }
.g1-three p + p { margin-top: 0; }
.g1-three strong { display: block; margin-bottom: .7rem; color: var(--pm-ink); }
.g1-three h3,.g1-examples h3 { font: 1.7rem/1.25 var(--pm-font-editorial); }
.g1-three h3 + p { margin-top: 1rem; }
.g1-deliverables { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2.25rem 4rem; margin-top: 2.5rem; }
.g1-deliverables article { border-top: 1px solid var(--pm-line); padding-top: 1.5rem; }
.g1-deliverables h3 { font: 1.65rem/1.25 var(--pm-font-editorial); }
.g1-examples article { background: var(--pm-surface); border: 1px solid var(--pm-line); padding: 1.5rem; }
.g1-small,.g1-examples .small { font-size: .9375rem; }
.g1-faq { max-width: 60rem; }
.g1-faq details { padding: 1.3rem 0; border-top: 1px solid var(--pm-line); }
.g1-faq summary { cursor: pointer; color: var(--pm-ink); font-size: 1.15rem; font-weight: 600; min-height: 2.75rem; align-content: center; }
.g1-faq p { margin-top: 1rem; }
.g1-closing { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; }
.g1-photo { margin: 0; position: relative; min-width: 0; }
.g1-photo picture { display: block; mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent),linear-gradient(0deg,transparent,#000 8%,#000 92%,transparent); mask-composite: intersect; }
.g1-photo img { display: block; width: 100%; height: auto; }
.g1-photo figcaption,.g1-figure figcaption { font-size: .8125rem; color: var(--pm-muted); margin: .75rem 0 0; }
.g1-page .m2-article-body > .g1-photo { max-width: 34rem; margin: 0 0 2rem; }
.g1-figure { margin: 0 0 2rem; }
.g1-citation { font-size: .8125rem; }
.g1-citation a { text-decoration: underline; text-underline-offset: .18em; }
.g1-sources { padding: 2.5rem 0 4rem; font-size: .9375rem; overflow-wrap: anywhere; }
.g1-sources h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.g1-sources li { margin-block: .6rem; }
.g1-page .m2-prose h2 { margin-bottom: 1.5rem; }
.g1-page .m2-prose blockquote { margin-inline: 0; padding: 1rem 1.5rem; background: var(--pm-surface-subtle); border-left: 3px solid var(--pm-accent); }
.g1-tablebox { max-width: 100%; }
.g1-tablebox table { border-collapse: collapse; width: 100%; font-size: 1rem; }
.g1-tablebox th,.g1-tablebox td { text-align: left; vertical-align: top; padding: 1rem .8rem; border-bottom: 1px solid var(--pm-line); overflow-wrap: anywhere; }
.g1-tablebox th { color: var(--pm-ink); background: var(--pm-surface-subtle); }
.g1-delta { border-top: 1px solid var(--pm-line); padding-block: clamp(2.75rem,5vw,4.5rem); }
.g1-delta > p { max-width: 70ch; margin-top: 1rem; }
.g1-delta--article h2 { max-width: none; }
.g1-delta .eyebrow { margin-bottom: 1rem; }
.g1-page :focus-visible,.g1-delta :focus-visible { outline: 3px solid var(--pm-accent); outline-offset: 4px; }
@media(max-width:900px) {
 .g1-hero-grid,.g1-closing { grid-template-columns: minmax(0,1fr); gap: 2rem; }
 .g1-hero-picture { margin: 0; }
 .g1-hero-picture img { height: 280px; object-fit: contain; }
 .g1-three,.g1-examples { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
 .g1-closing .g1-photo { max-width: 32rem; }
 .g1-hero h1 { max-width: 22ch; }
}
@media(max-width:560px) {
 .g1-deliverables { grid-template-columns: minmax(0,1fr); }
 .g1-hero { padding-top: 1.5rem; }
 .g1-hero-picture img { height: 240px; }
 .g1-tablebox th,.g1-tablebox td { padding: .85rem .5rem; font-size: .9375rem; }
 .g1-page,.g1-delta { overflow-wrap: anywhere; }
}
@media(prefers-reduced-motion:reduce) { .g1-page * { scroll-behavior: auto; transition: none; } }
