/* Phones. Loaded last on every V2 page (and last in each DC page's helmet), so the
   phone type scale, gutters, rhythm and touch targets are set in one place. Every rule
   sits inside a width, touch or hover query, so desktop and tablet layouts do not
   change. DC pages carry their layout inline, hence the !important and the [style*=]
   selectors, as in redesign-common.css. */

/* iOS enlarges some text in landscape unless told not to; only mobile browsers read this. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

@media (pointer: coarse) {
  :is(.v2-page, .home-page) :is(a, button, summary, label, input, select, textarea) { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
  :is(.v2-page, .home-page) :is(.v2-action, .button, .header-demo, .plate-open, .system__more, .core-browse):active { opacity: .82; }
}

/* Hover compare is a pointer gesture: on touch the Dark and Light control does this, so
   a tap on a capture does not flip it, and the hint that describes hovering goes. */
@media (hover: none) {
  [data-screen-build='dark'] .plate-shot:not(.plate-shot--set):is(:hover, :focus) .plate-shot__alt,
  [data-screen-build='dark'] .plate-cell:is(:hover, :focus) .plate-shot__alt { opacity: 0; }
  .screens-hint { display: none; }
}

/* Compact controls keep their look on any touch screen: an invisible layer takes the tap
   area to 44px, and sliders take the touch across a 44px band with the track where it was. */
@media (max-width: 700px), (pointer: coarse) {
  :is(.header-demo, .plate-open, .core-browse, .demo-chip, .pillars-segment button, .screens-chrome__theme button, .demo-seg label, .hero__news, .hero__index a, .term-link, .closing__routes .text-link, .site-footer--map .footer-id .wordmark, .site-footer--map .footer-top, .aid__table summary, .redesign-intro-stats a, .v2-scroll-x > button, a[href^='mailto:'][style*='--f-mono'], a[href='#message'][style*='--f-mono'], button[aria-label^='Copy'], [aria-label='Choose a deployment topology'] button, button[aria-label='Close dialog'], div[style*='height: 34px'] button, [data-sh-tab], nav[aria-label='Legal documents'] p > a, .redesign-intro div > p:first-child > a) { position: relative !important; }
  :is(.header-demo, .plate-open, .core-browse, .demo-chip, .pillars-segment button, .screens-chrome__theme button, .demo-seg label, .hero__news, .hero__index a, .term-link, .closing__routes .text-link, .site-footer--map .footer-id .wordmark, .site-footer--map .footer-top, .aid__table summary, .redesign-intro-stats a, .v2-scroll-x > button, a[href^='mailto:'][style*='--f-mono'], a[href='#message'][style*='--f-mono'], button[aria-label^='Copy'], [aria-label='Choose a deployment topology'] button, button[aria-label='Close dialog'], div[style*='height: 34px'] button, [data-sh-tab], nav[aria-label='Legal documents'] p > a, .redesign-intro div > p:first-child > a)::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
  button[aria-label='Close dialog']::after { left: -7px; right: -7px; }
  .motion-toggle:not(.motion-toggle--dock)::after { content: ''; position: absolute; inset: -4px; }
  .home-page .demo-slider input[type='range'] { display: block; height: 44px; margin-block: 1px -5px; }
  #calculator input[type='range'] { height: 44px; margin-block: -14px !important; }
  /* Home hero rail: each link is a 14px line in a 22px row, and the rail's heights are fixed
     (its lines are drawn from them). The link itself stays unpositioned, so this layer takes
     the whole row (the li is positioned) and neighbouring rows meet without overlapping. */
  .home-page .hero__side-rail li > a::after { content: ''; position: absolute; inset: 0; }
}

@media (max-width: 700px) {
  /* Scale. Headings track the screen width, so a title breaks the same way on a 320px
     phone as on a 430px one. One size per role on every page, home included. */
  .v2-page, .home-page {
    --v2-intro-title-size: clamp(28px, min(9.2vw, 5svh), 54px); /* and with the screen's height: see Opening screen */
    --phone-h2: clamp(24px, 7vw, 28px);
    --phone-h2-cta: clamp(22px, 6.2vw, 25px);
    --phone-h3: clamp(18px, 5.1vw, 20px);
    --phone-head-gap: 16px; /* label to heading, heading to its copy */
    --phone-body-gap: 24px; /* heading or copy to the content below */
  }
  .home-page .hero h1, .v2-page .redesign-intro-title { line-height: 1.05 !important; }
  .v2-page .v2-heading,
  .home-page .section-heading h2,
  .home-page .system__statement h2,
  .home-page .closing h2 { font-size: var(--phone-h2) !important; line-height: 1.08 !important; letter-spacing: -.035em !important; }
  .v2-page .v2-cta .v2-heading { font-size: var(--phone-h2-cta) !important; line-height: 1.15 !important; }
  .v2-page .v2-card-title:not([style*='--f-mono']),
  .home-page .term h3,
  .home-page .use-case-list h3 { font-size: var(--phone-h3) !important; line-height: 1.2; letter-spacing: -.025em; }
  .home-page .pillars-panel h3 { font-size: clamp(21px, 6.2vw, 24px); }
  .home-page .pillars-viz { height: clamp(400px, 100vw, 480px); }

  /* Copy. Intros 15px, anything read in full 14px, fine print 13px. */
  .home-page .screens-head__lede, .home-page .pillars-head__lede { font-size: 15px; line-height: 1.6; }
  .home-page .hero__intro { line-height: 1.6; }
  .v2-page :is(p, li, dd, span, div, figcaption)[style*='400 13px/1.'][style*='--f-sans'],
  .home-page .term-claim,
  .home-page .use-case-list article > p,
  .v2-page .aix__text, .v2-page .aix__ops dd, .v2-page .aic__lead, .v2-page .aid__sub,
  .v2-page .ais__steps li > span, .v2-page .core-feat__body span, .v2-page .stx-facts span { font-size: 14px !important; line-height: 1.55 !important; }
  .v2-page :is(p, li, span, figcaption)[style*='400 12px/1.'][style*='--f-sans'],
  .home-page .demo-note,
  .v2-page .ais__foot, .v2-page .aic__caption, .v2-page .ais__note, .v2-page .ed-billed, .v2-page .stx-note { font-size: 13px !important; line-height: 1.55 !important; }

  /* Labels: the mono eyebrow reads the same on home as on every other page. */
  .home-page .eyebrow, .home-page .pillars-kicker, .home-page .term-index,
  .home-page .pillars-readout dt, .home-page .terms-seal dt, .home-page .closing__routes p { font-weight: 500; letter-spacing: .08em; }

  /* Everything runs gutter to gutter: a section's blocks, summaries and copy all share
     both edges. Desktop column widths and measures do not apply on a phone. */
  .v2-page .v2-section > :not([aria-hidden='true']),
  .v2-page .v2-cta > :not([aria-hidden='true']) { flex: 1 1 100% !important; max-width: 100% !important; min-width: 0; }
  .redesign-intro-stats { flex: 1 1 100% !important; width: 100% !important; max-width: none !important; }
  .v2-page .ed-billing { width: 100%; }

  /* The two sections that set their own gutter and foot follow the page's. */
  #calculator > header { padding: 36px var(--v2-page-pad) var(--phone-body-gap) !important; }
  #calculator > div { margin: 0 var(--v2-page-pad) 36px !important; }
  #board > header { padding: 36px var(--v2-page-pad) var(--phone-head-gap) !important; }
  #board > p[role='note'] { margin: 0 var(--v2-page-pad) var(--phone-body-gap) !important; }
  #board > div { padding-inline: var(--v2-page-pad) !important; }
  #board > div[style*='72px'] { padding-block: var(--phone-body-gap) 36px !important; }

  #catalog > header { padding: 36px var(--v2-page-pad) var(--phone-body-gap) !important; }
  #catalog > div { padding-inline: var(--v2-page-pad) !important; }
  #catalog > div[style*='72px'] { padding-bottom: 36px !important; }
  #catalog > div[style*='align-items: center'] { flex-wrap: wrap; }
  #catalog > div[style*='align-items: center'] > * { flex: 1 1 100% !important; }

  /* Legal documents: the title joins the scale, and index rows are full tap rows. */
  .v2-page h1[style*='clamp(2.4rem'] { font-size: var(--v2-intro-title-size) !important; line-height: 1.05 !important; letter-spacing: -.035em !important; }
  .v2-page nav[aria-label='Legal documents'] li > a, .v2-page nav[aria-label='On this page'] a { min-height: 44px; }

  /* Rhythm: every section and intro ends on the same 36px. */
  .v2-page .redesign-intro[style*='28px 72px'],
  .v2-page section:has(> .community-stage) { padding-bottom: 36px !important; }
  .v2-page .v2-section,
  .v2-page .v2-section > div:has(> header) { row-gap: var(--phone-body-gap) !important; }
  .v2-page :is(section, section > div) > header { row-gap: var(--phone-head-gap) !important; }
  .v2-page .v2-section:not([style*='display: flex'], [style*='display: grid']) > header + :not([aria-hidden='true']) { margin-top: var(--phone-body-gap) !important; }
  .v2-page .ed-billing { margin-top: 8px; }
  .home-page .section-heading { gap: var(--phone-head-gap); margin-bottom: var(--phone-body-gap); }
  .home-page .terms .section-heading { gap: var(--phone-head-gap); margin-bottom: var(--phone-body-gap); }
  .home-page .screens-head, .home-page .pillars-head { row-gap: var(--phone-head-gap); padding-bottom: 20px; margin-bottom: 20px; }
  .home-page .screens-head .section-heading, .home-page .pillars-head .section-heading { margin-bottom: 0; }
  .home-page .closing .eyebrow { margin-bottom: var(--phone-head-gap); }
  .home-page .closing__actions { margin-top: var(--phone-body-gap); }

  /* Buttons: one height everywhere. */
  :is(.v2-page, .home-page) :is(.v2-action, .button, .system__more, .core-browse) { height: auto !important; min-height: 44px !important; justify-content: center !important; text-align: center; }

  /* Tab rails and filters. Chips are 36px on an 8px gap, so wrapped rows' tap areas meet without overlapping. */
  .home-page .demo-chip { min-height: 36px; }
  .home-page .screen-tab { min-height: 40px; }
  .home-page .plate-open { flex: 1 1 auto; justify-content: center; margin-left: 0; }
  .v2-page .v2-scroll-x > button { height: 40px !important; }
  .v2-page .buildlog-filter { min-height: 44px; }

  /* Build Log. The area filters wrapped into ragged rows of mixed widths; they form an even
     two-column grid, All builds taking the full row when the count is odd, each count on the
     right edge. The film's disclosure and Follow-up checks are ruled rows like the notes
     groups (Follow-up checks joins their list instead of a second rule 28px below it).
     Roadmap cards drop the empty spacer's doubled gap and give their copy the gutter width. */
  .v2-page .buildlog-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .v2-page .buildlog-filter { min-width: 0; padding-inline: 12px; white-space: nowrap; }
  .v2-page .buildlog-filter:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .v2-page .buildlog-filter__count { margin-left: auto; }
  .v2-page .buildlog-film { margin-top: var(--phone-body-gap); border-top: 1px solid var(--line); }
  .v2-page .buildlog-film > summary { width: auto; min-height: 48px; padding: 0; }
  .v2-page .buildlog-film > summary::after { margin-left: auto; color: var(--faint); font-family: var(--f-mono); }
  .v2-page .buildlog-followups { margin-top: 0; border-top: 0; }
  .v2-page .buildlog-roadmap article { padding: 18px var(--v2-page-pad) 20px !important; gap: 14px !important; }
  .v2-page .buildlog-roadmap article > span:empty { display: none; }

  /* Fields, one height. The control fills its frame so a tap anywhere reaches it. */
  .v2-page :is(input, select).v2-control, .v2-page label.v2-control { height: 48px !important; }
  .v2-page label.v2-control > :is(input, select) { flex: 1 1 auto !important; align-self: stretch; min-width: 0; }
  #board label.v2-control { flex: 1 1 100% !important; }
  dialog form button:not([role='radio']), #trial-request button { min-height: 44px !important; }

  /* Dialogs: a tighter frame leaves more room for the text, and scrolling inside one
     never moves the page behind it. */
  .concept-dialog, dialog { overscroll-behavior: contain; }
  .concept-dialog { width: calc(100% - 24px); padding: 20px; }
  div:has(> [role='dialog'][aria-modal='true']) { padding: 12px !important; overscroll-behavior: contain; }
  [role='dialog'][aria-modal='true'] > div[style*='padding: 22px 24px'] { padding: 18px 16px 20px !important; }

  /* About, Send a message: the frame round the form and the panel inside it took 29px a side,
     leaving the fields 256px of a 318px column. Both stay, closer in. */
  #message > form { padding: 4px !important; }
  #message > form > div { padding: 16px !important; }
  /* Features, Five areas: a card's width floored at its unbroken ticket row, so below ~350px
     the Ticketing card ran 13px past the grid, which cut off its right edge. The row truncates. */
  .v2-page .plat-card { min-width: 0; }
  /* Community, Join the conversation: 20px inside, like the other cards on a phone (it had 28px). */
  #post div[style*='padding: 28px'][style*='border-radius: 16px'] { padding: 20px !important; }

  /* Artwork sized for a phone (scripts/phone-images.py). */
  .system__scene::before,
  .system__scene::after { background-image: url('../images/system-horizon-1024.webp?v=3'); }
  .closing::before { background-image: linear-gradient(90deg, rgb(12 11 10 / .5), transparent), url('../images/closing-horizon-1024.webp'); }
  .use-case-stone { background-image: url('../images/term-stone-a-512.webp'); }
  .use-case-list article:nth-child(2) .use-case-stone { background-image: url('../images/term-stone-b-512.webp'); }
  .use-case-list article:nth-child(3) .use-case-stone { background-image: url('../images/term-stone-c-512.webp'); }

  /* Header and menu. */
  .v2-header :is(.header-theme, .menu-toggle, .motion-toggle--dock) { flex-basis: 44px; }
  .v2-header .site-nav { overscroll-behavior: contain; }
  .v2-header .nav-group__menu a { min-height: 44px; font-size: 14px; }

  /* Footer: each link is a full row to tap. */
  .site-footer--map .footer-group > p { margin-bottom: 6px; }
  .site-footer--map .footer-group ul { gap: 0; }
  .site-footer--map .footer-group a { display: flex; align-items: center; min-height: 40px; }
  .site-footer--map .footer-top { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }

  /* Home hero: each label stays beside its value, and the news link sits on the gutter. */
  .home-page .hero__plate { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; }
  .home-page .hero__plate dd { margin: 0; }
  .home-page .hero__meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .home-page .hero__news { padding-left: 0; border-left: 0; }
  .home-page .hero__index { flex-direction: column; align-items: flex-start; gap: 10px; }
  /* Hero demo: the ticket title ended in an ellipsis ("Can't sign in ..."). It takes its own row
     under the number and the queue label, and may wrap; the stage grows with it at this width. */
  .home-page .demo-ticket__head { flex-wrap: wrap; row-gap: 6px; }
  .home-page .demo-ticket__title { order: 1; flex-basis: 100%; white-space: normal; }

  /* Features viewer: the bar keeps the title and the Dark and Light control. */
  .v2-page div[style*='height: 34px'] > span:first-child,
  .v2-page div[style*='height: 34px'] > b { display: none; }
  .v2-page div[style*='height: 34px'] { height: 44px !important; }
  .v2-page div[style*='height: 34px'] button { display: inline-flex !important; align-items: center !important; position: relative !important; min-height: 28px !important; padding-inline: 12px !important; }
  .v2-page .v2-section header button[style*='padding: 10px 12px'] { min-height: 44px !important; }

  /* Deployment and Security summaries: two by two, like the summary card on other pages. */
  .v2-page .redesign-intro > dl[style*='-28px'] { margin-inline: calc(var(--v2-page-pad) * -1) !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .v2-page .redesign-intro > dl[style*='-28px'] > div { padding: 14px var(--v2-page-pad) !important; gap: 8px !important; }
  .v2-page .redesign-intro > dl[style*='-28px'] > div:nth-child(2n) { border-right: 0 !important; }
  .v2-page .redesign-intro > dl[style*='-28px'] > div:nth-child(n + 3) { border-top: 1px solid var(--line); }

  /* Home learning board: the lane labels wrap to one, two or three lines ("Access and identity"
     takes three), which left each count at its own height. Every label gets the same three-line
     slot, so the counts sit on one line; js/home-demo.js starts the pile's tickets below it. */
  .home-page .demo-region { display: grid; grid-template-rows: 48px auto; align-content: start; }

  /* Opening screen (19 November 2026, the user's request; revised 21 November 2026). The
     summary panel, stage or rail follows the copy one --open-body gap below the buttons. It
     used to sit on the screen's lower edge (the opening held a whole screen), which left a
     hole of up to 350px on tall phones, so the user chose to let the next section show.
     The opening scales with the screen's height, so it keeps its proportions on a short
     browser window (a Galaxy S26 Ultra in Samsung Internet is 412 x 746): the gaps
     (--open-*), the title and the description shrink with 100svh and stop at the sizes a tall
     screen gets. Heights can't be media queries in this file (a test holds the breakpoints),
     hence svh inside clamp(). */
  .v2-page, .home-page {
    --open-top: clamp(16px, 2.6svh, 28px);   /* header to the label */
    --open-head: clamp(10px, 1.6svh, 16px);  /* label to title, title to copy */
    --open-body: clamp(14px, 2.4svh, 24px);  /* copy to the actions, the panel or the stage */
    --open-foot: clamp(16px, 2.6svh, 36px);  /* the panel to the fold */
    --v2-intro-description-size: clamp(14px, 2svh, 15px);
  }
  .v2-page .redesign-intro { display: flex; flex-direction: column; padding-top: var(--open-top) !important; }
  .v2-page .redesign-intro[style*='28px 72px'],
  .v2-page .redesign-intro:has(> .community-stage),
  .v2-page .airgap-intro { padding-bottom: var(--open-foot) !important; }

  .airgap-intro .redesign-intro-title { font-weight: 500; }
  .airgap-intro dt.xomea-icon-label { gap: 5px; }
  /* Labels may wrap here ("External connections"), so each value sits at its cell's foot and the
     two in a row stay level */
  .airgap-intro .redesign-intro-stats dd { margin-top: auto; }
  .airgap-stage { margin-top: 24px; }
  .airgap-deployment { margin-top: 32px; }
  .airgap-deployment :is(header, h4) { flex-basis: 100%; }
  .airgap-subheading span { display: block; }
  .airgap-viewport { min-height: clamp(260px, 42svh, 350px); }
  .airgap-stage-zones { inset: 12px 12px auto; gap: 8px; }
  .airgap-stage-zones span { letter-spacing: .04em; white-space: nowrap; }
  .airgap-stage-link { right: 12px; bottom: 12px; }
  .airgap-stage-caption { min-height: 98px; padding: 12px; }
  .airgap-stage-rail button { justify-content: center; padding-inline: 8px; }
  .airgap-controls li { padding: 16px 0; }
  .airgap-steps li { padding: 18px; }
  .airgap-steps { margin-top: 24px; }
  .airgap-section-head > p:not(.airgap-label), .airgap-steps p, .airgap-controls p { font-size: 14px; }
  .v2-page .redesign-intro-description, .home-page .hero__intro:not(.hero__note) { line-height: 1.5 !important; }
  .v2-page .redesign-intro > :is(.redesign-intro-row, .redesign-intro-copy, div:has(> .redesign-intro-copy)) { flex: 1 0 auto !important; align-content: space-between; }
  /* the last block of the row takes the free space and sits at its foot (rows align items to the end) */
  .v2-page .redesign-intro-row:has(> :nth-child(2)) { grid-template-rows: auto 1fr; }
  .v2-page .redesign-intro-row:has(> :nth-child(3)) { grid-template-rows: auto auto 1fr; }
  .v2-page .redesign-intro-row:has(> .redesign-intro-stats):not(.status-hero__row) { row-gap: var(--open-body) !important; }
  .v2-page .redesign-intro:has(> dl) > div:has(> .redesign-intro-copy):not(.redesign-intro-row) { row-gap: var(--open-body) !important; }
  .v2-page .redesign-intro[data-screen-label='01 Deployment'] > figure { margin-top: var(--open-body) !important; }
  .v2-page .community-stage { margin-top: var(--open-body) !important; }
  /* the stages give up height on a short screen rather than push the opening past it */
  .v2-page .community-stage > div { min-height: clamp(220px, 38svh, 320px) !important; }
  .v2-page .redesign-intro[data-screen-label='01 Security'] figure { min-height: clamp(260px, 44svh, 340px) !important; }
  .v2-page .redesign-intro [data-ah] { min-height: clamp(260px, 42svh, 360px) !important; }
  .v2-page .redesign-intro-title, .v2-page .redesign-intro-description { margin-top: var(--open-head) !important; }
  .v2-page .redesign-intro-actions { margin-top: var(--open-body) !important; }
  .v2-page .redesign-intro-stats > div { padding: clamp(10px, 1.6svh, 14px) 16px !important; gap: 6px !important; }
  .v2-page .redesign-intro-stats dt { min-height: 0; }
  /* Home: the capability rail follows the copy, and the film starts below it. The hero
     buttons sit side by side from 360px (see the 480px block). */
  .home-page .hero__copy { padding-block: var(--open-top) var(--open-body); }
  .home-page .hero__intro.hero__note { margin-top: calc(var(--open-head) - 2px); }
  .home-page .hero__side-rail { padding-block: var(--open-body) var(--open-foot); }
  .home-page .hero__intro:not(.hero__note) { margin-top: var(--open-head); }
  .home-page .hero .button-row, .home-page .hero__build { margin-top: var(--open-body); }
}

/* Portrait phones. A row of buttons fills the column, as the home hero's do from this
   width, and copy runs gutter to gutter instead of stopping at a desktop reading measure. */
@media (max-width: 480px) {
  /* three header icon cells (menu, pause, theme) fit beside the wordmark at 360px; 56px tall */
  .v2-header :is(.header-theme, .menu-toggle, .motion-toggle--dock) { flex-basis: 40px; }
  /* the hero rail's headings sit in ~96px columns at 360px: "SERVICE DESK" and its
     active-state dot ran into "WORKSPACE", so tracking tightens and the dot moves closer */
  .home-page .hero__side-rail aside > p { letter-spacing: .06em; }
  .home-page .hero__side-rail aside > p::after { margin-left: 5px; }
  .airgap-stage-rail button { gap: 6px; }
  .airgap-stage-rail button[aria-pressed='true'] { flex-grow: 2.8; }
  .airgap-stage-rail button[aria-pressed='false'] .airgap-chapter-name { display: none; }
  .redesign-intro-actions, .ais__actions, .closing__actions, .airgap-cta .airgap-actions { width: 100%; }
  .redesign-intro-actions > *, .ais__actions > *, .closing__actions > *, .v2-cta .v2-action { flex: 1 1 auto !important; }
  .v2-page .v2-action[style*='align-self: flex-start'] { align-self: stretch !important; }
  .v2-page div:has(> button[aria-controls='trial-request']) { flex: 1 1 100% !important; align-items: stretch !important; }
  .v2-page button.v2-action[type='submit'] { flex: 1 1 100% !important; }
  /* Licensing calculator: its buy button fills the column like every other card button, the
     note wrapping below it. */
  .v2-page .calc-purchase > .v2-action { flex: 1 1 100%; }
  /* Footer: three equal columns wrapped "Customer Portal" onto two lines, which put its row out
     of line with the rows beside it. Columns take their content's width and share the space. */
  .site-footer--map .footer-nav { grid-template-columns: repeat(3, auto); justify-content: space-between; column-gap: 12px; }
  .home-page .system__more, .v2-page .core-browse { display: flex; width: 100%; }
  .v2-page section :is(h2, p, ul, ol, dl)[style*='max-width']:not(figure *) { max-width: none !important; }
  .v2-page .ais__title, .v2-page .aid__sub, .home-page .screens-head__lede, .home-page .pillars-head__lede { max-width: none; }
  /* Home hero: the two buttons share one row like every other page's, so the opening fits a
     short screen (stacked, they took 56px more). */
  .home-page .hero .button-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The smallest phones. The gutter tightens and rail items drop their icons to hold one
   line. (The menu button is an icon at every width, sized with the theme button.) */
@media (max-width: 359px) {
  .v2-page, .home-page { --v2-page-pad: 16px; }
  /* At 320px the wordmark, three 40px cells and Plan a demo came to 342px, so the button ran
     off the screen and the page scrolled sideways. The cells go to 36px (56px tall, so the tap
     area stays large) and the wordmark and button give up a little padding. */
  .v2-header .wordmark { padding-inline: 8px; gap: 8px; letter-spacing: .28em; }
  .v2-header :is(.header-theme, .menu-toggle, .motion-toggle--dock) { flex-basis: 36px; }
  .v2-header .header-demo { padding-inline: 8px; margin: 0 6px 0 4px; }
  .home-page .hero__side-rail .rail-icon { display: none; }
  .concept-dialog { padding: 16px; }
  .home-page .hero__side-rail aside > p { letter-spacing: .06em; white-space: nowrap; }
  :is(.v2-page, .home-page) .v2-action { padding-inline: 12px !important; }
  .home-page .hero .button-row { grid-template-columns: minmax(0, 1fr); }
  /* Features, Ask Xomea: on a plate this narrow an answer runs to three lines and what it
     read to two rows, so the plates take 12px more height than their 184px. */
  .v2-page .ask-plate { height: 196px; }
}
