@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --navy: #020d23;
  --surface: #0a1830;
  --surface-raised: #101f39;
  --orange: #ff6d1e;
  --white: #ffffff;
  --muted: #a7b1c5;
  --line: #24324b;
  font-family: 'DM Sans', sans-serif;
  color: var(--white);
  background: var(--navy);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, select { font: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button:focus-visible, a:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
[hidden] { display: none !important; }

/* Original supplied brand, framed without altering the image. */
.brand { display: block; position: relative; overflow: hidden; width: 270px; height: 94px; flex-shrink: 0; }
.brand img { display: block; position: absolute; width: 440px; height: auto; max-width: none; left: -87px; top: -183px; }
.main { min-height: 100vh; }
.app-header { height: 128px; padding: 0 max(32px, calc((100vw - 1168px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); background: var(--navy); }
.secure { font-size: 12px; color: var(--muted); letter-spacing: .2px; }
.account-bar, .account-identity { display: flex; align-items: center; gap: 15px; min-width: 0; }
.account-identity > span:last-child { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.avatar { background: #ff6d1e18; color: var(--orange); border: 1px solid #ff6d1e55; border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.connected-label { font-size: 11px; color: var(--orange); font-weight: 500; }
#userEmail { max-width: 270px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e5e9f2; font-size: 13px; }
.logout { background: transparent; color: #d3dbea; border: 1px solid #3a4962; border-radius: 6px; padding: 10px 16px; font-size: 12px; }
.logout:hover { background: var(--surface-raised); border-color: var(--orange); }

main { max-width: 1260px; margin: auto; padding: 40px 46px 0; }
.topline { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.eyebrow { font-size: 10px; line-height: 1.7; font-weight: 700; letter-spacing: 1.8px; color: var(--orange); }
.demo-pill { font-size: 11px; color: #ffc29b; background: #ff6d1e10; border: 1px solid #ff6d1e44; padding: 7px 12px; border-radius: 5px; white-space: nowrap; }
.heading { display: flex; align-items: center; justify-content: space-between; margin: 30px 0 34px; }
h1 { font: 700 clamp(30px, 3.2vw, 46px)/1.22 Manrope, sans-serif; letter-spacing: -1.8px; margin: 0; color: var(--white); }
h1 span { color: var(--orange); }
.heading p { font-size: 14px; color: var(--muted); line-height: 1.85; margin: 19px 0 0; }
.abstract { position: relative; width: 225px; height: 170px; margin-right: 25px; }
.orbit { position: absolute; border: 1px solid #ff6d1e66; border-radius: 50%; width: 170px; height: 130px; transform: rotate(-25deg); top: 20px; left: 20px; }
.orbit:after { content: ''; position: absolute; border: 1px dashed #3a4761; inset: -14px; border-radius: 50%; }
.play { position: absolute; top: 50px; left: 66px; width: 83px; height: 61px; border-radius: 15px; background: var(--orange); color: var(--navy); display: grid; place-items: center; transform: rotate(-10deg); font-size: 25px; }
.growth { position: absolute; right: 10px; top: 12px; padding: 10px 17px; transform: rotate(8deg); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--orange); font-size: 34px; }
.spark { position: absolute; left: 18px; bottom: 15px; color: var(--orange); font-size: 30px; }
.layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.connect { padding: 30px; border-top: 2px solid var(--orange); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.step-label { font-size: 10px; letter-spacing: 1.5px; color: var(--muted); font-weight: 700; }
.status { font-size: 10px; background: #ff6d1e12; border: 1px solid #ff6d1e33; border-radius: 20px; padding: 6px 10px; color: #ffc29b; }
.status:before { content: '•'; margin-right: 5px; color: var(--orange); }
h2 { font: 700 20px/1.45 Manrope, sans-serif; letter-spacing: -.5px; margin: 24px 0 10px; }
.connect > p { font-size: 13px; color: var(--muted); line-height: 1.85; }
.benefits { display: flex; flex-wrap: wrap; gap: 12px; margin: 25px 0 28px; font-size: 11px; color: #e1c1ac; }
.primary { width: 100%; border: 0; border-radius: 6px; background: var(--orange); color: var(--navy); min-height: 56px; padding: 0 19px; display: flex; align-items: center; justify-content: center; gap: 13px; font-size: 13px; font-weight: 700; transition: background .15s; }
.primary > span:last-child { margin-left: auto; }
.primary > span:first-child { margin-right: auto; }
.primary:hover { background: #ff8949; }
.primary:disabled { opacity: .55; }
.connect p.fine { text-align: center; font-size: 11px; color: #95a2b9; line-height: 1.9; margin: 15px 0 0; }
.billing { display: flex; gap: 15px; padding: 25px 4px; align-items: flex-start; }
.billing-icon { background: #ff6d1e12; color: var(--orange); border: 1px solid #ff6d1e44; border-radius: 8px; min-width: 39px; height: 39px; display: grid; place-items: center; font-size: 19px; }
.billing h3 { font-size: 13px; font-weight: 600; margin: 1px 0 8px; }
.billing p { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 0; }
.tag { margin-left: auto; letter-spacing: 1px; font-size: 9px; border: 1px solid #3a4962; color: #b5bed0; border-radius: 4px; padding: 5px 7px; }
.journey { padding: 30px 27px; align-self: start; }
.journey .eyebrow { font-size: 9px; }
.journey h2 { margin: 10px 0 28px; font-size: 20px; }
ol { padding: 0; list-style: none; margin: 0; }
li { display: flex; gap: 15px; position: relative; padding-bottom: 27px; }
li:not(:last-child):after { content: ''; width: 1px; height: calc(100% - 34px); background: #2d3b54; position: absolute; left: 15px; top: 36px; }
.number { border: 1px solid #3a4962; background: var(--surface-raised); color: #c1cadd; min-width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-size: 12px; }
li h3 { font-size: 13px; font-weight: 500; margin: 2px 0 7px; color: #e5eaf3; }
li p { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 0; }
li.done .number { background: var(--orange); color: var(--navy); border-color: var(--orange); font-weight: 700; }
li.current .number { border-color: var(--orange); color: var(--orange); box-shadow: 0 0 0 4px #ff6d1e12; }
.journey-footer { border-top: 1px solid var(--line); padding-top: 19px; display: flex; gap: 12px; color: var(--orange); }
.journey-footer p { font-size: 11px; line-height: 1.8; margin: 0; color: var(--muted); }
.guide-details { border: 1px solid var(--line); border-radius: 8px; background: #061228; margin-top: 12px; padding: 19px 23px; color: #e4e9f2; }
.guide-details summary { cursor: pointer; font-size: 13px; font-weight: 500; }
.guide-details summary::marker { color: var(--orange); }
.guide-copy p { font-size: 13px; line-height: 1.9; color: var(--muted); margin: 16px 0 0; max-width: 850px; }
.bottom-note { display: flex; justify-content: center; align-items: center; gap: 10px; color: var(--muted); margin: 28px 0 42px; font-size: 12px; }
.bottom-note > span { color: var(--orange); }
.bottom-note b { font-weight: 500; color: #e1e7f1; }
footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; padding: 23px 0; color: #8d9ab1; font-size: 11px; line-height: 1.8; }
.notice { background: #ff6d1e0d; border: 1px solid #ff6d1e33; color: #efc5aa; padding: 14px; border-radius: 6px; font-size: 12px; line-height: 1.8; margin-top: 16px; overflow-wrap: anywhere; }
.notice.error { background: #f5676710; border-color: #f5676744; color: #ffb8a9; }
label { font-size: 13px; display: block; margin: 12px 0; color: #dce3ee; }
select { width: 100%; padding: 13px; margin-bottom: 17px; border: 1px solid #3a4962; border-radius: 6px; background: var(--navy); color: var(--white); }

/* Sign-in follows the supplied navy, orange and white identity. */
.login-page { background: var(--navy); }
.auth-main { min-height: calc(100vh - 128px); display: flex; flex-direction: column; padding-top: 0; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(350px, .88fr); gap: 80px; align-items: center; flex: 1; padding: 64px 0; }
.auth-intro > .eyebrow { font-size: 10px; letter-spacing: 1.8px; }
.auth-intro h1 { font-size: clamp(43px, 4.6vw, 65px); letter-spacing: -2.8px; line-height: 1.13; margin: 26px 0; font-weight: 700; }
.auth-intro > p { font-size: 15px; line-height: 1.9; color: var(--muted); margin: 0 0 32px; }
.auth-benefits { display: flex; flex-direction: column; gap: 15px; }
.auth-benefits > span { display: flex; align-items: center; gap: 13px; font-size: 13px; color: #d8dfec; }
.auth-benefits b { font-size: 10px; font-weight: 500; color: var(--orange); border: 1px solid #ff6d1e55; border-radius: 50%; width: 29px; height: 29px; display: grid; place-items: center; background: #ff6d1e0a; }
.auth-signature { display: flex; gap: 15px; align-items: center; margin-top: 36px; }
.auth-signature > span { font-size: 38px; color: var(--orange); }
.auth-signature p { font-size: 12px; color: #95a3bc; line-height: 1.8; margin: 0; }
.auth-card { padding: 35px 35px 30px; border-top: 2px solid var(--orange); }
.auth-symbol { width: 47px; height: 47px; display: grid; place-items: center; font-size: 28px; color: var(--orange); border: 1px solid #ff6d1e55; background: #ff6d1e0d; border-radius: 9px; margin-bottom: 25px; }
.auth-card .eyebrow { font-size: 9px; letter-spacing: 1.6px; }
.auth-card h2 { font-size: 30px; line-height: 1.28; letter-spacing: -1px; color: var(--white); margin: 16px 0; }
.auth-card > p { font-size: 13px; line-height: 1.85; color: var(--muted); margin: 0 0 24px; }
.google-login { color-scheme: light; background: var(--white); border: 1px solid var(--white); border-radius: 6px; display: flex; align-items: center; justify-content: center; gap: 13px; width: 100%; min-height: 54px; color: #17243b; font-size: 14px; font-weight: 600; transition: background .15s; }
.google-login:hover { background: #e9edf3; border-color: #e9edf3; }
.google-login:disabled { opacity: .7; }
.google-login svg { flex-shrink: 0; }
.auth-notice { font-size: 12px; margin: 16px 0 0; }
.auth-divider { height: 1px; background: var(--line); margin: 26px 0 22px; }
.auth-assurance { display: flex; gap: 11px; align-items: flex-start; }
.auth-assurance > span { color: var(--orange); margin-top: 3px; font-size: 14px; }
.auth-assurance p { font-size: 12px; color: var(--muted); line-height: 1.85; margin: 0; }
.auth-card > p.auth-fine { font-size: 11px; color: #93a1b9; line-height: 1.9; text-align: center; margin: 22px 0 0; }
.auth-main footer { margin-top: auto; }

@media (min-width: 1500px) {
  main { padding-top: 48px; }
  .heading { margin-bottom: 40px; }
  .connect, .journey { padding: 35px; }
  .auth-main { padding-top: 0; }
}
@media (max-width: 1100px) {
  main { padding: 30px; }
  .app-header { padding: 0 30px; }
  .layout { grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 20px; }
  .connect { padding: 26px; }
  .journey { padding: 26px 22px; }
  .desktop { display: none; }
  .abstract { margin-right: 0; transform: scale(.85); }
  .auth-layout { gap: 45px; padding-top: 50px; }
  .auth-card { padding: 30px; }
  .auth-intro h1 { font-size: 50px; }
  .auth-intro > .eyebrow { font-size: 9px; letter-spacing: 1.2px; }
  .auth-main { padding-top: 0; }
}
@media (max-width: 820px) {
  .layout { grid-template-columns: 1fr; }
  .journey ol { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .journey li { padding-bottom: 0; }
  .journey li:after { display: none; }
  .journey-footer { margin-top: 20px; }
  .auth-layout { grid-template-columns: 1fr; gap: 34px; max-width: 540px; margin: 0 auto; padding: 40px 0; }
  .auth-intro h1 { font-size: 47px; letter-spacing: -2px; }
  .auth-intro > p { margin-bottom: 0; }
  .auth-benefits, .auth-signature { display: none; }
  .auth-main footer { margin-top: 18px; }
  .login-header .secure { display: none; }
}
@media (max-width: 600px) {
  .app-header { height: auto; min-height: 104px; padding: 12px 20px; flex-wrap: wrap; gap: 10px; }
  .brand { width: 218px; height: 75px; }
  .brand img { width: 356px; left: -71px; top: -148px; }
  .account-bar { gap: 12px; margin-left: auto; margin-bottom: 10px; }
  .account-identity .avatar { display: none; }
  #userEmail { font-size: 11px; max-width: 220px; }
  .connected-label { font-size: 10px; }
  .logout { font-size: 11px; padding: 8px 11px; }
  main { padding: 28px 20px 0; }
  .topline { gap: 12px; align-items: flex-start; flex-wrap: wrap; }
  .eyebrow { font-size: 9px; }
  .demo-pill { font-size: 10px; }
  .heading { margin: 27px 0; }
  .abstract { display: none; }
  h1 { font-size: 34px; letter-spacing: -1.2px; }
  .heading p { font-size: 13px; }
  .connect { padding: 25px 21px; }
  h2 { font-size: 20px; }
  .card-top { align-items: flex-start; }
  .status { font-size: 9px; }
  .benefits { flex-direction: column; gap: 11px; }
  .journey { padding: 25px; }
  .journey ol { grid-template-columns: 1fr; }
  .journey li { padding-bottom: 15px; }
  .billing { gap: 11px; }
  .tag { font-size: 8px; }
  .billing p { font-size: 11px; }
  footer { font-size: 10px; gap: 15px; flex-wrap: wrap; }
  .bottom-note { align-items: flex-start; line-height: 1.8; margin: 23px 0 32px; font-size: 11px; }
  .bottom-note p { margin: 0; }
  .auth-main { min-height: calc(100vh - 104px); padding-top: 0; }
  .auth-layout { padding-top: 34px; width: 100%; }
  .auth-intro h1 { font-size: 43px; }
  .auth-intro > .eyebrow { font-size: 8px; letter-spacing: 1.2px; }
  .auth-intro > p { font-size: 13px; }
  .auth-card { padding: 28px 25px; }
  .auth-symbol { margin-bottom: 22px; }
  .auth-card h2 { font-size: 29px; }
  .auth-main footer { padding: 20px 0; }
  .guide-details { padding: 18px; }
  .primary { font-size: 12px; padding: 0 13px; gap: 8px; }
}
