:root {
    --paper: #fcf8f1;
    --surface: #fffdf9;
    --ink: #171310;
    --muted: #625c57;
    --rule: #d8d0c8;
    --rule-dark: #91877f;
    --accent: #b3472d;
    --accent-dark: #8d321f;
    --wash: #f5ece3;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { color: #fff; background: var(--accent); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
.page-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid var(--ink); background: rgba(252, 248, 241, .97); backdrop-filter: blur(12px); }
.masthead { position: relative; width: min(1180px, calc(100% - 40px)); min-height: 67px; margin-inline: auto; display: flex; align-items: center; justify-content: center; }
.masthead-note { position: absolute; left: 0; color: var(--muted); font: italic 11px Georgia, "Times New Roman", serif; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand img { width: 43px; height: 43px; }
.brand > span { display: flex; flex-direction: column; }
.brand strong { font: 700 23px/1 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.brand small { margin-top: 4px; color: var(--accent); font-size: 7px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.masthead-actions { position: absolute; right: 0; display: flex; align-items: center; gap: 13px; }
.language-switch { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.language-switch a { padding-block: 4px; }
.language-switch a:hover, .language-switch a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.login-link { min-height: 34px; padding: 0 13px; border: 1px solid var(--ink); display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; transition: color 150ms ease, background 150ms ease; }
.login-link:hover { color: #fff; background: var(--ink); }
.login-link:focus-visible, .primary-action:focus-visible, .site-footer a:focus-visible, .screen-controls button:focus-visible, .language-switch a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.hero { border-bottom: 4px double var(--ink); }
.hero-grid { min-height: 614px; padding-block: 27px 31px; display: grid; grid-template-columns: minmax(0, 1fr) 425px; align-items: center; gap: 44px; }
.hero-content { min-width: 0; padding-right: 43px; border-right: 1px solid var(--rule); }
.hero-copy { padding-bottom: 22px; }
.section-label { margin-bottom: 12px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { max-width: 640px; margin-bottom: 16px; font: 700 clamp(26px, 2.5vw, 30px)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.hero-lead { max-width: 625px; margin-bottom: 15px; color: #393431; font: 15px/1.5 Georgia, "Times New Roman", serif; }
.hero-tags { padding-block: 10px; border-block: 1px solid var(--rule); display: flex; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.hero-tags span { padding-inline: 12px; border-right: 1px solid var(--rule); }
.hero-tags span:first-child { padding-left: 0; }
.hero-tags span:last-child { border-right: 0; }
.primary-action { min-height: 39px; margin-top: 19px; padding: 0 15px; border: 1px solid var(--accent); display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; background: var(--accent); font-size: 11px; font-weight: 700; transition: background 150ms ease, border-color 150ms ease; }
.primary-action:hover { border-color: var(--accent-dark); background: var(--accent-dark); }
.availability { margin: 17px 0 0; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; }

.screen-carousel { width: 100%; min-width: 0; text-align: center; }
.screen-overline { margin-bottom: 8px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.screen-device { width: 236px; margin-inline: auto; overflow: hidden; border: 2px solid var(--ink); border-radius: 22px; background: var(--surface); box-shadow: 8px 10px 0 #e9e4de; }
.screen-stage { position: relative; aspect-ratio: 1080 / 2400; }
.screen-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateX(8px); transition: opacity 260ms ease, transform 260ms ease; pointer-events: none; }
.screen-slide.is-active { opacity: 1; transform: translateX(0); }
.screen-controls { width: 236px; margin: 12px auto 0; display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; gap: 10px; }
.screen-controls button { width: 30px; height: 30px; padding: 0; border: 1px solid var(--ink); display: grid; place-items: center; color: var(--ink); background: var(--surface); font: 20px/1 Georgia, serif; cursor: pointer; }
.screen-controls button:hover { color: #fff; background: var(--ink); }
.screen-caption { min-width: 0; display: flex; flex-direction: column; }
.screen-caption strong { overflow: hidden; font: 700 12px Georgia, "Times New Roman", serif; text-overflow: ellipsis; white-space: nowrap; }
.screen-caption span { margin-top: 2px; color: var(--muted); font-size: 8px; }

.briefs-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.briefs article { min-height: 94px; padding: 20px 25px; border-right: 1px solid var(--rule); display: grid; grid-template-columns: 28px 1fr; gap: 9px; }
.briefs article:first-child { padding-left: 0; }
.briefs article:last-child { border-right: 0; }
.number { color: var(--accent); font: 700 11px Georgia, "Times New Roman", serif; }
.briefs h2 { margin-bottom: 5px; font: 700 15px Georgia, "Times New Roman", serif; }
.briefs p { margin-bottom: 0; color: var(--muted); font-size: 10px; line-height: 1.45; }

.hero-briefs { border-block: 1px solid var(--rule); }
.hero-briefs .briefs-grid { grid-template-columns: 1fr; }
.hero-briefs .briefs-grid article,
.hero-briefs .briefs-grid article:first-child { min-height: 0; padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
.hero-briefs .briefs-grid article:last-child { border-bottom: 0; }
.hero-briefs .briefs-grid h2 { margin-bottom: 3px; font-size: 14px; }
.hero-briefs .briefs-grid p { font-size: 10px; line-height: 1.4; }

.hero-introduction { padding-top: 22px; }
.hero-introduction .editorial-split { grid-template-columns: minmax(190px, .8fr) minmax(0, 1.2fr); gap: 28px; }
.hero-introduction .section-heading { padding-right: 24px; }
.hero-introduction h2 { margin-bottom: 0; font: 700 clamp(22px, 2.1vw, 27px)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.hero-introduction .section-copy { column-count: 1; column-rule: 0; }
.hero-introduction .section-copy p { font-size: 12px; line-height: 1.55; }
.hero-introduction .section-copy p + p { margin-top: 10px; }

.section { padding-block: 74px; }
.editorial-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 70px; }
.section-heading { padding-right: 45px; border-right: 1px solid var(--rule); }
.section h2, .doctor-section h2, .download-section h2 { margin-bottom: 0; font: 700 clamp(30px, 3.2vw, 40px)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
.section-copy { column-count: 2; column-gap: 35px; column-rule: 1px solid var(--rule); }
.section-copy p { margin-bottom: 0; color: #37322f; font: 14px/1.67 Georgia, "Times New Roman", serif; }
.section-copy p + p { margin-top: 16px; }

.features-section { border-block: 1px solid var(--ink); }
.section-title { padding-bottom: 18px; border-bottom: 4px double var(--ink); display: grid; grid-template-columns: 190px 1fr; align-items: end; }
.section-title .section-label { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-item { position: relative; min-height: 190px; padding: 28px 27px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.feature-item:nth-child(3n) { border-right: 0; }
.feature-item:nth-last-child(-n + 3) { border-bottom: 0; }
.feature-number { display: block; margin-bottom: 26px; color: var(--accent); font: 700 12px Georgia, "Times New Roman", serif; }
.feature-item h3 { margin-bottom: 9px; font: 700 19px Georgia, "Times New Roman", serif; }
.feature-item p { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.process-section { border-bottom: 1px solid var(--ink); }
.process-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.process-heading { padding-right: 50px; border-right: 1px solid var(--rule); }
.process-heading > p:last-child { margin: 17px 0 0; color: var(--muted); font: 13px/1.62 Georgia, "Times New Roman", serif; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { padding: 20px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 42px 1fr; gap: 15px; }
.process-list li:first-child { padding-top: 0; }
.process-list li:last-child { border-bottom: 0; }
.process-list li > span { color: var(--accent); font: 700 18px Georgia, "Times New Roman", serif; }
.process-list h3 { margin-bottom: 5px; font: 700 17px Georgia, "Times New Roman", serif; }
.process-list p { margin-bottom: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.doctor-section { padding-block: 74px; border-block: 4px double var(--ink); background: var(--wash); }
.doctor-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: start; }
.doctor-copy { padding-right: 52px; border-right: 1px solid var(--rule-dark); }
.doctor-copy > p:not(.section-label) { margin: 17px 0 0; color: #3b3531; font: 14px/1.6 Georgia, "Times New Roman", serif; }
.doctor-copy ul { margin: 20px 0 5px; padding: 0; display: grid; gap: 9px; list-style: none; font-size: 11px; }
.doctor-copy li { display: flex; align-items: center; gap: 8px; }
.doctor-copy li span { color: var(--accent); }
.doctor-tools { border-top: 1px solid var(--ink); }
.doctor-tools-title { padding: 15px 0; border-bottom: 4px double var(--ink); display: flex; flex-direction: column; }
.doctor-tools-title strong { font: 700 17px Georgia, "Times New Roman", serif; }
.doctor-tools-title span { margin-top: 2px; color: var(--muted); font-size: 9px; }
.doctor-tools article { padding: 17px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.doctor-tools article > span { color: var(--accent); font: 700 11px Georgia, "Times New Roman", serif; }
.doctor-tools h3 { margin-bottom: 4px; font: 700 15px Georgia, "Times New Roman", serif; }
.doctor-tools p { margin-bottom: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }

.download-section { padding-block: 56px; }
.download-inner { padding-block: 28px; border-block: 1px solid var(--ink); display: grid; grid-template-columns: 82px 1fr auto; align-items: center; gap: 24px; }
.download-inner h2 { font-size: clamp(25px, 2.8vw, 34px); }
.download-inner p:last-child { margin: 10px 0 0; color: var(--muted); font: 12px Georgia, "Times New Roman", serif; }
.download-inner > span { padding: 9px 11px; border: 1px solid var(--ink); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 10px; font-weight: 700; }
.site-footer { border-top: 1px solid var(--ink); }
.footer-inner { min-height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; }
.footer-brand { display: flex; align-items: center; gap: 7px; font: 700 14px Georgia, "Times New Roman", serif; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 9px; }
.footer-links { justify-self: end; display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 960px) {
    .masthead-note { display: none; }
    .masthead { justify-content: flex-start; }
    .hero-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; }
    .hero-content { padding-right: 28px; }
    .hero-introduction .editorial-split { grid-template-columns: 1fr; gap: 18px; }
    .hero-introduction .section-heading { padding-right: 0; padding-bottom: 16px; border-right: 0; border-bottom: 1px solid var(--rule); }
    .section-copy { column-count: 1; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-item:nth-child(3n) { border-right: 1px solid var(--rule); }
    .feature-item:nth-child(2n) { border-right: 0; }
    .feature-item:nth-last-child(-n + 3) { border-bottom: 1px solid var(--rule); }
    .feature-item:nth-last-child(-n + 2) { border-bottom: 0; }
}

@media (max-width: 720px) {
    .page-shell, .masthead { width: min(calc(100% - 28px), 560px); }
    .masthead { min-height: 61px; }
    .brand img { width: 38px; height: 38px; }
    .brand strong { font-size: 18px; }
    .brand small { display: none; }
    .masthead-actions { gap: 8px; }
    .login-link { width: 36px; min-height: 34px; padding: 0; justify-content: center; font-size: 0; }
    .login-link span { font-size: 15px; }
    .hero-grid { min-height: auto; padding-block: 31px 38px; grid-template-columns: 1fr; gap: 32px; }
    .hero-content { padding-right: 0; padding-bottom: 28px; border-right: 0; border-bottom: 1px solid var(--rule); }
    .hero-copy { padding-bottom: 20px; }
    .hero h1 { font-size: clamp(28px, 8vw, 34px); }
    .hero-lead { font-size: 15px; }
    .primary-action { width: 100%; }
    .screen-device, .screen-controls { width: min(236px, calc(100vw - 62px)); }
    .hero-introduction { padding-top: 20px; }
    .section, .doctor-section { padding-block: 52px; }
    .editorial-split, .process-grid, .doctor-grid { grid-template-columns: 1fr; gap: 34px; }
    .section-heading, .process-heading, .doctor-copy { padding-right: 0; padding-bottom: 28px; border-right: 0; border-bottom: 1px solid var(--rule); }
    .section-copy { column-count: 1; }
    .section-title { grid-template-columns: 1fr; gap: 7px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-item, .feature-item:nth-child(2n), .feature-item:nth-child(3n), .feature-item:nth-last-child(-n + 2), .feature-item:nth-last-child(-n + 3) { min-height: auto; padding-inline: 0; border-right: 0; border-bottom: 1px solid var(--rule); }
    .feature-item:last-child { border-bottom: 0; }
    .download-inner { grid-template-columns: 62px 1fr; }
    .download-inner > img { width: 58px; height: 58px; }
    .download-inner > span { grid-column: 1 / -1; justify-self: start; }
    .footer-inner { min-height: 145px; padding-block: 22px; grid-template-columns: 1fr; justify-items: center; gap: 11px; text-align: center; }
    .footer-links { justify-self: center; justify-content: center; }
}

@media (max-width: 430px) {
    .brand strong { font-size: 16px; }
    .language-switch { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; }
}
