/* ============== TRADEDESK ACADEMY — marketing page styles ========== */

.landing { background:
  radial-gradient(1100px 520px at 78% -8%, rgba(38,166,154,.10), transparent 62%),
  radial-gradient(900px 480px at 10% 4%, rgba(59,130,246,.10), transparent 60%),
  var(--bg-0);
}

.lp-nav {
  position: sticky; top: 0; z-index: 60; backdrop-filter: blur(12px);
  background: rgba(11,14,19,.78); border-bottom: 1px solid var(--line);
}
.lp-nav .container { height: 62px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .logo { width: 28px; height: 28px; }
.brand .name { font-weight: 740; letter-spacing: -.025em; font-size: 1rem; }
.brand .name span { color: var(--up); }
.lp-links { display: flex; gap: 20px; }
.lp-links a { color: var(--text-dim); font-size: .88rem; font-weight: 550; }
.lp-links a:hover { color: var(--text); text-decoration: none; }
@media (max-width: 900px) { .lp-nav .lp-links { display: none; } }

/* ------------------------------ Hero ------------------------------- */
.hero { padding: 70px 0 54px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; gap: 34px; } .hero { padding: 42px 0 36px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--up);
  background: var(--up-soft); border: 1px solid var(--up-line);
  padding: 5px 13px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow .dot { color: var(--text-mute); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); line-height: 1.07; letter-spacing: -.035em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--up); }
.lede { font-size: 1.04rem; color: var(--text-dim); max-width: 58ch; line-height: 1.66; }

.tick-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tick-list li { position: relative; padding-left: 26px; font-size: .9rem; color: var(--text-dim); }
.tick-list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px; width: 18px; height: 18px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--up-soft); color: var(--up); font-size: 11px; font-weight: 800;
}
.tick-list.sm li { font-size: .84rem; }

/* Hero mock */
.hero-visual { perspective: 1400px; }
.mock-window {
  background: var(--bg-1); border: 1px solid var(--line-hard); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  transform: rotateY(-7deg) rotateX(3deg) translateZ(0);
}
@media (max-width: 1000px) { .mock-window { transform: none; } }
.mock-bar {
  display: flex; align-items: center; gap: 7px; padding: 10px 14px;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-4); }
.mock-bar i:first-child { background: #ef5350aa; }
.mock-bar i:nth-child(2) { background: #f0a93baa; }
.mock-bar i:nth-child(3) { background: #26a69aaa; }
.mock-bar span { margin-left: auto; font-size: .68rem; letter-spacing: .1em; color: var(--amber);
  font-family: var(--mono); border: 1px dashed var(--amber); padding: 1px 7px; border-radius: 4px; }
.mock-body { padding: 16px; }
.mock-stats { display: flex; gap: 22px; margin-bottom: 12px; flex-wrap: wrap; }
.mock-stats span { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .09em; color: var(--text-mute); }
.mock-stats b { font-family: var(--mono); font-size: 1.12rem; font-weight: 680; }
.mock-chart { width: 100%; height: 190px; background: var(--bg-inset); border-radius: 9px; }
.mock-foot { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* ---------------------------- Sections ----------------------------- */
.section { padding: 62px 0; }
.section.alt { background: linear-gradient(180deg, transparent, rgba(18,23,32,.75), transparent); }
.sec-title { font-size: clamp(1.5rem, 3vw, 2.05rem); letter-spacing: -.028em; text-align: center; margin-bottom: 10px; }
.sec-sub { text-align: center; color: var(--text-dim); max-width: 70ch; margin: 0 auto; font-size: .96rem; }
.sec-title.left, .sec-sub.left { text-align: left; margin-left: 0; }
.center-row { justify-content: center; flex-wrap: wrap; }

.role-card { display: flex; flex-direction: column; gap: 9px; }
.role-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 15px; }
.up-ic    { background: var(--up-soft);    color: var(--up); }
.blue-ic  { background: var(--blue-soft);  color: var(--blue); }
.amber-ic { background: var(--amber-soft); color: var(--amber); }
.role-card h3 { margin: 4px 0 0; }
.role-card > p { margin-bottom: 4px; font-size: .88rem; }

.level-card { position: relative; overflow: hidden; }
.level-card::after {
  content: ""; position: absolute; inset: auto -30px -30px auto; width: 110px; height: 110px;
  border-radius: 50%; background: radial-gradient(circle, rgba(59,130,246,.10), transparent 70%);
}
.level-1::after { background: radial-gradient(circle, rgba(38,166,154,.12), transparent 70%); }
.level-5::after { background: radial-gradient(circle, rgba(239,83,80,.12), transparent 70%); }
.level-4::after { background: radial-gradient(circle, rgba(240,169,59,.12), transparent 70%); }

.feat h4 { margin-bottom: 6px; font-size: .97rem; }
.feat p { margin: 0; color: var(--text-dim); font-size: .87rem; line-height: 1.6; }
.term-card { align-self: start; }

.cta-sec { padding: 72px 0 84px; }

/* ----------------------------- Footer ------------------------------ */
.lp-foot { border-top: 1px solid var(--line); padding: 28px 0 40px; background: var(--bg-1); }
.lp-foot .container { align-items: flex-start; gap: 26px; }

/* ------------------------- Auth (login page) ----------------------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
@media (max-width: 920px) { .auth-wrap { grid-template-columns: 1fr; } .auth-aside { display: none; } }

.auth-aside {
  background:
    radial-gradient(760px 420px at 20% 10%, rgba(38,166,154,.14), transparent 60%),
    radial-gradient(620px 420px at 85% 85%, rgba(59,130,246,.14), transparent 60%),
    var(--bg-1);
  border-right: 1px solid var(--line);
  padding: 46px; display: flex; flex-direction: column; justify-content: space-between;
}
.auth-aside h2 { font-size: 1.85rem; letter-spacing: -.03em; max-width: 18ch; }
.auth-aside .lede { font-size: .95rem; }

.auth-main { display: grid; place-items: center; padding: 32px 20px 48px; }
.auth-card { width: min(430px, 100%); }
.auth-card h1 { font-size: 1.55rem; margin-bottom: 4px; }
.auth-card .sub { color: var(--text-dim); font-size: .9rem; margin-bottom: 22px; }
.auth-switch { text-align: center; font-size: .87rem; color: var(--text-dim); margin-top: 18px; }
.auth-tabs { display: flex; gap: 4px; background: var(--bg-2); padding: 4px;
  border-radius: 10px; border: 1px solid var(--line); margin-bottom: 20px; }
.auth-tabs button {
  flex: 1; padding: 8px; border: 0; border-radius: 7px; background: none; cursor: pointer;
  color: var(--text-dim); font: inherit; font-size: .87rem; font-weight: 620;
}
.auth-tabs button[aria-selected="true"] { background: var(--bg-4); color: var(--text); }

.demo-accounts { display: flex; flex-direction: column; gap: 7px; }
.demo-acct {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; width: 100%;
  border: 1px solid var(--line-hard); border-radius: 9px; background: var(--bg-2);
  cursor: pointer; font: inherit; text-align: left; color: var(--text); transition: border-color .12s, background .12s;
}
.demo-acct:hover { border-color: var(--blue); background: var(--bg-3); }
.demo-acct .r { margin-left: auto; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute); }

.pw-meter { height: 4px; border-radius: 99px; background: var(--bg-4); overflow: hidden; margin-top: 5px; }
.pw-meter > i { display: block; height: 100%; width: 0; transition: width .25s, background .25s; }
