/* ESR Code: an actual road photograph and an accessible discovery session. */
.network-app.code-home::before { background: linear-gradient(90deg, rgb(7 13 15 / 77%), rgb(7 13 15 / 25%) 55%, rgb(7 13 15 / 55%)), linear-gradient(0deg, rgb(7 13 15 / 89%), transparent 70%); }
.code-home .network-app__photo img { object-position: center 48%; }
.code-home .network-app__photo { position: fixed; }
.code-home .network-app__main { width: min(100% - 5rem, 80rem); }
.code-home [hidden] { display: none !important; }
.code-home__brand { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.1rem; font-weight: 800; letter-spacing: -.04em; color: #fff; }
.code-home__brand strong { padding: .3rem .5rem; border: 1px solid rgb(255 255 255 / 60%); border-radius: .3rem; font-size: .75rem; font-weight: 600; letter-spacing: .12em; }
.code-home__entry, .code-home__completion { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; margin-block: auto; padding-block: clamp(2.5rem, 7vh, 6rem); }
.code-home__eyebrow, .code-home__step { color: #e4e9e4; font-size: .75rem; letter-spacing: .13em; text-transform: uppercase; line-height: 1.5; }
.code-home__introduction h1 { margin: 1rem 0 1.5rem; color: #fff; font-size: clamp(2.8rem, 4.8vw, 5.3rem); letter-spacing: -.055em; font-weight: 550; line-height: 1.02; text-wrap: balance; }
.code-home__lead { color: #fff; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 30ch; }
.code-home__promise { color: #e8ece8; max-width: 45ch; font-size: .95rem; line-height: 1.65; margin-top: 1.5rem; }
.code-home__features { display: flex; gap: .5rem 1.2rem; flex-wrap: wrap; padding: 1.3rem 0 0; margin-top: 1.5rem; list-style: none; border-top: 1px solid rgb(255 255 255 / 35%); font-size: .75rem; line-height: 1.5; color: #edf0ec; }
.code-home__goal, .code-home__offer { padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid rgb(255 255 255 / 40%); background: rgb(13 23 22 / 90%); border-radius: 1.2rem; box-shadow: 0 1rem 4rem rgb(0 0 0 / 15%); }
.code-home__goal h2, .code-home__offer h2, .code-home__result h2 { color: #fff; font-weight: 550; font-size: clamp(1.7rem, 2.4vw, 2.4rem); letter-spacing: -.035em; line-height: 1.15; margin: .8rem 0; }
.code-home__goal > p, .code-home__result > p { color: #e0e7e2; font-size: .9rem; line-height: 1.65; }
.code-home__goal label { display: block; margin: 1.5rem 0 .6rem; font-size: .85rem; color: #fff; }
.code-home__goal input { display: block; width: 100%; min-height: 54px; box-sizing: border-box; padding: .8rem 1rem; border: 1px solid #87968f; border-radius: .5rem; color: #fff; background: #1c2d28; font: inherit; color-scheme: dark; }
.code-home .code-home__hint { color: #c5d0c9; font-size: .75rem; line-height: 1.55; margin-block: .6rem 1.25rem; }
.code-home .network-app__primary { width: 100%; box-sizing: border-box; cursor: pointer; font-family: inherit; }
.code-home .network-app__primary:disabled { opacity: .55; cursor: not-allowed; }
.code-home__text-button { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem 0; border: 0; color: #f0f5ee; background: transparent; font: inherit; font-size: .8rem; text-underline-offset: .3rem; text-decoration: underline; cursor: pointer; }
.code-home__goal > .code-home__text-button { width: 100%; justify-content: center; }
.code-home__operators { padding-top: 1rem; margin-top: .7rem; border-top: 1px solid #54655b; }
.code-home__operators p { color: #d3ddd5; font-size: .72rem; line-height: 1.65; margin: .3rem 0; }
.code-home__operators a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: #fff; font-size: .75rem; text-underline-offset: .3rem; }
.code-home__error { color: #ffd4cb; font-size: .8rem; line-height: 1.5; }
.code-home :is(button, input):focus-visible { outline: 2px solid #70b5ff; outline-offset: 4px; }
.code-home__no-script { padding: 1rem; border: 1px solid #b2bfad; border-radius: .5rem; background: #14261b; font-size: .85rem; }
.code-home__no-script a { color: #fff; }
.code-home .network-app__help-content { background: #14221c; }
.code-home__completion { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; }
.code-home .code-home__score { font-size: clamp(3.5rem, 9vw, 7rem); letter-spacing: -.06em; color: #fff; line-height: 1; margin: 1.5rem 0; }
.code-home__result > p { max-width: 42ch; }
.code-home .code-home__price { color: #fff; margin: 1.5rem 0 .3rem; font-size: 3.3rem; line-height: 1.1; letter-spacing: -.05em; }
.code-home__price small { font-size: .75rem; letter-spacing: 0; }
.code-home__duration { margin: 0; color: #d5dfd6; font-size: .8rem; }
.code-home__offer ul { padding-left: 1.1rem; color: #e6eee6; font-size: .85rem; line-height: 1.6; margin-block: 1.5rem; }
.code-home__offer li { margin-block: .7rem; padding-left: .3rem; }
.code-home__target { border-left: 2px solid #c3d5bb; padding-left: 1rem; margin-top: 2rem; }
.code-home__journey { align-self: stretch; padding-block: .5rem; }
.code-home__journey h3 { color: #fff; font-size: 1.3rem; font-weight: 500; line-height: 1.4; letter-spacing: -.025em; margin: .4rem 0 1.2rem; }
.code-trial__series { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.code-trial__series button { display: flex; flex-direction: column; align-items: start; justify-content: space-between; gap: .5rem; min-height: 88px; padding: .8rem; color: #fff; background: #25392c; border: 1px solid #92a488; border-radius: .6rem; font: inherit; font-size: .8rem; cursor: pointer; text-align: left; }
.code-trial__series button:disabled { background: #1c2c23; color: #b4c0b8; border-color: #637269; cursor: default; }
.code-trial__series button[aria-current="step"] { border-color: #e2edc7; background: #3b4f32; }
.code-trial__series button small { font-size: .65rem; line-height: 1.5; }
.code-trial__review { margin: .5rem 0 1rem; padding: .8rem 1rem; border: 1px solid #7f947a; border-radius: .6rem; background: #1f3626; color: #e1ebda; font-size: .8rem; line-height: 1.6; }
.code-trial__review h3, .code-trial__review h4 { color: #fff; font-size: .95rem; }
.code-trial__review p { white-space: pre-line; }
.code-trial__lesson { margin-top: 1.25rem; border: 1px solid #76877e; border-radius: .7rem; background: rgb(18 24 20 / 94%); overflow: hidden; }
.code-trial__lesson summary { display: flex; gap: 1rem; align-items: center; justify-content: space-between; min-height: 76px; padding: 1rem; color: #fff; cursor: pointer; list-style: none; }
.code-trial__lesson summary::-webkit-details-marker { display: none; }
.code-trial__lesson summary small { display: block; font-size: .68rem; color: #c5cec6; margin-bottom: .35rem; }
.code-trial__lesson summary strong { font-size: .95rem; font-weight: 500; line-height: 1.4; }
.code-trial__lesson summary > span:last-child { font-size: 1.5rem; }
.code-trial__lesson[open] summary { border-bottom: 1px solid #58645d; }
.code-trial__lesson > div { padding: 1rem; font-size: .85rem; line-height: 1.7; color: #e1e5df; }
.code-trial__lesson h3, .code-trial__lesson h4 { color: #fff; font-weight: 550; font-size: 1rem; line-height: 1.4; }
.code-trial__lesson p { margin-block: .65rem; white-space: pre-line; }
.code-trial__load-error { padding: .8rem; color: #ffe4d6; border-left: 2px solid #eab6a7; background: #49392f; font-size: .85rem; line-height: 1.5; }
.code-home__completion:has(.code-home__offer:not([hidden])) .code-home__journey { grid-column: 1 / -1; order: 3; }
.code-trial { width: 100%; max-width: 73rem; margin-inline: auto; padding-block: 2rem; }
.code-trial__header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding-bottom: 1.5rem; }
.code-trial__header p { font-size: 1.2rem; font-weight: 550; margin: .4rem 0; }
.code-trial__header progress { flex-basis: 100%; width: 100%; height: 4px; border: 0; border-radius: 1rem; appearance: none; color: #d9ebc8; background: #526056; margin-top: .5rem; }
.code-trial__header progress::-webkit-progress-bar { background: #526056; border-radius: 1rem; }
.code-trial__header progress::-webkit-progress-value { background: #d9ebc8; border-radius: 1rem; }
.code-trial__header progress::-moz-progress-bar { background: #d9ebc8; }
.code-trial__layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.code-trial__media { display: grid; place-items: center; overflow: hidden; border-radius: .8rem; background: #08140e; }
.code-trial__media :is(img, video) { width: 100%; height: auto; display: block; object-fit: contain; max-height: 70svh; }
.code-trial__media picture { width: 100%; display: block; }
.code-trial__question { border: 1px solid #637469; border-radius: .8rem; padding: 1.5rem; background: rgb(12 26 19 / 96%); }
.code-trial__question h2 { color: #fff; font-size: clamp(1.3rem, 2vw, 1.65rem); font-weight: 550; line-height: 1.35; margin: .7rem 0; white-space: pre-line; }
.code-trial__listen, .code-trial__secondary { display: inline-flex; align-items: center; min-height: 44px; margin: .3rem 0 .7rem; padding: .5rem .8rem; color: #e8f1e5; background: #253a2c; border: 1px solid #738a77; border-radius: .45rem; font: inherit; font-size: .75rem; cursor: pointer; }
.code-trial__choices { border: 0; padding: 0; margin: .8rem 0 1.25rem; display: grid; gap: .65rem; }
.code-trial__choices legend { padding: 0 0 .75rem; color: #cedbce; font-size: .75rem; line-height: 1.5; }
.code-trial__choices label { display: flex; align-items: start; gap: .7rem; min-height: 50px; padding: .85rem; box-sizing: border-box; border: 1px solid #6b7e70; border-radius: .5rem; font-size: .85rem; line-height: 1.5; cursor: pointer; background: #172e21; }
.code-trial__choices label:has(input:checked) { border-color: #dfedc5; background: #304a30; }
.code-trial__choices label[data-correct="true"] { border-color: #c6e3a3; }
.code-trial__choices label[data-correct="false"][data-selected="true"] { border-color: #eab6a7; background: #4a312a; }
.code-trial__choices input { flex-shrink: 0; margin-top: .2rem; accent-color: #0a84ff; width: 1.1rem; height: 1.1rem; }
.code-trial__choices input:disabled { opacity: .85; }
.code-trial__feedback { border-left: 3px solid #d5e3bd; background: #243c2c; padding: 1rem; margin-block: 1rem; color: #f0f5ed; font-size: .85rem; line-height: 1.65; }
.code-trial__feedback[data-correct="false"] { border-color: #eab6a7; }
.code-trial__feedback h2 { font-size: 1.1rem; margin-top: 0; }
.code-trial__feedback p { margin: .4rem 0; white-space: pre-line; }
.code-trial__feedback strong { display: block; }
.code-trial__status, .code-trial__media-status { font-size: .8rem; line-height: 1.5; color: #ffded5; }
.code-trial__status:empty { display: none; }
.code-promotion { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; width: min(100%, 68rem); margin: auto; padding-block: 3rem; }
.code-promotion__visual { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: 1rem; }
.code-promotion__phone { position: relative; width: min(100%, 230px); border: 6px solid #171b19; border-radius: 2rem; overflow: hidden; box-shadow: 0 2rem 4rem rgb(0 0 0 / 45%), 0 0 0 1px #9da69f; background: #111; }
.code-promotion__phone img { display: block; width: 100%; height: auto; }
.code-promotion__phone > span { position: absolute; inset: auto 0 0; padding: 2rem 1rem 1rem; background: linear-gradient(transparent, #101612); color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .05em; }
.code-promotion__phone small { display: block; font-size: .65rem; font-weight: 400; margin-top: .3rem; letter-spacing: .1em; }
.code-promotion__signature { color: #eef0eb; font-size: .75rem; letter-spacing: .025em; text-align: center; line-height: 1.5; }
.code-promotion__copy h2 { color: #fff; font-size: clamp(2.3rem, 4vw, 4rem); font-weight: 550; letter-spacing: -.05em; line-height: 1.06; margin-block: 1rem; text-wrap: balance; }
.code-promotion__copy > p { color: #e4ebe5; line-height: 1.65; font-size: .95rem; }
.code-promotion__copy .code-promotion__feature { display: inline-block; border-bottom: 1px solid #c0d2b4; padding-bottom: .6rem; margin-bottom: .6rem; color: #fff; font-size: .85rem; font-weight: 550; }
.code-promotion__copy .code-promotion__experts { color: #d1ddd1; font-size: .78rem; margin-block: 1rem 1.5rem; }
.code-promotion__offer-link { color: #fff; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: .8rem; margin-top: .5rem; text-underline-offset: .3rem; }
@media (max-width: 1050px) {
    .code-home .network-app__main { width: calc(100% - 3rem); }
    .code-home__entry { gap: 2rem; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
    .code-home__introduction h1 { font-size: clamp(2.7rem, 5vw, 4rem); }
    .code-trial__layout { gap: 1rem; }
}
@media (max-width: 760px) {
    .network-app.code-home::before { background: linear-gradient(0deg, rgb(7 17 11 / 97%), rgb(7 17 11 / 85%) 45%, rgb(7 17 11 / 23%) 100%); }
    .code-home .network-app__photo img { object-position: 50% top; }
    .code-home .network-app__main { width: calc(100% - 2.5rem); }
    .code-home__entry, .code-home__completion { grid-template-columns: 1fr; gap: 1.8rem; padding-block: 2rem; }
    .code-home__introduction h1 { font-size: clamp(2.7rem, 11vw, 4rem); margin-top: .5rem; }
    .code-home__eyebrow { margin-top: 0; }
    .code-home__lead { font-size: 1.05rem; max-width: 33ch; }
    .code-home__promise { font-size: .85rem; margin-top: 1rem; }
    .code-home__features { margin-top: 1rem; padding-top: 1rem; gap: .5rem 1rem; font-size: .68rem; }
    .code-home__goal, .code-home__offer { padding: 1.4rem; border-radius: .8rem; }
    .code-trial__series { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; }
    .code-trial__series button { min-height: 80px; padding: .65rem; font-size: .75rem; }
    .code-home .network-app__account { font-size: .75rem; }
    .code-trial { padding-top: 1.3rem; }
    .code-trial__layout { grid-template-columns: 1fr; }
    .code-trial__media :is(img, video) { max-height: 70svh; }
    .code-trial__question { padding: 1.2rem; }
    .code-trial__question h2 { font-size: 1.3rem; }
    .code-promotion { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2rem; }
    .code-promotion__visual { padding: 0; }
    .code-promotion__phone { width: 145px; border-width: 4px; border-radius: 1.2rem; }
    .code-promotion__copy h2 { font-size: clamp(2rem, 9vw, 3rem); }
    .code-promotion__copy > p { font-size: .85rem; }
}
@media (prefers-reduced-motion: no-preference) {
    .code-trial__choices label { transition: background-color .15s ease, border-color .15s ease; }
}

/* Keep the chosen coastal photograph, with readable controls in both orientations. */
.code-home .network-app__photo img { object-position: center; }
.code-home__goal, .code-home__offer, .code-trial__question { background: rgb(14 19 25 / 96%); }
.code-home :is(button, a, input):focus-visible { outline: 2px solid #70b5ff; outline-offset: 4px; }
.code-trial__choices label:has(input:checked) { border-color: #70b5ff; background: #18324e; }
.code-trial__series button[aria-current="step"] { border-color: #70b5ff; background: #18324e; }
.code-home :is(h1,h2,h3,p)[tabindex="-1"]:focus { outline: none; }
@media (orientation: portrait) { .code-home .network-app__photo img { object-position: center top; } }
@media (prefers-reduced-motion: reduce) { .code-home * { scroll-behavior: auto !important; } }
