:root {
  color-scheme: dark;
  --base: #111216;
  --panel: #18191f;
  --surface-raised: #202127;
  --line: #303139;
  --muted: #b9bbc5;
  --accent: #ddff58;
  --lavender: #c6b6e6;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: #f5f5f2;
  background: var(--base);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--base);
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.header { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.myragic-page .header { width: 100%; padding-inline: max(4vw, calc((100% - 1220px) / 2)); background: #16171c; }
.myragic-page [hidden] { display: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.65rem; font-weight: 800; letter-spacing: -.07em; white-space: nowrap; }
.brand-mark { display: grid; width: 23px; height: 23px; flex: 0 0 auto; grid-template: 1fr 1fr / 1fr 1fr; gap: 2px; transform: rotate(-12deg); }
.brand-mark i { border-radius: 2px; background: var(--accent); }
.brand-mark i:first-child { grid-row: span 2; }
.brand-mark i:nth-child(2) { opacity: .65; }
.brand-mark i:last-child { opacity: .35; }
.brand-mark.compact { width: 16px; height: 16px; }
nav { display: flex; gap: 32px; color: var(--muted); }
nav a:hover { color: white; }
.app-nav { align-items: center; gap: clamp(6px, 2vw, 27px); }
.app-nav a { padding: 7px 10px; border-radius: 6px; font-weight: 600; white-space: nowrap; }
.app-nav a:hover { background: var(--surface-raised); }
.app-nav a[aria-current] { background: #282f1a; color: var(--accent); }
.button {
  display: inline-flex;
  min-height: 49px;
  justify-content: center;
  align-items: center;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  font: inherit;
  font-weight: 750;
  text-align: center;
  cursor: pointer;
}
.outline { color: #fff; background: #2449b8; border-color: #5274da; }
.outline:hover { background: #3058cf; }
.primary { color: #171e03; background: var(--accent); }
.primary:hover { background: #ebff9a; }
.hero { min-height: 635px; padding-block: 74px; display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: clamp(24px, 5vw, 72px); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.1rem, 5.9vw, 4.75rem); line-height: 1.02; letter-spacing: -.07em; }
h1 em { display: block; margin-top: .09em; font-style: normal; color: var(--accent); }
.hero-cta { width: min(100%, 32rem); min-height: 60px; gap: .55em; font-size: 1.08rem; }
.landing-page .hero h1 { font-size: clamp(2.1rem, 4.35vw, 4.2rem); text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.055em; line-height: 1.04; }
p { color: var(--muted); line-height: 1.58; }
.intro p { font-size: clamp(1.06rem, 2vw, 1.27rem); margin: 24px 0 28px; max-width: 32rem; }
small { display: block; color: var(--muted); font-size: .875rem; }
.intro small { margin-top: 12px; }
.landing-page { background: radial-gradient(ellipse 58rem 34rem at 88% 14rem, #282438 0%, transparent 75%), var(--base); }
.product { margin: 0; background: var(--panel); border: 1px solid #3f3d4c; border-radius: 18px; box-shadow: 0 24px 65px #08080cb0; overflow: hidden; }
.product-bar { display: flex; align-items: center; gap: 10px; padding: 14px 17px; border-bottom: 1px solid var(--line); font-weight: 700; }
.example { margin-left: auto; color: var(--muted); font-size: .875rem; font-weight: 500; }
.project { margin: 15px; padding: 18px; background: linear-gradient(120deg, #252132, #2d293e); border: 1px solid #40394e; border-radius: 12px; }
.project h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); margin: 5px 0 4px; }
.project p { font-size: .95rem; }
.project-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #443b54; }
.project-stats dt { color: var(--muted); font-size: .875rem; }
.project-stats dd { margin: 2px 0 0; font-weight: 750; color: var(--accent); }
.project-stats .potential { grid-column: 1 / -1; }
.roles { padding: 0 15px 13px; }
.roles > div { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; padding: 9px 0; align-items: center; }
.roles > div + div { border-top: 1px solid var(--line); }
.role-icon { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: #412663; color: #e1c7ff; }
.blue { background: #253064; color: #cad4ff; }
.pink { background: #54234b; color: #ffcced; }
.yellow { background: #503b24; color: #ffdaab; }
.green { background: #283923; color: #dcffb9; }
.roles span { font-weight: 650; }
.roles small { font-weight: 400; }
.roles strong { color: var(--muted); font-size: .875rem; white-space: nowrap; }
.roles .open { color: var(--accent); }
.how { padding-block: 76px; border-block: 1px solid var(--line); background: #16171c; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.steps article { padding: 24px; border: 1px solid var(--line); background: var(--panel); border-radius: 12px; }
.steps article > span { color: var(--accent); font-size: 1.65rem; }
.steps h3 { margin: 12px 0 8px; font-size: 1.25rem; }
.faq { display: grid; grid-template-columns: 1fr 1.45fr; gap: 38px; padding-block: 78px; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { font-weight: 700; cursor: pointer; }
details p { margin-top: 10px; }
.signup { background: linear-gradient(115deg, #262230, #302c41); border: 1px solid #41394f; border-radius: 20px; padding: clamp(24px, 5vw, 60px); display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: clamp(22px, 5vw, 70px); }
.signup p { margin-top: 12px; }
form { display: grid; gap: 8px; }
label { font-weight: 700; }
input, select { padding: 11px 12px; min-height: 46px; min-width: 0; background: #111217; border: 1px solid #444653; border-radius: 8px; color: inherit; font: inherit; }
input::placeholder { color: #a7a8b3; }
select { appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, #dbcaee 50%), linear-gradient(135deg, #dbcaee 50%, transparent 50%); background-position: right 17px center, right 12px center; background-size: 5px 5px; background-repeat: no-repeat; }
form .button { margin-top: 6px; }
form #status { margin: 0; color: var(--accent); }
.footer { padding-block: 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-actions { display: flex; gap: 8px; }
.login-page {
  min-height: 100vh;
  background: var(--base);
}
.login-page:has(.login-layout), .prime-page { background: radial-gradient(ellipse 44rem 30rem at 44% 0, #272437, transparent), var(--base); }
.login-back { color: #eee6f6; font-weight: 650; }
.login-back:hover { color: var(--accent); }
.login-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  min-height: 520px;
  margin-block: clamp(30px, 7vh, 76px);
  padding: clamp(30px, 6vw, 86px);
  border: 1px solid #383546;
  border-radius: 24px;
  background: linear-gradient(120deg, #252131, var(--panel) 67%);
  box-shadow: 0 24px 80px #09060e8c;
}
.login-showcase h1 { max-width: 10em; font-size: clamp(2.75rem, 5.25vw, 5rem); letter-spacing: -.065em; }
.login-showcase h1 em { color: #ddff58; }
.login-benefits { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 13px; }
.login-benefits li { display: flex; align-items: center; gap: 12px; color: #e1d8ec; line-height: 1.4; }
.login-benefits span { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 8px; background: #ffffff0a; color: var(--accent); }
.login-panel { width: 100%; max-width: 410px; justify-self: end; padding-left: clamp(0px, 2vw, 26px); }
.login-panel h2 { font-size: clamp(1.85rem, 3vw, 2.65rem); }
.login-panel #login-caption { margin: 10px 0 24px; }
#google-button { min-height: 40px; }
#google-button[inert] { opacity: .65; }
.login-panel .login-divider { display: flex; align-items: center; gap: 12px; margin: 17px 0; font-size: .875rem; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.login-panel input { min-height: 52px; }
.login-panel input:focus { border-color: var(--accent); }
.login-panel label:not(:first-child) { margin-top: 9px; }
#name-field:not([hidden]) { display: grid; gap: 8px; }
#account-switch { text-align: center; }
#account-switch a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.login-panel .primary { min-height: 54px; margin-top: 14px; }
.password-field { position: relative; }
.password-field input { width: 100%; padding-right: 90px; }
#show-password { position: absolute; inset: 0 12px 0 auto; padding: 0 4px; background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: .875rem; }
#show-password:hover { color: var(--accent); }
.login-panel [hidden] { display: none; }
.login-panel p:not(:empty) { margin-top: 12px; }
.profile-layout { max-width: 820px; padding-block: clamp(32px, 6vw, 72px); }
.profile-layout [hidden] { display: none; }
.profile-completion { padding: 22px; margin-bottom: 20px; border: 1px solid #3e394b; border-radius: 14px; background: linear-gradient(115deg,#242130,var(--panel)); }
.completion-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.completion-header h2 { font-size: clamp(1.25rem, 4vw, 1.6rem); }
#completion-percentage { color: var(--accent); font-size: 1.55rem; }
#completion-bar { display: block; width: 100%; height: 12px; margin: 12px 0 8px; accent-color: var(--accent); }
#completion-details { border: 0; padding: 10px 0 0; }
#completion-missing { margin: 8px 0 0; padding-left: 22px; color: var(--muted); }
.profile-not-applicable { display: flex; align-items: center; gap: 7px; font-size: .875rem; color: var(--muted); }
.profile-not-applicable input { min-height: 0; margin: 0; accent-color: var(--accent); }
.profile-heading { margin-bottom: 28px; }
.profile-heading h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }
#profile-status:not(:empty) { margin-top: 12px; color: var(--accent); }
.profile-tools, .profile-identity, .profile-card, .profile-edit { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: clamp(18px, 4vw, 34px); }
.profile-tools, .profile-identity { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.profile-tools h2, .profile-identity h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: 6px; }
.file-picker { position: relative; }
.file-picker:focus-within { outline: 2px solid var(--accent); outline-offset: 4px; }
.file-picker input { position: absolute; inset: 0; min-height: 0; width: 100%; opacity: 0; cursor: pointer; }
.file-picker:has(input:disabled) { opacity: .65; }
#profile-avatar { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 14px; background: #302841; color: var(--accent); font-size: 1.55rem; font-weight: 800; }
.profile-identity > div { flex: 1 1 160px; }
.profile-sections, #profile-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.profile-edit-intro h2 { font-size: clamp(1.65rem, 4vw, 2.25rem); margin-bottom: 8px; }
.profile-field-group { display: grid; gap: 18px; border-top: 1px solid var(--line); padding-top: 20px; }
.profile-field-group h3 { font-size: 1.06rem; color: var(--lavender); }
.profile-card h3 { margin-bottom: 12px; }
.profile-card p, .profile-card li { white-space: pre-line; overflow-wrap: anywhere; }
.profile-tags, .profile-entries { list-style: none; padding: 0; margin: 0; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-tags li { border: 1px solid #493e59; background: #2e263c; border-radius: 7px; padding: 5px 11px; color: #e1d2f0; }
.skill-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.skill-options { width: 100%; max-height: 230px; overflow: auto; margin: 0; padding: 5px; list-style: none; border: 1px solid #444653; border-radius: 10px; background: var(--surface-raised); }
.skill-options li { padding: 10px 12px; border-radius: 6px; }
.skill-options [role="option"] { cursor: pointer; }
.skill-options [role="option"]:hover, .skill-options [aria-selected="true"] { background: #2449b8; color: #fff; }
.skill-option-empty { color: var(--muted); }
.skill-tags { margin-block: 2px 4px; }
.profile-tags .skill-tag { display: inline-flex; align-items: center; gap: 8px; padding: 3px 5px 3px 11px; }
.skill-tag span { overflow-wrap: anywhere; }
.skill-tag button { width: 27px; height: 27px; flex: 0 0 27px; border-radius: 50%; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.skill-tag button:hover { background: #624686; }
.skill-feedback:empty { display: none; }
.skill-feedback { color: var(--accent); }
.profile-field h4 { margin: 0; font-size: 1rem; }
.credential-items { display: grid; gap: 10px; }
.credential-items:empty { display: none; }
.credential-item { min-width: 0; margin: 0; padding: 16px; display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-raised); }
.credential-item label { display: grid; gap: 6px; }
.credential-add, .credential-remove { justify-self: start; }
.credential-remove { padding: 6px 0; border: 0; background: transparent; color: #e3b5d7; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.credential-type { display: inline-block; color: var(--lavender); font-size: .875rem; font-weight: 750; margin-bottom: 4px; }
.credential-description { color: #f2e8f8; }
.experience-role { margin: 0 0 4px; font-size: 1.08rem; }
.experience-meta { margin-bottom: 8px; color: var(--lavender); }
.profile-entries li + li { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }
.profile-entries a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.profile-field { display: grid; align-content: start; gap: 8px; }
.profile-field textarea { min-width: 0; min-height: 5rem; field-sizing: content; padding: 12px; background: #111217; border: 1px solid #444653; color: inherit; border-radius: 8px; font: inherit; line-height: 1.55; resize: vertical; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 4px; }
.prime-layout { max-width: 670px; padding-block: clamp(30px, 7vw, 76px); }
.prime-card { padding: clamp(22px, 6vw, 48px); border: 1px solid #485334; border-radius: 18px; background: linear-gradient(145deg, #262232, var(--panel) 52%); box-shadow: 0 24px 70px #09090d70; }
.prime-card [hidden] { display: none; }
.prime-name { display: flex; align-items: center; gap: 9px; }
.prime-name h1 { font-size: 2rem; letter-spacing: -.06em; }
.prime-name span { padding: 6px 9px; border-radius: 6px; background: var(--accent); color: #1a2104; font-weight: 800; font-size: .875rem; }
.prime-price { margin-top: 22px; }
.prime-price strong { color: #faf6ff; font-size: clamp(2rem, 7vw, 3.2rem); letter-spacing: -.06em; }
.prime-lead { margin-top: 5px; font-size: 1.13rem; }
.prime-benefits { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.prime-benefits h2 { font-size: 1rem; letter-spacing: 0; }
.prime-benefits ul { padding: 0; margin: 14px 0 22px; list-style: none; display: grid; gap: 11px; }
.prime-benefits li::before { content: '✓'; color: var(--accent); margin-right: 10px; }
.prime-card .button { width: 100%; }
#prime-status:not(:empty) { margin-top: 12px; }
.project-board { width: min(1384px, 90%); padding-block: clamp(28px, 5vw, 56px); }
.board-intro { text-align: center; margin-bottom: clamp(22px, 4vw, 38px); }
.board-intro h1 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.065em; }
.board-intro h1 em { display: inline; }
.board-intro p { margin-top: 12px; color: #d2b5ee; font-size: clamp(1.05rem, 2.4vw, 1.65rem); }
.project-filters { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, .95fr) minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; }
.project-filters > div { position: relative; min-width: 0; }
.project-filters label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.project-filters input, .project-filters select { width: 100%; min-height: 54px; background-color: #261539; border-color: #9c61cb; border-radius: 10px; }
.project-search input { padding-left: 40px; }
.project-search::before, .project-search::after { content: ''; position: absolute; pointer-events: none; }
.project-search::before { width: 13px; height: 13px; border: 2px solid #e4cdf6; border-radius: 50%; left: 15px; top: 16px; }
.project-search::after { width: 8px; height: 2px; border-radius: 2px; background: #e4cdf6; transform: rotate(45deg); left: 27px; top: 33px; }
.board-results { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.project-clear { border: 0; padding: 6px 0; color: var(--lavender); text-decoration: underline; background: none; font: inherit; cursor: pointer; }
.project-results { display: grid; gap: 12px; }
.opportunity { min-width: 0; padding: clamp(16px, 3vw, 24px); border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.opportunity-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 10px; font-size: .875rem; color: var(--muted); }
.project-access { border: 1px solid #655083; border-radius: 999px; padding: 2px 8px; }
.project-access.prime { color: var(--accent); border-color: #72813d; }
.project-investment { color: #deeeab; margin-left: auto; }
.opportunity h2, .opportunity h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); letter-spacing: -.035em; }
.opportunity > p { margin-top: 6px; }
.opportunity-roles { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 14px 0; list-style: none; }
.opportunity-roles li { padding: 4px 9px; color: #e7dbf4; background: #37244e; border-radius: 6px; font-size: .875rem; }
.project-board .project-results { gap: 16px; }
.project-board .opportunity { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 20px 28px; align-items: center; padding: clamp(16px, 3vw, 30px); border-color: #a763d2; background: linear-gradient(115deg,#211231,#1b102a); }
.opportunity-icon { display: grid; place-items: center; width: clamp(58px, 8vw, 91px); aspect-ratio: 1; color: #faf4ff; border-radius: 15px; background: linear-gradient(145deg,#65339a,#39176a); }
.project-glyph { position: relative; display: grid; place-items: center; color: #fff; font-weight: 750; font-size: 1.1rem; }
.project-glyph.laptop { width: 39px; height: 26px; border: 2px solid currentColor; border-radius: 4px; }
.project-glyph.laptop::after { content: ''; position: absolute; width: 45px; height: 5px; border: 2px solid currentColor; border-radius: 2px 2px 5px 5px; top: 100%; }
.project-glyph.megaphone { width: 43px; height: 37px; background: currentColor; clip-path: polygon(0 31%, 28% 31%, 85% 5%, 85% 83%, 36% 62%, 42% 99%, 25% 99%, 19% 62%, 0 62%); }
.project-glyph.chip { width: 34px; height: 33px; border: 2px solid currentColor; border-radius: 5px; }
.project-glyph.chip::before, .project-glyph.chip::after { content: ''; position: absolute; inset: -7px 6px; border-inline: 2px dotted currentColor; }
.project-glyph.chip::after { transform: rotate(90deg); }
.project-glyph.store { width: 34px; height: 28px; border: 2px solid currentColor; border-radius: 4px; }
.project-glyph.store::after { content: ''; position: absolute; width: 38px; height: 9px; top: -1px; border-bottom: 2px solid currentColor; background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px); }
.project-glyph.finance { width: 38px; height: 38px; border: 2px solid currentColor; border-radius: 50%; }
.opportunity-body { min-width: 0; padding-left: clamp(14px, 2.5vw, 32px); border-left: 1px solid #714e8c; }
.project-board .opportunity h2 { font-size: clamp(1.3rem, 2.6vw, 2rem); overflow-wrap: anywhere; }
.project-board .opportunity-meta { margin: 9px 0 7px; }
.project-board .project-area, .project-board .project-access { padding: 3px 10px; border: 0; border-radius: 6px; font-weight: 700; }
.project-board .project-area { color: #fff; background: #6930a6; }
.project-board .project-access.free { color: #180a24; background: #c39aef; }
.project-board .project-access.prime { color: #1a2104; background: var(--accent); }
.project-board .project-investment { color: #dfc6f9; margin-left: 0; }
.opportunity-role-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: #d2afea; font-size: .875rem; }
.opportunity-role-row .opportunity-roles { margin: 0; gap: 6px; }
.opportunity-role-row .opportunity-roles li { border: 1px solid #8054a2; background: transparent; }
.project-board .opportunity-action { min-width: 132px; }
.project-detail { max-width: 1090px; }
.project-detail [hidden] { display: none; }
.detail-header { padding-block: 28px; }
.detail-header h1 { max-width: 20ch; font-size: clamp(2.5rem, 7vw, 4.6rem); }
.detail-header p { max-width: 64ch; margin-top: 14px; font-size: 1.12rem; }
.detail-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); gap: 18px; align-items: start; }
.detail-content { display: grid; gap: 18px; }
.detail-panel { padding: clamp(18px, 4vw, 28px); border: 1px solid #624380; border-radius: 16px; background: #1d132a; }
.detail-panel h2 { margin-bottom: 12px; font-size: 1.35rem; }
.detail-panel .opportunity-roles { margin-bottom: 0; }
.company-facts { display: grid; gap: 14px; margin: 0; }
.company-facts > div + div { border-top: 1px solid var(--line); padding-top: 12px; }
.company-facts dt { font-weight: 700; color: #e2c8f6; }
.company-facts dd { margin: 4px 0 0; line-height: 1.55; color: var(--muted); }
.company-responsibilities { padding-left: 19px; margin: 14px 0 0; color: var(--muted); line-height: 1.55; }
.company-responsibilities li + li { margin-top: 7px; }
.detail-application > p + p { margin-top: 8px; }
.detail-application > a, .detail-application form { margin-top: 15px; }
#application-status:not(:empty) { margin-top: 12px; color: var(--accent); }
.project-empty { padding: 20px; border: 1px dashed var(--line); border-radius: 12px; }
.featured-projects { padding-top: clamp(38px, 7vw, 72px); }
.featured-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.featured-heading p { margin-top: 8px; }
.opportunity-action { min-height: 40px; }
button:disabled { opacity: .65; cursor: wait; }

@media (max-width: 820px) {
  .landing-page .app-nav { display: none; }
  .project-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-board .opportunity { gap: 12px 16px; }
  .hero { min-height: auto; padding-block: 54px; }
  .hero, .faq, .signup, .login-layout { grid-template-columns: 1fr; }
  .hero { gap: 36px; }
  .product { width: min(100%, 530px); }
  .steps { gap: 12px; }
  .steps article { padding: 16px; }
  .login-layout { min-height: auto; }
  .login-panel { justify-self: start; padding-left: 0; }
}
@media (max-width: 630px) {
  .project-search { grid-column: 1 / -1; }
  .project-investment { margin-left: 0; }
  .wrap { width: calc(100% - 32px); }
  nav { display: none; }
  .myragic-page .header { min-height: 60px; gap: 7px; }
  .myragic-page .brand { font-size: 1.38rem; gap: 6px; }
  .brand-mark { width: 18px; height: 18px; }
  .app-nav { display: flex; gap: 1px; font-size: .875rem; }
  .app-nav a { padding: 7px 6px; }
  .project-board .opportunity { grid-template-columns: auto minmax(0,1fr); }
  .opportunity-body { padding-left: 0; border: 0; }
  .project-board .opportunity-action { grid-column: 1 / -1; }
  .detail-columns { grid-template-columns: 1fr; }
  .header-actions .button { padding-inline: 8px; font-size: .875rem; }
  .steps { grid-template-columns: 1fr; }
  .how, .faq { padding-block: 48px; }
  .roles > div { gap: 7px; }
  .roles small { font-size: .8125rem; }
  .roles strong { font-size: .8125rem; }
  .login-layout { gap: 26px; margin-block: 24px; padding: 24px; border-radius: 18px; }
  .login-benefits { margin-top: 18px; gap: 8px; }
  .login-showcase h1 { font-size: clamp(2.15rem, 9vw, 3rem); }
  .login-panel { grid-row: 1; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
}
@media (max-width: 480px) {
  .profile-page .app-nav a[aria-current] { display: none; }
  .profile-page #profile-logout { min-height: 36px; padding: 5px 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
