:root {
    color-scheme: light;
    --white: #fff;
    --black: #000;
    --text: var(--black);
    --line: #e4e8ec;
    --link: #102870;
    --active: #ff3d17;
    --active-hover: #e93614;
    --active-soft: #ffe2dd;
    --light: #d8e4e8;
    --section-bg: #b4cdd5;
    --card-today: #e8f3ed;
    --card-schedule: #e0edf0;
    --card-refills: #fff0ed;
    --card-interactions: #edf0f7;
    --routine-schedule: #e2e3f9;
    --routine-refill: #feeae5;
    --routine-interactions: #d0f3f1;
    --routine-dose-blue: #d8eef7;
    --routine-dose-purple: #eee5f5;
    --routine-teal: #248c8c;
    --success: #13b879;
    --progress: #2fbe43;
    --progress-track: #d9f0dd;
    --progress-text: #23aa38;
    --form-text: #343a40;
    --form-border: #d3d8de;
    --form-bg: #f7f7f7;
    --safety-note-bg: #fff8ef;
    --safety-note-border: #f4b86e;
    --safety-note-highlight: #f5c88f;
    --safety-fine-print: #c69a6a;
    --link-rgb: 16, 40, 112;
    --light-rgb: 216, 228, 232;
}
html,
body {
    min-height: 100%;
}

body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    margin: 0;
    background: var(--light);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
}

.hero-section {
    position: relative;
    z-index: 1;
    background: var(--light);
}

.hero-container {
    position: relative;
    display: flex;
    min-height: 372px;
    align-items: center;
    padding-top: 36px;
    padding-bottom: 48px;
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: 44%;
    max-width: 460px;
    padding-left: 10px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 20px;
    border-radius: 999px;
    padding: 9px 17px;
    background: var(--white);
    color: var(--link);
    font-size: 16px;
    line-height: 1.2;
}

.hero-eyebrow svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    color: var(--success);
}

.hero-copy h1 {
    margin: 0;
    color: var(--link);
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.0625;
    letter-spacing: -.025em;
}

.hero-description {
    max-width: 440px;
    margin: 13px 0 25px;
    color: var(--black);
    font-size: 26px;
    font-weight: 500;
    line-height: 1.18;
}

.hero-cta {
    padding: 12px 30px;
    font-size: 16px;
}

.hero-visual {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: -25px;
    width: 72%;
    max-width: 690px;
    pointer-events: none;
}

.hero-visual img,
.setup-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.safety-section {
    background: var(--light);
}

.safety-container {
    display: grid;
    min-height: 500px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 8%;
    padding-top: 68px;
    padding-bottom: 68px;
}

.safety-visual {
    position: relative;
    min-height: 360px;
}

.safety-form {
    width: 74%;
    max-width: 360px;
    border-radius: 8px;
    padding: 20px;
    background: var(--white);
    color: var(--link);
    font-size: 13px;
}

.safety-form > strong,
.safety-result > strong {
    font-size: 14px;
    font-weight: 700;
}

.safety-form > p {
    margin: 6px 0 12px;
    line-height: 1.25;
}

.safety-form label {
    display: grid;
    gap: 5px;
    margin-top: 12px;
    font-size: 12px;
}

.safety-form input {
    width: 100%;
    min-height: 34px;
    border: 1px solid var(--form-border);
    border-radius: 4px;
    padding: 5px 8px;
    background: var(--form-bg);
    color: var(--link);
    font: inherit;
}

.safety-form-button {
    display: block;
    margin-top: 18px;
    border-radius: 5px;
    padding: 10px 12px;
    background: var(--active);
    color: var(--white);
    text-align: center;
}

.safety-result {
    position: absolute;
    top: 198px;
    left: 28%;
    width: 72%;
    max-width: 360px;
    border: 1px solid var(--safety-note-border);
    border-radius: 8px;
    padding: 17px;
    background: var(--safety-note-bg);
    color: var(--link);
    font-size: 12px;
}

.safety-result > p {
    margin: 6px 0 10px;
    line-height: 1.3;
}

.safety-result > div {
    border-radius: 6px;
    padding: 11px;
    background: var(--safety-note-highlight);
}

.safety-result > div p {
    margin: 5px 0 0;
    line-height: 1.3;
}

.safety-result small {
    display: block;
    margin-top: 8px;
    color: var(--safety-fine-print);
    font-size: 9px;
}

.safety-copy {
    max-width: 440px;
}

.safety-eyebrow {
    margin: 0 0 10px;
    color: var(--active);
    font-size: 16px;
    font-weight: 500;
}

.safety-copy h2 {
    margin: 0;
    color: var(--link);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.12;
}

.safety-description {
    margin: 20px 0 16px;
    color: var(--black);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
}

.safety-benefits {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    color: var(--link);
    font-size: 18px;
    font-weight: 500;
    list-style: none;
}

.safety-benefits li::before {
    margin-right: 12px;
    color: var(--success);
    content: "✓";
}

.features-section {
    position: relative;
    z-index: 0;
    padding: 64px 0 84px;
    background: var(--section-bg);
}

.pin-section {
    position: relative;
    overflow: hidden;
    background: var(--light);
}

.pin-container {
    position: relative;
    display: grid;
    min-height: 390px;
    grid-template-columns: 43% 57%;
    align-items: start;
    padding-top: 48px;
    padding-bottom: 48px;
}

.pin-copy {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
}

.pin-eyebrow {
    margin: 0 0 10px;
    color: var(--active);
    font-size: 16px;
    font-weight: 500;
}

.pin-copy h1 {
    margin: 0;
    color: var(--link);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.12;
}

.pin-copy > p:last-child {
    max-width: 400px;
    margin: 18px 0 0;
    color: var(--black);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}

.pin-visual {
    position: relative;
    width: 100%;
    max-width: 720px;
    pointer-events: none;
}

.pin-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.setup-section {
    position: relative;
    overflow: hidden;
    background: var(--link);
}

.setup-container {
    position: relative;
    display: flex;
    min-height: 520px;
    align-items: center;
    padding-top: 56px;
    padding-bottom: 56px;
}

.setup-copy {
    position: relative;
    z-index: 1;
    width: 43%;
    max-width: 440px;
    color: var(--light);
}

.setup-eyebrow {
    margin: 0 0 10px;
    color: var(--active);
    font-size: 16px;
    font-weight: 500;
}

.setup-copy h2 {
    margin: 0;
    color: var(--light);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.12;
}

.setup-steps {
    display: grid;
    gap: 24px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.setup-steps li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.setup-step-number {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: var(--active);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
}

.setup-steps h3 {
    margin: 0 0 6px;
    color: var(--light);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.setup-steps p {
    max-width: 300px;
    margin: 0;
    color: var(--light);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
}

.setup-visual {
    position: absolute;
    top: 28px;
    right: 0;
    width: 62%;
    max-width: 680px;
    pointer-events: none;
}

.routine-section {
    padding: 68px 0 82px;
    background: var(--white);
}

.routine-intro {
    max-width: 780px;
    margin: 0 auto 42px;
    text-align: center;
}

.routine-eyebrow {
    margin: 0 0 10px;
    color: var(--active);
    font-size: 16px;
    font-weight: 500;
}

.routine-intro h2 {
    max-width: 680px;
    margin: 0 auto;
    color: var(--link);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.12;
}

.routine-intro > p:last-child {
    max-width: 760px;
    margin: 14px auto 0;
    color: var(--black);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
}

.routine-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
}

.routine-card {
    min-width: 0;
    border-radius: 16px;
    padding: 20px;
    color: var(--link);
}

.routine-card--schedule {
    min-height: 280px;
    background: var(--routine-schedule);
}

.routine-card--refill {
    min-height: 240px;
    background: var(--routine-refill);
}

.routine-card--interactions {
    min-height: 280px;
    background: var(--routine-interactions);
}

.routine-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.routine-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
}

.routine-icon svg {
    width: 22px;
    height: 22px;
}

.routine-icon--schedule {
    color: var(--link);
}

.routine-icon--refill {
    color: var(--active);
}

.routine-icon--interactions {
    color: var(--routine-teal);
}

.routine-number {
    color: var(--link);
    font-size: 16px;
    font-weight: 700;
}

.routine-card h3 {
    margin: 18px 0 8px;
    color: var(--link);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.5px;
    line-height: 1.34;
}

.routine-card > p {
    margin: 0;
    color: var(--link);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -.076px;
    line-height: 1.3;
}

.routine-dose-list {
    display: grid;
    gap: 5px;
    margin-top: 16px;
}

.routine-dose {
    display: grid;
    min-height: 48px;
    grid-template-columns: 30px minmax(0, 1fr) auto 16px;
    align-items: center;
    gap: 7px;
    border-radius: 7px;
    padding: 6px 8px;
    background: var(--white);
    color: var(--link);
    font-size: 10px;
}

.routine-dose-initial {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
}

.routine-dose-initial--blue {
    background: var(--routine-dose-blue);
}

.routine-dose-initial--purple {
    background: var(--routine-dose-purple);
}

.routine-dose-copy,
.routine-dose-time {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.routine-dose-copy strong,
.routine-dose-time strong {
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.routine-dose-copy small,
.routine-dose-time small {
    overflow: hidden;
    color: var(--link);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.routine-dose-check {
    width: 16px;
    height: 16px;
    border: 1px solid var(--link);
    border-radius: 50%;
}

.routine-refill-preview {
    display: flex;
    min-height: 52px;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    border-radius: 7px;
    padding: 7px 9px;
    background: var(--white);
    color: var(--link);
}

.routine-refill-bell {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--active);
    color: var(--white);
}

.routine-refill-bell svg {
    width: 21px;
    height: 21px;
}

.routine-refill-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
    font-size: 11px;
}

.routine-refill-copy small {
    font-size: 10px;
}

.routine-refill-status {
    margin-left: auto;
    border-radius: 4px;
    padding: 5px 7px;
    background: var(--active-soft);
    color: var(--active);
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.routine-check-preview {
    display: grid;
    gap: 6px;
    margin-top: 16px;
    border-radius: 7px;
    padding: 10px;
    background: var(--white);
    color: var(--form-text);
    font-size: 9px;
}

.routine-check-preview label {
    display: grid;
    gap: 3px;
}

.routine-check-preview input {
    width: 100%;
    min-height: 24px;
    border: 1px solid var(--form-border);
    border-radius: 3px;
    padding: 3px 6px;
    background: var(--form-bg);
    color: var(--form-text);
    font: inherit;
}

.routine-check-preview > span {
    display: block;
    border-radius: 4px;
    padding: 7px;
    background: var(--active);
    color: var(--white);
    text-align: center;
}

.features-intro {
    max-width: 780px;
    margin: 0 auto 42px;
    text-align: center;
}

.features-eyebrow {
    margin: 0 0 10px;
    color: var(--black);
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
}

.features-intro h2 {
    margin: 0;
    color: var(--link);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.12;
}

.features-description {
    margin: 18px 0 0;
    color: var(--black);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
}

.features-description strong {
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.feature-card {
    display: flex;
    min-width: 0;
    min-height: 360px;
    flex-direction: column;
    border-radius: 16px;
    padding: 28px;
}

.feature-card--today {
    background: var(--card-today);
}

.feature-card--schedule {
    background: var(--card-schedule);
}

.feature-card--refills {
    background: var(--card-refills);
}

.feature-card--interactions {
    background: var(--card-interactions);
}

.feature-label {
    margin: 0 0 12px;
    color: var(--active);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
}

.feature-card h3 {
    margin: 0 0 20px;
    color: var(--link);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.08;
}

.feature-description {
    margin: 0;
    color: var(--link);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.35;
}

.today-preview,
.schedule-preview,
.refill-preview,
.interaction-preview {
    margin-top: auto;
    padding-top: 34px;
}

.today-preview__topline {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
    color: var(--link);
    font-size: 16px;
}

.today-preview__topline strong {
    font-size: 18px;
    font-weight: 700;
}

.progress-preview {
    display: flex;
    min-height: 82px;
    align-items: center;
    gap: 16px;
    border-radius: 10px;
    padding: 12px 16px;
    background: var(--white);
    color: var(--link);
}

.progress-ring {
    position: relative;
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--progress) 0 67%, var(--progress-track) 67% 100%);
}

.progress-ring::before {
    position: absolute;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    content: "";
}

.progress-ring span {
    z-index: 1;
    color: var(--progress-text);
    font-size: 14px;
    font-weight: 700;
}

.progress-preview__copy,
.refill-preview__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
    font-size: 14px;
}

.progress-preview__copy strong,
.refill-preview__copy strong {
    font-weight: 700;
}

.progress-preview__copy span,
.refill-preview__copy span {
    font-size: 13px;
}

.schedule-preview__date {
    margin: 0 0 10px;
    color: var(--link);
    font-size: 18px;
    font-weight: 700;
}

.schedule-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.schedule-day {
    display: flex;
    min-height: 62px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 8px;
    background: var(--white);
    color: var(--link);
}

.schedule-day span {
    font-size: 12px;
}

.schedule-day strong {
    font-size: 18px;
    font-weight: 500;
}

.schedule-day.is-weekend {
    color: var(--active);
}

.schedule-day.is-selected {
    background: var(--active);
    color: var(--white);
}

.refill-preview {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    border-radius: 10px;
    padding: 10px 14px;
    background: var(--white);
    color: var(--link);
}

.refill-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--active);
    color: var(--white);
}

.refill-icon svg {
    width: 25px;
    height: 25px;
}

.refill-status {
    margin-left: auto;
    border-radius: 5px;
    padding: 7px 9px;
    background: var(--active-soft);
    color: var(--active);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.interaction-preview {
    display: grid;
    gap: 8px;
    margin-top: 24px;
    border-radius: 10px;
    padding: 14px;
    background: var(--white);
    color: var(--form-text);
    font-size: 12px;
}

.interaction-preview label {
    display: grid;
    gap: 4px;
}

.interaction-preview input {
    width: 100%;
    min-height: 29px;
    border: 1px solid var(--form-border);
    border-radius: 4px;
    padding: 4px 8px;
    background: var(--form-bg);
    color: var(--form-text);
    font: inherit;
}

.interaction-button {
    display: block;
    border-radius: 4px;
    padding: 8px 12px;
    background: var(--active);
    color: var(--white);
    text-align: center;
}

.page-header {
    flex: 0 0 auto;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.page-header .navbar {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

.page-brand {
    display: inline-flex;
    align-items: center;
    margin-right: 1.5rem;
}

.page-header-logo {
    display: block;
    width: 185px;
    max-height: 48px;
    object-fit: contain;
}

.brand-fallback {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--link);
    font-size: 21px;
    line-height: .92;
}

.brand-mark {
    display: inline-grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border: 2px solid var(--link);
    border-radius: 50%;
    color: var(--active);
    font-size: 20px;
}

.brand-name small {
    display: block;
    margin-top: 3px;
    font-size: 8px;
    letter-spacing: .05em;
    text-align: right;
}

.page-header .navbar-nav {
    gap: .75rem;
}

.page-header .navbar .navbar-nav .nav-link {
    color: var(--link);
    font-size: 15px;
    white-space: nowrap;
}

.page-header .navbar .navbar-nav .nav-link:hover,
.page-header .navbar .navbar-nav .nav-link.is-active {
    color: var(--active);
}

.page-header .navbar-toggler {
    border-color: rgba(var(--link-rgb), .35);
}

.page-header .navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(var(--link-rgb), .2);
}

.header-cta {
    display: inline-block;
    border-radius: 999px;
    padding: 11px 22px;
    background: var(--active);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus {
    background: var(--active-hover);
    color: var(--white);
}

.page-footer {
    flex: 0 0 auto;
    margin-top: auto;
    background: var(--link);
    color: var(--light);
}

.footer-inner {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-brand {
    flex: 0 0 auto;
}

.footer-logo {
    display: block;
    width: 185px;
    max-height: 48px;
    object-fit: contain;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px 22px;
}

.footer-nav a {
    color: var(--light);
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.footer-nav a:hover,
.footer-nav a.is-active {
    color: var(--active);
}

.error-main {
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    padding: clamp(32px, 6vw, 72px) 20px;
    background: var(--light);
}

.error-layout {
    display: grid;
    width: min(100%, 1080px);
    min-height: 410px;
    grid-template-columns: 38% minmax(0, 1fr);
    overflow: hidden;
    margin: 0 auto;
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 22px 60px rgba(var(--link-rgb), .12);
}

.error-status-panel {
    position: relative;
    display: flex;
    min-height: 410px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 32px;
    background: var(--link);
    color: var(--light);
    text-align: center;
}

.error-status-label,
.error-status-caption,
.error-code {
    position: relative;
    z-index: 1;
}

.error-status-label {
    color: var(--active);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
}

.error-code {
    margin: 20px 0 10px;
    color: var(--white);
    font-size: clamp(72px, 10vw, 112px);
    font-weight: 700;
    letter-spacing: -.08em;
    line-height: 1;
}

.error-status-caption {
    font-size: 15px;
    font-weight: 500;
}

.error-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(var(--light-rgb), .22);
    border-radius: 50%;
    transform: translate(-50%, -42%);
}

.error-orbit--outer {
    width: 250px;
    height: 250px;
}

.error-orbit--inner {
    width: 185px;
    height: 185px;
}

.error-eyebrow {
    margin: 0 0 14px;
    color: var(--active);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.error-content h1 {
    margin: 0 0 16px;
    color: var(--link);
    font-size: clamp(38px, 6vw, 56px);
    font-weight: 700;
    line-height: 1.08;
}

.error-content {
    align-self: center;
    padding: clamp(32px, 6vw, 68px);
}

.error-message {
    margin: 0 0 26px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.5;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
}

.error-home-link {
    text-decoration: none;
}

.error-contact-link {
    color: var(--link);
    font-weight: 700;
    text-decoration-color: var(--active);
    text-underline-offset: 4px;
}

.error-details {
    margin-top: 32px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
}

.error-details summary {
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 600;
}

.error-details pre {
    max-height: 360px;
    overflow: auto;
    margin: 0;
    border-top: 1px solid var(--line);
    padding: 16px;
    font: 12px/1.5 Consolas, monospace;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.static-main,
.contact-main,
.uninstall-main,
.survey-main,
.feedback-main {
    flex: 1 0 auto;
    width: 100%;
    padding: clamp(40px, 7vw, 76px) 20px;
    background: var(--light);
}

.content-card,
.static-page {
    width: min(100%, 900px);
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: clamp(26px, 5vw, 52px);
    background: var(--white);
    box-shadow: 0 18px 54px rgba(var(--link-rgb), .07);
}

.survey-page,
.feedback-page {
    max-width: 760px;
}

.content-eyebrow {
    margin: 0 0 12px;
    color: var(--active);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.content-card h1,
.static-page h1 {
    margin: 0 0 16px;
    color: var(--link);
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.1;
}

.content-intro,
.survey-success > p:not(.content-eyebrow),
.feedback-success > p:not(.content-eyebrow) {
    margin: 0 0 28px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.55;
}

.static-content {
    color: var(--text);
    font-size: 17px;
    line-height: 1.7;
}

.static-content h2,
.static-content h3 {
    margin: 32px 0 12px;
    color: var(--link);
    line-height: 1.2;
}

.static-content p,
.static-content ul,
.static-content ol {
    margin-top: 0;
    margin-bottom: 18px;
}

.static-content a,
.uninstall-browser-content a,
.uninstall-help a,
.contact-email a {
    color: var(--link);
    font-weight: 600;
    text-decoration-color: var(--active);
    text-underline-offset: 3px;
}

.uninstall-browser-list {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.uninstall-browser {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

.uninstall-browser summary {
    position: relative;
    padding: 18px 48px 18px 20px;
    color: var(--link);
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    list-style: none;
}

.uninstall-browser summary::-webkit-details-marker {
    display: none;
}

.uninstall-browser summary::after {
    position: absolute;
    top: 50%;
    right: 22px;
    color: var(--active);
    content: "+";
    font-size: 24px;
    line-height: 1;
    transform: translateY(-50%);
}

.uninstall-browser[open] summary::after {
    content: "−";
}

.uninstall-browser summary:focus-visible {
    outline: 3px solid var(--active);
    outline-offset: -3px;
}

.uninstall-browser-content {
    padding: 0 20px 20px;
    color: var(--text);
    line-height: 1.6;
}

.uninstall-browser-content ol {
    margin: 0 0 12px;
    padding-left: 22px;
}

.uninstall-browser-content li {
    padding-left: 4px;
}

.uninstall-browser-content p,
.uninstall-help {
    margin: 0;
}

.uninstall-help {
    margin-top: 26px;
    color: var(--text);
}

.contact-layout {
    display: grid;
    width: min(100%, 1080px);
    min-height: 420px;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    overflow: hidden;
    margin: 0 auto;
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 22px 60px rgba(var(--link-rgb), .1);
}

.contact-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(32px, 6vw, 68px);
    background: var(--link);
    color: var(--light);
}

.contact-eyebrow {
    margin: 0 0 14px;
    color: var(--active);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
}

.contact-copy h1 {
    max-width: 520px;
    margin: 0 0 18px;
    color: var(--light);
    font-size: clamp(38px, 5vw, 54px);
    font-weight: 700;
    line-height: 1.08;
}

.contact-copy > p:last-child {
    max-width: 480px;
    margin: 0;
    color: var(--light);
    font-size: 18px;
    line-height: 1.55;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(30px, 5vw, 58px);
}

.contact-icon {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    margin-bottom: 26px;
    border-radius: 18px;
    background: var(--routine-interactions);
    color: var(--routine-teal);
}

.contact-icon svg {
    width: 27px;
    height: 27px;
}

.contact-card-label {
    margin: 0 0 8px;
    color: var(--active);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
}

.contact-email {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.contact-email-link {
    color: var(--link);
    text-decoration-color: var(--active);
    text-underline-offset: 4px;
}

.contact-note {
    max-width: 300px;
    margin: 14px 0 0;
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
}

.contact-thanks {
    margin: 0;
    color: var(--text);
}

.survey-heading h1,
.feedback-heading h1,
.survey-success h1,
.feedback-success h1 {
    margin-bottom: 14px;
}

.survey-heading .content-intro,
.feedback-heading .content-intro {
    margin-bottom: 24px;
}

.form-alert {
    margin-bottom: 22px;
    border: 1px solid var(--active-soft);
    border-radius: 8px;
    padding: 13px 16px;
    background: var(--card-refills);
    color: var(--link);
}

.survey-form,
.feedback-form {
    display: grid;
    gap: 20px;
}

.survey-question {
    min-width: 0;
    margin: 0;
    border: 0;
    padding: 0;
    color: var(--link);
}

.survey-question legend,
.survey-question > label {
    display: block;
    margin-bottom: 10px;
    color: var(--link);
    font-size: 16px;
    font-weight: 700;
}

.survey-options {
    display: grid;
    gap: 10px;
}

.survey-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.survey-option input {
    flex: 0 0 auto;
    margin-top: 4px;
    accent-color: var(--active);
}

.survey-question textarea,
.survey-other-field textarea {
    display: block;
    width: 100%;
    min-height: 112px;
    border: 1px solid var(--form-border);
    border-radius: 8px;
    padding: 12px;
    background: var(--form-bg);
    color: var(--form-text);
    font: inherit;
    resize: vertical;
}

.survey-other-field[hidden] {
    display: none;
}

.survey-other-field textarea {
    margin-top: 10px;
}

.survey-form > .header-cta,
.feedback-form > .header-cta {
    justify-self: start;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}

.rating-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rating-options input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.rating-options label {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--link);
    cursor: pointer;
    font-weight: 700;
}

.rating-options input:checked + label,
.rating-options label:hover {
    border-color: var(--active);
    background: var(--active);
    color: var(--white);
}

.rating-options input:focus-visible + label {
    outline: 3px solid var(--link);
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    .error-layout {
        grid-template-columns: 34% minmax(0, 1fr);
    }

    .error-content {
        padding: 38px;
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
    }

    .hero-container {
        min-height: 350px;
    }

    .hero-copy {
        width: 47%;
        padding-left: 0;
    }

    .hero-copy h1 {
        font-size: clamp(2.8rem, 6vw, 3.5rem);
    }

    .hero-description {
        font-size: 21px;
    }

    .hero-visual {
        right: 0;
        bottom: -18px;
        width: 64%;
    }

    .page-header .navbar-nav {
        align-items: flex-start !important;
        gap: 0;
        padding-top: .5rem;
    }

    .page-header .nav-link {
        padding: .5rem 0;
    }

    .page-header .navbar-nav .ms-lg-5 {
        margin: .5rem 0 .25rem !important;
    }

    .feature-card {
        padding: 24px;
    }

    .feature-card h3 {
        font-size: 40px;
    }

    .routine-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .routine-card--interactions {
        grid-column: 1 / -1;
    }

    .routine-card h3 {
        font-size: 24px;
    }

    .routine-card > p {
        font-size: 18px;
    }

    .setup-copy {
        width: 46%;
    }

    .pin-copy {
        width: 100%;
    }

    .pin-container {
        grid-template-columns: 46% 54%;
    }

    .pin-copy h1 {
        font-size: 40px;
    }

    .setup-copy h2 {
        font-size: 40px;
    }

    .footer-inner {
        flex-wrap: wrap;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 12px 20px;
    }
}

.med-requirements { display: grid; place-items: center; min-height: 58vh; padding: 64px 20px; background: #f4f7f8; }
.med-requirements__card { width: min(100%, 660px); padding: clamp(28px, 6vw, 56px); border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 16px 42px rgba(16, 40, 112, .08); }
.med-requirements__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--active-soft); color: var(--active); font-size: 23px; font-weight: 700; }
.med-requirements__eyebrow { margin: 22px 0 8px; color: #6c7780; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.med-requirements h1 { margin: 0 0 16px; color: #172c36; font-size: clamp(30px, 4vw, 42px); font-weight: 700; letter-spacing: -.035em; }
.med-requirements__card > p:not(.med-requirements__eyebrow) { color: #53636a; line-height: 1.7; }
.med-requirements__card strong { color: #172c36; }
.med-requirements__note { margin-top: 24px; padding: 13px 16px; border-left: 3px solid var(--routine-teal); background: #eff8f7; font-size: 14px; }
.med-requirements__back { display: inline-flex; margin-top: 14px; padding: 12px 18px; border-radius: 8px; background: var(--link); color: #fff; font-weight: 700; text-decoration: none; }
.med-requirements__back:hover { background: #0b1e59; color: #fff; }

@media (max-width: 767.98px) {
    .error-main {
        padding: 28px 14px;
    }

    .error-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .error-status-panel {
        min-height: 190px;
        padding: 22px;
    }

    .error-code {
        margin: 10px 0 4px;
        font-size: 68px;
    }

    .error-status-caption {
        font-size: 13px;
    }

    .error-content {
        padding: 28px 24px;
    }

    .error-content h1 {
        font-size: 38px;
    }

    .error-message {
        font-size: 16px;
    }

    .contact-main {
        padding: 30px 14px;
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .contact-copy,
    .contact-card {
        padding: 32px 26px;
    }

    .contact-copy h1 {
        font-size: 38px;
    }

    .contact-copy > p:last-child {
        font-size: 16px;
    }

    .contact-icon {
        margin-bottom: 18px;
    }

    .features-section {
        padding: 52px 0 64px;
    }

    .routine-section {
        padding: 52px 0 64px;
    }

    .routine-intro {
        margin-bottom: 30px;
    }

    .routine-intro h2 {
        font-size: 38px;
    }

    .routine-intro > p:last-child {
        font-size: 18px;
    }

    .routine-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .routine-card--schedule,
    .routine-card--refill,
    .routine-card--interactions {
        min-height: 0;
        grid-column: auto;
    }

    .routine-card h3 {
        font-size: 24px;
    }

    .features-intro {
        margin-bottom: 30px;
    }

    .features-intro h2 {
        font-size: 38px;
    }

    .features-description {
        font-size: 18px;
    }

    .feature-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .feature-card {
        min-height: 340px;
        padding: 24px;
    }

    .feature-card h3 {
        font-size: 38px;
    }

    .feature-description {
        font-size: 18px;
    }

    .setup-container {
        display: block;
        min-height: 0;
        padding-top: 48px;
        padding-bottom: 0;
    }

    .pin-container {
        display: block;
        min-height: 0;
        padding-top: 42px;
        padding-bottom: 0;
    }

    .pin-copy {
        width: 100%;
        max-width: 480px;
    }

    .pin-copy h1 {
        font-size: 38px;
    }

    .pin-copy > p:last-child {
        margin-top: 14px;
        font-size: 18px;
    }

    .pin-visual {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 540px;
        margin: 8px auto -12px;
        transform: none;
    }

    .setup-copy {
        width: 100%;
        max-width: 480px;
    }

    .setup-copy h2 {
        font-size: 38px;
    }

    .setup-steps {
        gap: 20px;
        margin-top: 26px;
    }

    .setup-steps p {
        font-size: 16px;
    }

    .safety-copy h2 {
        font-size: 40px;
    }

    .safety-description {
        font-size: 18px;
    }

    .safety-benefits {
        font-size: 16px;
    }

    .setup-visual {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 520px;
        margin: -10px auto -80px;
    }

    .safety-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding-top: 48px;
        padding-bottom: 52px;
    }

    .safety-visual {
        width: 100%;
        max-width: 480px;
        min-height: 350px;
        margin: 0 auto;
    }

    .safety-form {
        width: 76%;
        padding: 16px;
    }

    .safety-result {
        top: 185px;
        left: 24%;
        width: 76%;
        padding: 14px;
    }

    .safety-copy {
        max-width: 480px;
        margin: 0 auto;
    }

    .safety-copy h2 {
        font-size: 38px;
    }

    .hero-container {
        display: block;
        min-height: auto;
        padding-top: 30px;
        padding-bottom: 0;
    }

    .hero-copy {
        width: 100%;
        max-width: 480px;
    }

    .hero-eyebrow {
        margin-bottom: 18px;
        padding: 8px 13px;
        font-size: 13px;
    }

    .hero-copy h1 {
        font-size: clamp(2.75rem, 11vw, 3.5rem);
        line-height: 1.04;
    }

    .hero-description {
        max-width: 450px;
        margin-top: 12px;
        font-size: 18px;
        line-height: 1.35;
    }

    .hero-visual {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 520px;
        margin: 8px auto -20px;
    }

    .hero-following-section {
        min-height: 150px;
        padding-top: 55px;
    }

    .page-header-logo,
    .footer-logo {
        width: 160px;
    }

    .footer-inner {
        align-items: flex-start;
    }

    .footer-nav {
        width: 100%;
        gap: 12px 18px;
    }
}
