/* ─────────────────────────────────────────────────────────────
   mogs.you — landing, auth, onboarding styles
   ───────────────────────────────────────────────────────────── */

/* ─── Landing hero ─────────────────────────────────────────── */
.hero {
  padding: 72px 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.04em; line-height: 1.04; margin-bottom: 20px; }
.hero .sub { font-size: 18px; max-width: 540px; line-height: 1.6; color: var(--m); }

/* Browser preview window */
.bw {
  background: var(--bg2);
  border: 1px solid var(--b);
  border-radius: 18px;
  box-shadow: 0 25px 60px -18px rgba(124, 58, 237, 0.4), 0 0 0 1px rgba(168, 85, 247, 0.18);
  overflow: hidden;
}
.bar { display: flex; gap: 8px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--b); font-size: 12px; color: var(--m); background: rgba(13, 10, 27, 0.9); }
.bar i { width: 10px; height: 10px; border-radius: 50%; background: #332d4d; }
.bar i:nth-child(1) { background: #ff5f56; }
.bar i:nth-child(2) { background: #ffbd2e; }
.bar i:nth-child(3) { background: #27c93f; }
.bar .url { margin-left: 10px; font-weight: 600; color: #d8b4fe; }
.pv { padding: 34px 26px; text-align: center; min-height: 290px; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: opacity .4s ease, transform .4s ease; }
.pv.sw { opacity: 0; transform: scale(.97) translateY(6px); }
.pv .av { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--a), #22d3ee); margin: 0 auto 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.pv .l { display: block; margin: 7px auto 0; max-width: 250px; width: 100%; padding: 10px; border: 1px solid rgba(168, 85, 247, 0.4); border-radius: 10px; font-size: 14px; background: rgba(255, 255, 255, 0.04); }

/* ─── Marquee ──────────────────────────────────────────────── */
.mq { overflow: hidden; border-block: 1px solid var(--b); padding: 15px 0; margin: 36px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mt { display: flex; gap: 14px; width: max-content; animation: mq 36s linear infinite; }
.mt span { padding: 7px 18px; border: 1px solid var(--b); background: rgba(255, 255, 255, 0.03); border-radius: 99px; color: var(--m); font-size: 14px; white-space: nowrap; }
.mt b { color: var(--t); margin-right: 2px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ─── Sections + grids ─────────────────────────────────────── */
section { padding: 56px 0; }

/* Bento features */
#features .g { grid-template-columns: repeat(6, 1fr); }
#features .card:nth-child(1) { grid-column: span 4; }
#features .card:nth-child(2), #features .card:nth-child(3) { grid-column: span 2; }
#features .card:nth-child(4) { grid-column: span 4; }
#features .card:nth-child(5), #features .card:nth-child(6) { grid-column: span 3; }

/* Example theme tiles */
.ex { height: 130px; border-radius: 14px; padding: 16px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; font-weight: 700; display: flex; align-items: flex-end; border: 1px solid var(--b); transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.6); }
.ex:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -12px rgba(168, 85, 247, 0.4); }

/* ─── FAQ ──────────────────────────────────────────────────── */
details { background: var(--card); border: 1px solid var(--b); border-radius: 14px; margin-bottom: 12px; padding: 16px 20px; }
details[open] { border-color: rgba(168, 85, 247, 0.5); }
summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; align-items: center; justify-content: space-between; user-select: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(168, 85, 247, 0.15); border: 1px solid rgba(168, 85, 247, 0.3); color: var(--a); font-size: 16px; line-height: 1; flex: none; transition: transform .25s ease; }
details[open] summary::after { content: '−'; transform: rotate(180deg); }
details p { margin: 14px 0 4px; color: var(--m); font-size: 15px; line-height: 1.6; }

/* ─── Auth ─────────────────────────────────────────────────── */
.auth { max-width: 460px; margin: 56px auto 72px; padding: 0 16px; }
.auth .card { padding: 34px; border-color: rgba(168, 85, 247, 0.25); }
.auth h2 { margin-bottom: 6px; }
.ck { font-size: 13px; color: var(--m); list-style: none; padding: 0; margin: 10px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ck li { display: flex; align-items: center; gap: 6px; }
.ck .y { color: var(--ok); }
.sb { height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 9px; overflow: hidden; margin-top: 8px; }
.sb i { display: block; height: 100%; width: 0; transition: width .25s ease, background .25s ease; background: var(--bad); }

/* ─── Onboarding ───────────────────────────────────────────── */
.onboard-hero { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.onboard-hero h1 { margin-bottom: 14px; }
.onboard-bg {
  position: relative;
  background: radial-gradient(circle at 50% 12%, rgba(124, 58, 237, 0.2), transparent 60%), #0c091f;
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.25);
  padding: 32px 30px;
  overflow: hidden;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.7);
}
.stepper-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
.stepper-step { display: flex; flex-direction: column; gap: 10px; position: relative; }
.stepper-step:not(:last-child)::after { content: ''; position: absolute; top: 15px; left: 38px; right: -10px; height: 2px; background: rgba(255, 255, 255, 0.1); }
.stepper-step.done:not(:last-child)::after { background: linear-gradient(90deg, var(--a), var(--a2)); }
.step-disc { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--b); background: var(--card-solid); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--m); }
.stepper-step.done .step-disc { background: linear-gradient(135deg, var(--a), var(--a2)); border-color: transparent; color: #fff; box-shadow: 0 0 14px rgba(168, 85, 247, 0.55); }
.stepper-step.active .step-disc { border-color: var(--a); color: var(--a); }
.step-title { font-weight: 700; font-size: 14px; }
.step-sub { font-size: 12px; color: var(--m); line-height: 1.4; }

.onboard-grid { margin: 26px 0; }
.onboard-card { display: flex; flex-direction: column; }
.onboard-card .cta-row { margin-top: auto; padding-top: 18px; }

/* ─── Legal ────────────────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.legal h3 { margin-top: 30px; }

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  #features .g { grid-template-columns: 1fr; }
  #features .card { grid-column: auto !important; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding: 48px 0 28px; gap: 32px; }
  .stepper-row { grid-template-columns: 1fr 1fr; }
  .stepper-step:nth-child(2)::after { display: none; }
  .ck { grid-template-columns: 1fr; }
}

/* ─── Home page: personal-web editorial ───────────────────── */
.home-page {
  --home-bg: #09090d;
  --home-panel: #111116;
  --home-paper: #f0eee9;
  --home-muted: #aaa8b1;
  --home-line: rgba(240, 238, 233, .16);
  --home-violet: #aa62ff;
  --home-lime: #d7f36a;
  --home-coral: #ff765f;
  background: var(--home-bg);
  color: var(--home-paper);
}
.home-page nav.top { background: rgba(9, 9, 13, .86); border-bottom-color: var(--home-line); }
.home-page .btn { border-radius: 4px; }
.home-page .btn.p { color: #100b18; background: var(--home-lime); border-color: var(--home-lime); box-shadow: 0 8px 24px -12px rgba(215,243,106,.55); }
.home-page .btn.p:hover { color: #09090d; background: #e7ff90; border-color: #e7ff90; box-shadow: 0 12px 28px -10px rgba(215,243,106,.48); }
.home-main { overflow: hidden; }
.home-hero, .home-section, .home-end { width: min(1240px, calc(100% - 64px)); margin-inline: auto; }
.home-hero {
  min-height: 660px;
  padding: 82px 0 74px;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 48px;
  align-items: center;
}
.hero-copy { position: relative; z-index: 1; animation: home-rise .7s cubic-bezier(.2,.75,.25,1) both; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--home-muted); font: 700 11px/1.4 'Manrope', sans-serif; letter-spacing: 1.4px; }
.eyebrow > span { color: var(--home-lime); font-variant-numeric: tabular-nums; }
.home-hero h1 { margin: 30px 0 22px; font-size: 78px; line-height: .98; letter-spacing: 0; }
.home-hero h1 i, .section-heading h2 i, .faq-heading h2 i, .home-end h2 i { color: var(--home-violet); font-family: Georgia, serif; font-weight: 400; }
.hero-lede { max-width: 470px; color: var(--home-muted); font-size: 17px; line-height: 1.7; }
.home-cta { align-items: center; gap: 25px; margin-top: 30px; }
.home-cta .btn { min-height: 48px; padding-inline: 20px; }
.text-link { color: var(--home-paper); font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--home-line); padding: 9px 0; }
.text-link span { padding-left: 8px; color: var(--home-lime); }
.hero-foot { display: flex; align-items: center; gap: 9px; margin-top: 52px; color: var(--home-muted); font-size: 12px; }
.status-dot { width: 8px; height: 8px; background: var(--home-lime); border-radius: 50%; box-shadow: 0 0 12px rgba(215,243,106,.7); animation: status-pulse 2s ease-in-out infinite; }
.hero-art { position: relative; min-width: 0; min-height: 460px; display: grid; align-items: center; animation: home-rise .8s .12s cubic-bezier(.2,.75,.25,1) both; }
.hero-art::before { content: ''; position: absolute; inset: 0 0 0 8%; background: linear-gradient(135deg, rgba(170,98,255,.11), transparent 48%), repeating-linear-gradient(0deg, transparent 0 43px, rgba(240,238,233,.04) 44px), repeating-linear-gradient(90deg, transparent 0 43px, rgba(240,238,233,.04) 44px); border: 1px solid rgba(240,238,233,.09); }
.art-index { position: absolute; top: 19px; left: 13%; z-index: 2; font: 700 10px/1.6 'Manrope', sans-serif; letter-spacing: 1px; color: var(--home-muted); }
.art-index b { color: var(--home-paper); }
.home-browser { position: relative; z-index: 1; width: 88%; margin: 68px 0 40px 8%; border-radius: 5px; border-color: rgba(240,238,233,.2); box-shadow: 0 30px 75px rgba(0,0,0,.52); transform: rotate(-1.2deg); }
.home-browser .bar { min-height: 42px; background: #14141b; }
.home-browser .bar .url { color: #d2c1f1; letter-spacing: .8px; font-size: 10px; }
.home-browser .pv { min-height: 270px; padding: 26px 22px; }
.home-browser .pv .l { border-radius: 4px !important; }
.art-caption { position: absolute; left: 8%; right: 4%; bottom: 15px; z-index: 2; display: flex; justify-content: space-between; color: var(--home-muted); font: 700 9px/1.4 'Manrope', sans-serif; letter-spacing: 1.2px; }
.home-tape { margin: 0; border: 0; padding: 13px 0; background: var(--home-lime); color: #10110a; mask-image: none; -webkit-mask-image: none; transform: rotate(-1.1deg) scale(1.02); }
.home-tape .mt { gap: 0; animation-duration: 26s; }
.home-tape .mt span { padding: 5px 22px; border: 0; border-radius: 0; background: transparent; color: #17190e; font-size: 12px; font-weight: 800; letter-spacing: 1.1px; }
.home-tape .mt b { color: inherit; }
.home-section { padding: 112px 0; }
.feature-section { display: grid; grid-template-columns: .86fr 1.14fr; gap: 10%; align-items: start; }
.section-heading h2, .faq-heading h2 { margin: 23px 0 17px; font-size: 55px; line-height: 1.04; letter-spacing: 0; }
.section-heading > p:last-child { max-width: 380px; color: var(--home-muted); font-size: 15px; line-height: 1.7; }
.feature-list { border-top: 1px solid var(--home-line); }
.feature-item { display: grid; grid-template-columns: 42px 1fr auto; align-items: start; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--home-line); transition: padding .25s ease, background .25s ease; }
.feature-item:hover { padding-inline: 12px; background: linear-gradient(90deg, rgba(170,98,255,.08), transparent); }
.feature-no { color: var(--home-violet); font: italic 23px/1 Georgia, serif; }
.feature-item h3, .how-step h3 { margin: 0 0 7px; font-size: 20px; }
.feature-item p, .how-step p { max-width: 410px; color: var(--home-muted); font-size: 14px; line-height: 1.65; margin: 0; }
.feature-mark { color: var(--home-muted); font: 700 9px/1.4 'Manrope', sans-serif; letter-spacing: 1px; white-space: nowrap; }
.how-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: 10%; border-top: 1px solid var(--home-line); }
.how-heading { position: sticky; top: 110px; align-self: start; }
.how-list { border-top: 1px solid var(--home-line); }
.how-step { display: grid; grid-template-columns: 66px 1fr 26px; gap: 18px; align-items: start; padding: 27px 0; border-bottom: 1px solid var(--home-line); }
.how-number { color: var(--home-lime); font: 800 12px/1.4 'Manrope', sans-serif; }
.how-arrow { color: var(--home-violet); font-size: 21px; transition: transform .2s ease; }
.how-step:hover .how-arrow { transform: translate(3px,3px); }
.how-step code { color: var(--home-lime); }
.examples-section { border-top: 1px solid var(--home-line); }
.examples-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.examples-heading .eyebrow { align-self: start; }
.examples-heading h2 { margin: 0; }
#examples { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 13px; }
#examples > div { min-width: 0; }
.home-page .ex { height: 188px; border-radius: 3px; padding: 15px; font-size: 14px; transition: transform .3s ease, border-color .3s ease, filter .3s ease; }
.home-page .ex:hover { transform: translateY(-7px) rotate(-1deg); filter: saturate(1.18); }
#examples .k { color: var(--home-muted); font-size: 11px; }
.faq-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: 10%; border-top: 1px solid var(--home-line); }
.faq-section #faq-list { border-top: 1px solid var(--home-line); }
.home-page details { border: 0; border-bottom: 1px solid var(--home-line); border-radius: 0; margin: 0; padding: 19px 0; background: transparent; }
.home-page details[open] { border-color: rgba(170,98,255,.55); }
.home-page summary { color: var(--home-paper); font-size: 15px; }
.home-page summary::after { color: var(--home-lime); background: transparent; border: 0; }
.home-page details p { max-width: 570px; color: var(--home-muted); font-size: 14px; }
.home-end { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 52px 56px; margin-bottom: 64px; background: var(--home-panel); border: 1px solid var(--home-line); border-top: 3px solid var(--home-coral); }
.home-end h2 { margin: 12px 0 0; font-size: 44px; line-height: 1.06; letter-spacing: 0; }
.home-end h2 i { color: var(--home-coral); }
.home-page footer { border-color: var(--home-line); }
@keyframes home-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes status-pulse { 50% { box-shadow: 0 0 19px rgba(215,243,106,.95); opacity: .65; } }

@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; padding-top: 65px; gap: 24px; }
  .hero-art { min-height: 410px; }
  .feature-section, .how-section, .faq-section { grid-template-columns: 1fr; gap: 35px; }
  .how-heading { position: static; }
  #examples { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .examples-heading { display: block; }
  .examples-heading .eyebrow { margin-bottom: 18px; }
}
@media (max-width: 600px) {
  .home-hero, .home-section, .home-end { width: min(100% - 36px, 1240px); }
  .home-hero { min-height: 0; padding: 58px 0 45px; }
  .home-hero h1 { font-size: 54px; }
  .hero-lede { font-size: 15px; }
  .hero-foot { margin-top: 34px; }
  .hero-art { min-height: 340px; }
  .home-browser { width: 95%; margin-left: 3%; margin-top: 50px; }
  .home-browser .pv { min-height: 220px; padding-inline: 12px; }
  .art-caption { left: 2%; right: 0; font-size: 8px; }
  .home-section { padding: 76px 0; }
  .section-heading h2, .faq-heading h2 { font-size: 43px; }
  .feature-item { grid-template-columns: 28px 1fr; gap: 12px; }
  .feature-mark { grid-column: 2; }
  .how-step { grid-template-columns: 42px 1fr 18px; gap: 11px; }
  #examples { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-page .ex { height: 155px; }
  .home-end { align-items: start; flex-direction: column; padding: 30px 24px; margin-bottom: 35px; }
  .home-end h2 { font-size: 36px; }
}
