/* Public features / landing page (templates/features.html). Standalone: the
   page does not load style.css. The photo cutouts read --urt-img-a/-b, which
   the page script fills from the same rotating pool as the login backdrop. */

:root {
    --urt-navy: #10294a;
    --urt-navy-2: #183a63;
    --urt-navy-line: #2a527f;
    --urt-ink: #0f1b2b;
    --urt-text: #34465c;
    --urt-muted: #4f6276;
    --urt-line: #dbe2e8;
    --urt-bg: #f4f6f7;
    --urt-stage: #e2e8ec;
    --urt-blue: #1d5fa7;
    --urt-blue-hover: #164a84;
    --urt-blue-soft: #8fbce8;
    --urt-on-navy: #d6e0ec;
    --urt-on-navy-muted: #b8c7da;
    --urt-img-a: none;
    --urt-img-b: none;
    --urt-display-font: 'Anton', 'Impact', sans-serif;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

body.urt-page {
    margin: 0;
    background: var(--urt-bg);
    color: var(--urt-ink);
    font-family: 'IBM Plex Sans', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.urt-page a { color: var(--urt-blue); }
.urt-page a.urt-urc-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.urt-page a.urt-urc-link:hover { color: inherit; text-decoration-thickness: 2px; }
.urt-page a:hover { color: var(--urt-blue-hover); }
.urt-page :focus-visible { outline: 3px solid var(--urt-blue-soft); outline-offset: 2px; }

/* --- photo cutout text --------------------------------------------------- */
.urt-cut {
    background-image: var(--urt-img-a);
    background-color: var(--urt-navy);
    background-size: cover;
    background-position: center 40%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.urt-cut--alt { background-image: var(--urt-img-b); background-color: var(--urt-blue-soft); background-position: center 45%; }

/* --- shared type and buttons ---------------------------------------------- */
.urt-eyebrow {
    margin: 0 0 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--urt-blue);
}
.urt-eyebrow--light { color: var(--urt-on-navy-muted); }

.urt-display {
    margin: 0;
    font-family: var(--urt-display-font);
    font-weight: 400;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1;
    color: var(--urt-navy);
}
.urt-display--light { color: #fff; }

.urt-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.urt-btns--center { justify-content: center; }

.urt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.urt-btn--lg { min-height: 52px; padding: 0 32px; }
.urt-btn--primary {
    background: var(--urt-blue);
    color: #fff !important;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.urt-btn--primary:hover { background: var(--urt-blue-hover); }
.urt-hero .urt-btn--primary { background: #2a72c2; }
.urt-hero .urt-btn--primary:hover { background: var(--urt-blue); }
.urt-btn--ghost-light { background: transparent; border-color: #8ea4c0; color: #fff !important; }
.urt-btn--ghost-light:hover { background: rgba(255, 255, 255, .08); border-color: #fff; }
.urt-btn--ghost { background: transparent; border-color: var(--urt-navy); color: var(--urt-navy) !important; }
.urt-btn--ghost:hover { background: var(--urt-navy); color: #fff !important; }
.urt-btn--white { background: #fff; color: var(--urt-navy) !important; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.urt-btn--white:hover { background: #e6eef7; }

/* --- hero ----------------------------------------------------------------- */
.urt-hero { display: flex; flex-wrap: wrap; min-height: min(820px, 100svh); }

.urt-hero__pitch {
    flex: 1 1 420px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 28px clamp(24px, 4vw, 64px) 40px;
    background: var(--urt-navy);
    color: #fff;
}

.urt-brand { display: inline-flex; align-self: flex-start; }
.urt-brand img { display: block; width: auto; height: 76px; }

.urt-hero__copy { display: flex; flex-direction: column; gap: 22px; max-width: 460px; margin: auto 0; }
.urt-hero__copy .urt-eyebrow { margin: 0; font-size: 12px; }
.urt-hero__title {
    margin: 0;
    font-family: var(--urt-display-font);
    font-weight: 400;
    font-size: clamp(40px, 4.4vw, 60px);
    line-height: 1.02;
    letter-spacing: .01em;
}
.urt-hero__lede { margin: 0; font-size: 17px; line-height: 1.65; color: var(--urt-on-navy); }
.urt-hero__copy .urt-btns { margin-top: 8px; }
.urt-hero__tags { margin: 0; font-size: 13px; color: var(--urt-on-navy-muted); }

.urt-hero__stage {
    flex: 1.7 1 520px;
    max-width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 104px 24px 128px;
    background: var(--urt-stage);
    overflow: hidden;
    container-type: inline-size;
}

.urt-nav {
    position: absolute;
    top: 24px;
    right: clamp(20px, 3vw, 48px);
    display: flex;
    align-items: center;
    gap: 8px;
}
.urt-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    color: var(--urt-navy) !important;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}
.urt-nav__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.urt-nav__pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 20px 0 8px;
    border-radius: 999px;
    background: var(--urt-navy);
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
}
.urt-nav__pill:hover { background: var(--urt-blue); }
.urt-nav__dot { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; }
.urt-nav__dot span { width: 12px; height: 12px; border-radius: 50%; background: var(--urt-blue); }

.urt-hero__word {
    margin: 0;
    font-family: var(--urt-display-font);
    font-weight: 400;
    font-size: min(400px, 40cqi);
    line-height: .86;
    letter-spacing: .01em;
    text-align: center;
}
.urt-hero__sub {
    margin: 18px 0 0;
    padding-left: .42em;
    font-family: var(--urt-display-font);
    font-size: clamp(22px, 2.6vw, 36px);
    letter-spacing: .42em;
    color: var(--urt-navy);
    text-align: center;
}
.urt-hero__tagline { margin: 20px 0 0; max-width: 420px; text-align: center; font-size: 16px; line-height: 1.55; color: var(--urt-text); }

.urt-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    width: 64px;
    height: 64px;
    margin-left: -32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--urt-blue);
    box-shadow: 0 10px 24px rgba(16, 41, 74, .25);
    transition: transform .2s ease, background-color .15s ease;
}
.urt-scroll:hover { background: var(--urt-blue-hover); transform: translateY(3px); }
.urt-hero__caption { position: absolute; bottom: 14px; right: 20px; margin: 0; font-size: 12px; color: var(--urt-muted); }

/* --- sections --------------------------------------------------------------- */
.urt-section { display: flex; justify-content: center; padding: 96px 24px; }
.urt-inner { width: 100%; max-width: 1160px; }

.urt-intro { padding: 112px 24px 64px; }
.urt-intro__row { display: flex; flex-wrap: wrap; align-items: end; gap: 32px 64px; }
.urt-intro__head { flex: 1 1 420px; }
.urt-intro__text { flex: 1 1 360px; margin: 0; font-size: 18px; line-height: 1.65; color: var(--urt-text); }

.urt-chapter { padding-top: 48px; }
.urt-chapter__row { display: flex; flex-wrap: wrap; gap: 48px; }
.urt-chapter__row--reverse { flex-wrap: wrap-reverse; }
.urt-chapter__lead { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.urt-chapter__head { display: flex; align-items: baseline; gap: 16px; }
.urt-chapter__num { font-family: ui-monospace, 'Cascadia Mono', Menlo, Consolas, monospace; font-size: 15px; color: var(--urt-blue); }
.urt-chapter__word { margin: 0; font-family: var(--urt-display-font); font-weight: 400; font-size: clamp(96px, 12vw, 168px); line-height: .88; }
.urt-chapter__text { margin: 0; max-width: 440px; font-size: 17px; line-height: 1.65; color: var(--urt-text); }

.urt-chapter--dark { background: var(--urt-navy); color: #fff; padding-top: 96px; }
.urt-chapter--dark .urt-chapter__num { color: var(--urt-blue-soft); }
.urt-chapter--dark .urt-chapter__text { color: #c9d6e6; }

/* --- feature cards ------------------------------------------------------- */
.urt-cards {
    flex: 1.3 1 460px;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    align-content: start;
    align-items: start;
}
.urt-card {
    background: #fff;
    border: 1.5px solid var(--urt-line);
    border-radius: 16px;
    color: var(--urt-ink);
    transition: border-color .15s ease;
}
.urt-card:hover, .urt-card[open] { border-color: var(--urt-blue); }
.urt-card__summary { display: flex; flex-direction: column; gap: 12px; padding: 24px; list-style: none; cursor: pointer; }
.urt-card__summary::-webkit-details-marker { display: none; }
.urt-card__icon { color: var(--urt-blue); }
.urt-card__title { margin: 0; font-size: 19px; font-weight: 700; }
.urt-card__blurb { font-size: 15px; line-height: 1.55; color: var(--urt-muted); }
.urt-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--urt-blue); }
.urt-card__more::after { content: '+'; font-size: 16px; line-height: 1; }
.urt-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.urt-card__store { font-size: 13px; font-weight: 600; text-decoration: none; }
.urt-card__store:hover { text-decoration: underline; }
.urt-card[open] .urt-card__more::after { content: '\2212'; }
.urt-card__body { padding: 0 24px 24px; font-size: 15px; line-height: 1.6; color: var(--urt-text); }
.urt-card__body p { margin: 0 0 10px; }
.urt-card__body ul { margin: 0; padding-left: 18px; }
.urt-card__body li + li { margin-top: 4px; }
.urt-card__link { display: inline-block; margin-top: 12px; font-weight: 600; }

.urt-card--dark { background: var(--urt-navy-2); border-color: var(--urt-navy-line); color: #fff; }
.urt-card--dark:hover, .urt-card--dark[open] { border-color: var(--urt-blue-soft); }
.urt-card--dark .urt-card__icon, .urt-card--dark .urt-card__more { color: var(--urt-blue-soft); }
.urt-card--dark .urt-card__blurb, .urt-card--dark .urt-card__body { color: #c9d6e6; }

/* --- coach band ------------------------------------------------------------ */
.urt-fog {
    padding: 120px 24px;
    color: #fff;
    background-image: linear-gradient(90deg, rgba(9, 24, 44, .92) 0%, rgba(9, 24, 44, .78) 45%, rgba(9, 24, 44, .35) 100%), var(--urt-img-b);
    background-color: var(--urt-navy);
    background-size: cover;
    background-position: center 70%;
}
.urt-fog__copy { max-width: 560px; display: flex; flex-direction: column; gap: 24px; }
.urt-fog__copy .urt-eyebrow { margin: 0; color: var(--urt-blue-soft); }
.urt-fog__copy .urt-display { font-size: clamp(40px, 4.6vw, 64px); line-height: 1.02; }
.urt-fog__copy p { margin: 0; font-size: 18px; line-height: 1.65; color: #dbe4ee; }

/* --- final CTA + footer ------------------------------------------------------ */
.urt-final { padding: 120px 24px 96px; text-align: center; }
.urt-final__inner { max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.urt-final__title { font-size: clamp(44px, 6vw, 84px); line-height: .98; }
.urt-final__text { margin: 0; font-size: 18px; line-height: 1.6; color: var(--urt-text); }

.urt-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 32px 24px;
    border-top: 1px solid var(--urt-line);
    font-size: 14px;
    color: var(--urt-muted);
}
.urt-footer__links { display: flex; gap: 20px; }

/* --- video modal ------------------------------------------------------------- */
.urt-video { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.urt-video[hidden] { display: none; }
.urt-video__backdrop { position: absolute; inset: 0; background: rgba(9, 24, 44, .85); }
.urt-video__dialog { position: relative; width: min(960px, 100%); }
.urt-video__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.urt-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.urt-video__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
.urt-video__close:hover { background: rgba(255, 255, 255, .3); }

/* --- small screens -------------------------------------------------------- */
@media (max-width: 760px) {
    .urt-nav__link { display: none; }
    .urt-brand img { height: 60px; }
    .urt-hero__stage { padding: 96px 16px 120px; }
    .urt-section { padding-left: 16px; padding-right: 16px; }
    .urt-intro { padding-top: 72px; }
    .urt-cards { flex-basis: 100%; }
    .urt-chapter__lead { flex-basis: 100%; }
    .urt-footer { padding: 24px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .urt-page *, .urt-page *::before, .urt-page *::after { transition: none !important; }
}
