* { box-sizing: border-box; }

html { min-width: 320px; min-height: 100%; background: var(--op-bg); }

.launch-page {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 14% 8%, color-mix(in srgb, var(--op-accent-soft) 58%, transparent), transparent 34%),
    var(--op-bg);
  color: var(--op-text);
  font-family: var(--op-font-sans);
  -webkit-font-smoothing: antialiased;
}

.launch-page a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.launch-page a:focus-visible { outline: 2px solid var(--op-border-focus); outline-offset: 4px; }

.launch-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 26px 0 56px; }
.launch-header { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.launch-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; }
.launch-brand > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: var(--op-text); color: var(--op-text-inverse); font-family: var(--op-font-display); font-weight: 800; }
.gallery-link { color: var(--op-text-secondary) !important; font-size: 13px; font-weight: 650; }
.gallery-link:hover { color: var(--op-text) !important; }

.launch-intro { max-width: 700px; margin: 94px 0 38px; }
.launch-kicker { margin: 0 0 11px; color: var(--op-accent-text); font: 700 10px/1 var(--op-font-mono); letter-spacing: .14em; text-transform: uppercase; }
.launch-intro h1 { margin: 0; font-family: var(--op-font-display, "Bricolage Grotesque", sans-serif); font-size: clamp(38px, 5vw, 62px); font-weight: 700; line-height: .98; letter-spacing: -.045em; }
.launch-intro > p:last-child { margin: 18px 0 0; color: var(--op-text-secondary); font-size: 17px; }

.launch-options { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: 18px; }
.launch-card { overflow: hidden; border: 1px solid var(--op-border); border-radius: 20px; background: color-mix(in srgb, var(--op-surface) 96%, transparent); box-shadow: 0 1px 1px rgba(24, 31, 27, .04), 0 18px 45px rgba(24, 31, 27, .06); transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.launch-card:hover { transform: translateY(-3px); border-color: var(--op-border-strong); box-shadow: 0 2px 2px rgba(24, 31, 27, .05), 0 24px 58px rgba(24, 31, 27, .1); }
.launch-card:active { transform: translateY(-1px) scale(.995); }

.preview { display: grid; height: 340px; place-items: end center; overflow: hidden; border-bottom: 1px solid var(--op-border); background: var(--op-bg-subtle); }
.preview--desktop { padding: 34px 34px 0; grid-template-columns: 112px minmax(0, 1fr); align-items: stretch; justify-items: stretch; }
.preview-sidebar { display: flex; flex-direction: column; gap: 12px; padding: 18px 13px; border: 1px solid var(--op-border); border-bottom: 0; border-radius: 12px 0 0; background: #f1f3ef; }
.preview-sidebar i { width: 25px; height: 25px; margin-bottom: 12px; border-radius: 8px; background: var(--op-text); }
.preview-sidebar span { width: 75%; height: 7px; border-radius: 9px; background: #c8cec8; }
.preview-sidebar span:nth-of-type(2) { width: 90%; background: #9ca99f; }
.preview-main { padding: 0 22px 24px; border: 1px solid var(--op-border); border-bottom: 0; border-left: 0; border-radius: 0 12px 0 0; background: var(--op-surface); }
.preview-bar { height: 36px; margin: 0 -22px 24px; border-bottom: 1px solid var(--op-border); }
.preview-brief { padding: 19px; border: 1px solid var(--op-border); border-radius: 12px; background: #fbfaf7; }
.preview-brief i { display: block; width: 38%; height: 9px; margin-bottom: 13px; border-radius: 8px; background: #53665a; }
.preview-brief span { display: block; width: 100%; height: 6px; margin-top: 7px; border-radius: 8px; background: #d8ddd8; }
.preview-brief span:last-child { width: 72%; }
.preview-list { margin-top: 16px; border-top: 1px solid var(--op-border); }
.preview-list span { display: block; height: 37px; border-bottom: 1px solid var(--op-border); }

.preview--mobile { padding: 24px 34px 0; background: linear-gradient(145deg, #f0f2ee, #e5e9e4); }
.phone-preview { position: relative; width: 202px; height: 320px; padding: 27px 15px 18px; border: 5px solid #29322d; border-bottom: 0; border-radius: 30px 30px 0 0; background: var(--op-surface); box-shadow: 0 18px 42px rgba(31, 43, 36, .18); }
.phone-preview::before { position: absolute; top: 9px; left: 50%; width: 46px; height: 6px; border-radius: 8px; background: #29322d; content: ""; transform: translateX(-50%); }
.phone-status { width: 44%; height: 6px; margin: 5px 0 18px; border-radius: 8px; background: #6b7d72; }
.phone-brief { padding: 13px; border: 1px solid var(--op-border); border-radius: 11px; background: #f7f7f3; }
.phone-brief i, .phone-brief span { display: block; height: 6px; border-radius: 8px; background: #d4dad4; }
.phone-brief i { width: 62%; margin-bottom: 10px; background: #65776c; }
.phone-brief span { margin-top: 6px; }
.phone-brief span:last-child { width: 76%; }
.phone-task { height: 48px; margin-top: 12px; border: 1px solid var(--op-border); border-radius: 10px; background: var(--op-surface); }
.phone-task.short { height: 40px; margin-top: 8px; }
.phone-nav { position: absolute; right: 15px; bottom: 13px; left: 15px; display: flex; justify-content: space-around; padding-top: 10px; border-top: 1px solid var(--op-border); }
.phone-nav i { width: 18px; height: 5px; border-radius: 8px; background: #77877d; }

.launch-card__copy { display: grid; grid-template-columns: 36px minmax(0, 1fr) 30px; gap: 13px; align-items: center; min-height: 108px; padding: 22px 24px; }
.device-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--op-accent-soft); color: var(--op-accent-text); font: 700 24px/1 var(--op-font-display); }
.device-icon--mobile { font-size: 27px; }
.launch-card h2 { margin: 0; font-family: var(--op-font-display, "Bricolage Grotesque", sans-serif); font-size: 18px; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
.launch-card p { margin: 5px 0 0; color: var(--op-text-secondary); font-size: 13px; line-height: 1.4; }
.launch-arrow { color: var(--op-text-tertiary); font-size: 22px; transition: transform 180ms ease, color 180ms ease; }
.launch-card:hover .launch-arrow { color: var(--op-text); transform: translateX(3px); }

@media (max-width: 780px) {
  .launch-shell { width: min(100% - 28px, 560px); padding-top: 16px; }
  .launch-intro { margin: 56px 0 28px; }
  .launch-intro h1 { font-size: 42px; }
  .launch-options { grid-template-columns: 1fr; }
  .preview { height: 260px; }
  .preview--desktop { padding: 26px 20px 0; grid-template-columns: 86px minmax(0, 1fr); }
  .preview--mobile { padding-top: 18px; }
  .phone-preview { height: 250px; }
}

@media (prefers-reduced-motion: reduce) {
  .launch-card, .launch-arrow { transition: none; }
}
