/* Account help pages (/support/), owner 2026-10-18: the site's own components. Each block names the static-site rule
   its values come from, so these PHP pages match the rest of oruva.app. The header and footer come from
   /assets/site-header-v1.css and /assets/site-footer-v1.css. */

/* Page section: resources.css `.resource-page main > section.page-top` and `.wrap`. */
.support-main { background: #141109; }
.support-top { padding: clamp(62px, 7vw, 100px) clamp(20px, 5vw, 80px) clamp(72px, 7vw, 112px); }
.support-wrap { width: 100%; max-width: 1320px; min-width: 0; margin-inline: auto; }

/* Section intro: resources.css `.sec-head` and `.page-top h1`; the eyebrow is the pricing card's launch tag
   (pricing-card-v1.css) with the site's kicker lettering; the sub-line is the readable intro style (home-art-v1.css). */
.support-head { width: 100%; max-width: 1040px; margin: 0 auto 48px; text-align: center; }
.support-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 24px; padding: 6px 13px 6px 11px; border: 1px solid #c9a46885; border-radius: 999px; background: linear-gradient(90deg, #c9a46838, #c9a46812); box-shadow: 0 0 22px #c9a4681f; color: #e7cf9f; font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; }
.support-eyebrow i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #dcc29a; box-shadow: 0 0 0 3px #c9a4682e, 0 0 10px #c9a468; }
@media (prefers-reduced-motion: no-preference) { .support-eyebrow i { animation: support-pulse 3s infinite; } }
@keyframes support-pulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.support-head h1 { width: auto; max-width: 100%; margin: 0 auto; color: #f0ebdf; font-size: clamp(48px, 6.2vw, 88px); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.support-lead { max-width: min(68ch, 100%); margin: 24px auto 0; color: color-mix(in srgb, #f0ebdf 80%, transparent); font-size: 17px; line-height: 1.7; text-wrap: pretty; }

/* Cards: resources.css `.card` (the support center's cards), `.hub .ico-tile` icon chip, card `h3` and `p`.
   The email-link pages use one card (.support-single); the help page uses compact tiles that open one at a time. */
.support-card { min-width: 0; padding: 30px; border: 1px solid #393126; border-radius: 18px; background: #19150f; color: #f0ebdf; }
.support-single { max-width: 560px; margin: 0 auto; }
.support-single form { margin-top: 0; }
.support-icon { display: inline-flex; margin: 0 0 22px; padding: 10px; border: 1px solid #493b29; border-radius: 10px; background: #241e15; color: #dcc29a; }
.support-icon svg { display: block; width: 19px; height: 19px; }
.support-card h2 { margin: 0; color: #f0ebdf; font-size: 24px; font-weight: 700; line-height: 1.22; letter-spacing: -.03em; }
.support-card > p { margin: 13px 0 0; color: #a69c8a; font-size: 17px; line-height: 1.7; }

/* Help page: three compact tiles (always in place, equal height) open their form in a full-width panel below them; one
   panel at a time. The tile is the whole click target (the title button covers it). */
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 18px; row-gap: 0; align-items: stretch; }
.support-grid > .support-card { display: contents; }
@media (min-width: 761px) {
  .support-grid > .support-card:nth-child(1) > .support-tile { grid-column: 1; grid-row: 1; }
  .support-grid > .support-card:nth-child(2) > .support-tile { grid-column: 2; grid-row: 1; }
  .support-grid > .support-card:nth-child(3) > .support-tile { grid-column: 3; grid-row: 1; }
  .support-grid > .support-card > .support-panel { grid-column: 1 / -1; grid-row: 2; align-self: start; }
}
.support-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 30px; border: 1px solid #393126; border-radius: 18px; background: #19150f; color: #f0ebdf; transition: border-color .2s ease, background-color .2s ease; }
.support-tile:hover { border-color: #c9a46866; }
.support-open { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.support-open::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.support-open:focus-visible { outline: none; }
.support-open:focus-visible::after { outline: 2px solid #c9a468; outline-offset: 3px; }
.support-short { margin: 13px 0 0; color: #a69c8a; font-size: 17px; line-height: 1.7; }
.support-cue { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 20px; color: #c9a468; font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .09em; text-transform: uppercase; }
.support-cue svg { width: 16px; height: 16px; transition: transform .25s ease; }
.support-cue-close { display: none; }
.support-card.is-open > .support-tile { border-color: #c9a468; background: linear-gradient(180deg, #c9a4681c, #c9a46806), #19150f; }
.support-card.is-open .support-cue-open { display: none; }
.support-card.is-open .support-cue-close { display: inline; }
.support-card.is-open .support-cue svg { transform: rotate(180deg); }
.support-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .36s cubic-bezier(.2, .7, .2, 1), opacity .26s ease; }
.support-card.is-open > .support-panel { grid-template-rows: 1fr; opacity: 1; }
.support-grid.is-instant .support-panel, .support-grid.is-instant .support-tile, .support-grid.is-instant .support-cue svg { transition: none; }
.support-panel-clip { min-width: 0; min-height: 0; overflow: hidden; }
.support-card.is-settled .support-panel-clip { overflow: visible; }
.support-panel-card { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px 56px; margin-top: 18px; padding: 56px 36px 32px; border: 1px solid #c9a46859; border-radius: 18px; background: #19150f; }
.support-panel-copy > p { margin: 0; color: #a69c8a; font-size: 17px; line-height: 1.7; }
.support-grid .support-panel-card form { margin: 0; }
/* Panel side column: the pricing card's feature rows (small gold icon + text), the support center's shortcut pills
   (`.resource-jumps a`), its gold card link (`.soon`), the kicker label and the gold-rule callout. */
.support-panel-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.support-panel-copy .support-note { margin: 0; }
.support-panel-copy > .support-aside { color: #a69c8a; font-size: 15px; line-height: 1.6; }
.support-kicker { margin: 0 0 12px; color: #c9a468; font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .09em; text-transform: uppercase; }
.support-answers { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.support-answers li { display: flex; align-items: flex-start; gap: 10px; }
.support-answers svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: #c9a468; }
.support-answers a { color: #f0ebdf; font-size: 15px; font-weight: 600; line-height: 1.55; text-decoration: none; }
.support-answers a::after { content: "\00a0\2197"; color: #c9a468; font-weight: 400; }
.support-answers a:hover { color: #dcc29a; }
.support-answers li > span > span { display: block; color: #a69c8a; font-size: 14px; line-height: 1.5; }
.support-facts { margin: 0; padding: 0; list-style: none; color: #e4dac8; font-size: 15px; line-height: 1.55; }
.support-facts li { display: flex; align-items: flex-start; gap: 10px; }
.support-facts li + li { margin-top: 12px; }
.support-facts svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: #c9a468; }
.support-facts a, .support-switch { color: #dcc29a; font-weight: 500; text-decoration: none; }
.support-facts a:hover, .support-switch:hover { color: #f0ebdf; }
.support-switch::after { content: "\00a0\2192"; }
.support-steps { margin: 0; padding: 0; list-style: none; counter-reset: support-step; color: #e4dac8; font-size: 15px; line-height: 1.55; }
.support-steps li { display: flex; align-items: flex-start; gap: 12px; counter-increment: support-step; }
.support-steps li + li { margin-top: 12px; }
.support-steps li::before { content: counter(support-step); display: grid; flex: 0 0 24px; place-items: center; height: 24px; margin-top: -1px; border: 1px solid #c9a46885; border-radius: 50%; background: linear-gradient(90deg, #c9a46838, #c9a46812); color: #e7cf9f; font-size: 12px; font-weight: 600; }
.support-close { position: absolute; top: 16px; right: 18px; padding: 6px 10px; border: 0; border-radius: 999px; background: none; color: #bfb29a; font: inherit; font-size: 14px; line-height: 1.4; cursor: pointer; }
.support-close::after { content: "\00d7"; margin-left: 6px; color: #c9a468; font-size: 16px; }
.support-close:hover { color: #f0ebdf; }
.support-close:focus-visible { outline: 2px solid #c9a468; outline-offset: 2px; }

/* Note: the site's callout - resources.css `.callout` box with heritage.css's gold rule. */
.support-card .support-note, .support-noscript { margin: 18px 0 0; padding: 16px 18px; border: 1px solid #493d2c; border-left: 3px solid #c9a468; border-radius: 14px; background: #201a12; color: #c8bcaa; font-size: 15px; line-height: 1.6; }
.support-noscript { max-width: 560px; margin: 24px auto 0; }

/* Forms: labels as download.css `.edition-field-label`; fields as the buy page email step (store.css `#recipient-email`),
   on the buy card's inner panel colour so they read inside a card. */
.support-card form { display: flex; flex-direction: column; gap: 10px; margin: 24px 0 0; }
.support-card label { margin: 0; color: #bcb09b; font-size: 14px; font-weight: 400; line-height: 1.5; }
.support-card label span { color: #8f8573; font-size: 13px; }
.support-card input + label, .support-card .support-select + label, .support-card .support-count + label { margin-top: 8px; }
.support-card input, .support-card textarea { display: block; width: 100%; min-width: 0; margin: 0; padding: 15px 20px; border: 1px solid #3d3528; border-radius: 100px; background: #110f0b; color: #f0ebdf; font: inherit; font-size: 16px; line-height: 1.5; }
.support-card input:focus, .support-card textarea:focus { outline: 2px solid #c9a468; outline-offset: 3px; }
.support-card textarea { min-height: 140px; border-radius: 18px; resize: vertical; }

/* Topic: a custom dropdown in the site style (no native select popup). The native <select name="topic"> stays in the
   form, visually hidden and kept in sync, so the submitted data is unchanged. */
.support-select { position: relative; }
.support-card .support-select select { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.support-select-trigger { display: flex; align-items: center; width: 100%; min-width: 0; margin: 0; padding: 15px 48px 15px 20px; border: 1px solid #3d3528; border-radius: 100px; background-color: #110f0b; background-image: linear-gradient(45deg, transparent 50%, #c9a468 50%), linear-gradient(135deg, #c9a468 50%, transparent 50%); background-position: calc(100% - 26px) 50%, calc(100% - 20px) 50%; background-size: 6px 6px; background-repeat: no-repeat; color: #f0ebdf; font: inherit; font-size: 16px; line-height: 1.5; text-align: left; cursor: pointer; transition: border-color .2s ease; }
.support-select-trigger:hover { border-color: #5a4b35; }
.support-select-trigger:focus-visible { outline: 2px solid #c9a468; outline-offset: 3px; }
.support-select.is-open .support-select-trigger { border-color: #c9a46899; background-image: linear-gradient(135deg, transparent 50%, #c9a468 50%), linear-gradient(45deg, #c9a468 50%, transparent 50%); }
.support-select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.support-select-list { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; left: 0; max-height: 300px; margin: 0; padding: 6px; overflow: auto; list-style: none; border: 1px solid #493b29; border-radius: 16px; background: #19150f; box-shadow: 0 22px 48px #00000080, 0 2px 8px #00000059; outline: none; }
.support-select.flip-up .support-select-list { top: auto; bottom: calc(100% + 8px); }
.support-select-list:focus-visible { box-shadow: 0 22px 48px #00000080, 0 0 0 2px #c9a46866; }
.support-select-list [role="option"] { position: relative; padding: 11px 42px 11px 14px; border-radius: 10px; color: #e4dac8; font-size: 15px; line-height: 1.5; cursor: pointer; }
.support-select-list [role="option"].is-active { background: #c9a4681f; color: #f0ebdf; }
.support-select-list [role="option"][aria-selected="true"] { color: #f0ebdf; font-weight: 600; }
.support-select-list [role="option"][aria-selected="true"]::after { content: ""; position: absolute; top: 50%; right: 18px; width: 5px; height: 10px; border-right: 2px solid #c9a468; border-bottom: 2px solid #c9a468; transform: translateY(-62%) rotate(45deg); }
@media (prefers-reduced-motion: no-preference) {
  .support-select.is-open .support-select-list { animation: support-select-in .16s cubic-bezier(.2, .7, .2, 1); }
  .support-select.flip-up.is-open .support-select-list { animation-name: support-select-up; }
}
@keyframes support-select-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes support-select-up { from { opacity: 0; transform: translateY(6px); } }

/* Primary action: the pricing card's gold "Buy Oruva" button (pricing-card-v1.css `.pricing-card .edition-download`). */
.support-card .support-submit { display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%; min-height: 54px; margin: 8px 0 0; padding: 13px 16px; border: 1px solid #c9a468; border-radius: 10px; background: #c9a468; color: #0d0b08; font: inherit; font-size: 17px; font-weight: 650; line-height: 1.5; cursor: pointer; }
.support-card .support-submit:hover:not(:disabled) { background: #dcc29a; border-color: #dcc29a; color: #0d0b08; }
.support-card .support-submit:focus-visible { outline: 2px solid #c9a468; outline-offset: 4px; }
.support-card .support-submit:disabled { opacity: .65; cursor: default; }

/* Status, counter, quiet link (store.css `.buy-quiet`), spam trap. */
.support-card .support-status { margin: 0; min-height: 24px; color: #f0ebdf; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.support-count { color: #a69c8a; font-size: 13px; text-align: right; }
.support-back { display: inline-block; margin-top: 14px; color: #bfb29a; font-size: 14px; line-height: 1.6; text-decoration: none; }
.support-back:hover { color: #f0ebdf; }
.support-back:focus-visible { outline: 2px solid #c9a468; outline-offset: 4px; }
.support-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

@media (max-width: 1100px) { .support-panel-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px 36px; } }
@media (max-width: 760px) {
  .support-top { padding-top: 48px; padding-bottom: 64px; }
  .support-head { margin-bottom: 34px; }
  .support-head h1 { font-size: clamp(43px, 8.8vw, 64px); }
  .support-lead, .support-card > p, .support-short, .support-panel-copy > p { font-size: 16px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-grid > .support-card + .support-card > .support-tile { margin-top: 12px; }
  .support-tile, .support-card { padding: 25px; }
  .support-grid > .support-card { padding: 0; }
  .support-card h2 { font-size: 22px; }
  .support-panel-card { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 10px; padding: 52px 22px 24px; }
  /* Phones: the side column stays short above the form (quick answers as titles only). */
  .support-panel-copy { gap: 16px; }
  .support-answers { gap: 8px; }
  .support-answers li > span > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .support-tile, .support-panel, .support-cue svg, .support-select-trigger { transition: none; }
}
