/* Only Studea preferences inherit Studea's theme. Other product brands keep theirs. */
@font-face{font-family:StudeaText;src:url('/site-assets/redhat-text.woff2') format('woff2'),url('/site-assets/redhat-text.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:StudeaDisplay;src:url('/site-assets/redhat-display.woff2') format('woff2'),url('/site-assets/redhat-display.ttf') format('truetype');font-weight:600;font-display:swap}
:root[data-brand=studea]{color-scheme:light;--canvas:#f8f6ef;--ink:#182f31;--muted:#405557;--rule:#cdd3cc;--field:#fdfbf5;--action:#182f31;--action-ink:#fff;--heading:StudeaDisplay,sans-serif;font-family:StudeaText,sans-serif;--radius:8px}
:root[data-brand=studea] header{display:flex;justify-content:space-between;align-items:center;gap:24px;border:0;padding:20px 64px}
:root[data-brand=studea] header a{display:inline-flex;align-items:center;gap:10px;font:400 18px/1.4 StudeaText,sans-serif;letter-spacing:0;text-transform:none}
:root[data-brand=studea] h1{font-size:clamp(34px,6vw,46px);line-height:1.1;letter-spacing:-.045em;font-weight:600}
:root[data-brand=studea] p{line-height:1.7}
:root[data-brand=studea] button{font-family:StudeaText,sans-serif;border-radius:999px;min-height:36px;padding:7px 16px;width:auto;font-size:14px;line-height:22px}
:root[data-brand=studea] :is(a,button,input):focus-visible{outline:2px solid var(--ink);outline-offset:4px}
:root[data-brand=studea] #success h1:focus{outline:none}
@media(max-width:560px){:root[data-brand=studea] header{padding:14px 24px 8px;gap:16px}:root[data-brand=studea] header a{font-size:15px}}

:root[data-brand=studea] .preference-brand-mark { object-fit:contain;flex-shrink:0; }
:root[data-brand=studea] main > .mark { display:none; }
:root[data-brand=studea] input[type=email] { padding:7px 12px;font-size:14px;line-height:20px;min-height:36px; }
@media(max-width:1000px) { :root[data-brand=studea] header { padding-inline:32px; } }
@media(max-width:760px) {
  :root[data-brand=studea] header { padding:14px 24px 8px; }
  :root[data-brand=studea] header a { font-size:17px; }
}
@media(max-width:760px), (pointer:coarse) {
  :root[data-brand=studea] input[type=email] { min-height:44px;padding-block:9px;font-size:16px;line-height:24px; }
  :root[data-brand=studea] #submit, :root[data-brand=studea] #resubscribe { min-height:44px;padding-block:10px;font-size:15px; }
}
@media(max-width:360px) { :root[data-brand=studea] header { padding-inline:20px; } :root[data-brand=studea] header a { font-size:15px; } }

:root[data-brand=studea] #verification { margin-block:16px; }

/* The form stays on paper; the landscape opens out beneath it. */
:root[data-brand=studea] body { min-height:100svh;display:flex;flex-direction:column;overflow-x:clip; }
:root[data-brand=studea] #preference-home { font-size:13px;text-decoration:underline;text-underline-offset:4px; }
:root[data-brand=studea] main { width:100%;max-width:none;margin:40px 0 0;flex:1;display:flex;flex-direction:column;text-align:center; }
:root[data-brand=studea] #preference, :root[data-brand=studea] #success { width:min(calc(100% - 48px),560px);margin-inline:auto; }
:root[data-brand=studea] #preference h1 { margin:0;font-size:clamp(36px,4.5vw,48px);line-height:1.08;text-wrap:balance; }
:root[data-brand=studea] #preference-summary { max-width:46ch;margin:18px auto 28px;font-size:16px;line-height:1.7; }
:root[data-brand=studea] #unsubscribe-form { width:min(100%,380px);margin-inline:auto;text-align:left; }
:root[data-brand=studea] #unsubscribe-form .hint { font-size:13px;margin-bottom:20px; }
:root[data-brand=studea] #verification { display:flex;justify-content:center; }
:root[data-brand=studea] #submit { display:block;margin:4px auto 0; }
:root[data-brand=studea] main::after { content:"";order:1;flex:1;min-height:300px;margin-top:4px;background-image:linear-gradient(180deg,var(--canvas),transparent 42%),linear-gradient(0deg,var(--canvas),transparent 24%),url('/site-assets/sunrise-detail.avif');background-size:100% 100%,100% 100%,cover;background-position:center,center,center 62%; }
:root[data-brand=studea] footer { order:2;justify-content:center;gap:12px 24px;border:0;margin:0;padding:20px 24px 28px;font-size:11px; }
@media(max-width:760px) {
  :root[data-brand=studea] main { margin-top:40px; }
  :root[data-brand=studea] #preference h1 { font-size:36px; }
  :root[data-brand=studea] main::after { min-height:280px;background-image:linear-gradient(180deg,var(--canvas),transparent 42%),linear-gradient(0deg,var(--canvas),transparent 24%),url('/site-assets/sunrise.avif'); }
  :root[data-brand=studea] #preference-home { font-size:12px; }
}
