@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap");
:root {
    --ink: #163f43;
    --text: #426064;
    --muted: #687c7e;
    --teal: #087f78;
    --deep: #05665f;
    --line: #dce7e5;
    --mint: #edf7f3;
    --bg: #f7faf9;
    --shadow: 0 3px 0 #075f58, 0 6px 13px #14635c16;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: "Instrument Sans", "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.6;
}
a {
    color: inherit;
    text-decoration: none;
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a.button {
    cursor: pointer;
}
img {
    max-width: 100%;
    display: block;
}
button svg,
a svg {
    pointer-events: none;
}
.icon {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
}
h1,
h2,
h3,
p {
    margin-top: 0;
}
h1,
h2,
h3 {
    line-height: 1.12;
    letter-spacing: -0.045em;
}
h2 {
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 600;
    margin-bottom: 22px;
}
h3 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.025em;
}
p {
    color: var(--text);
}
.container {
    width: min(1220px, calc(100% - 80px));
    margin: auto;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #ffffffed;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #e7eeeb;
}
.header-row {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}
.brand {
    display: block;
    width: 176px;
    flex: none;
}
.brand img {
    width: 100%;
    max-height: 58px;
    object-fit: contain;
}
.site-header nav {
    display: flex;
    gap: 26px;
    font-size: 14px;
    font-weight: 500;
}
.site-header nav a:hover,
.text-link:hover {
    color: var(--teal);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}
.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 8px;
    padding: 11px 18px;
    min-height: 42px;
    font-weight: 600;
    border: 1px solid #b5d0cc;
    box-shadow: 0 2px 0 #bfd5cf;
    background: #fff;
    color: var(--ink);
    line-height: 1.4;
    transition:
        transform 0.15s,
        box-shadow 0.15s,
        background 0.15s;
    white-space: normal;
}
.button:hover,
button:hover {
    background: #eef8f5;
    transform: translateY(-1px);
}
.button:active,
button:active {
    transform: translateY(2px);
    box-shadow: 0 0 0 transparent;
}
.button.primary,
button.primary {
    color: #fff;
    background: var(--teal);
    border-color: #08756e;
    box-shadow: var(--shadow);
}
.button.primary:hover,
button.primary:hover {
    background: var(--deep);
}
.button.large {
    padding: 15px 22px;
    min-height: 53px;
}
.button.small {
    font-size: 13px;
    padding: 10px 14px;
}
.button.white {
    background: #fff;
    border-color: #d1dfdb;
}
.button.danger,
button.danger {
    color: #a23f43;
    background: #fff3f2;
    border-color: #e5bfbd;
    box-shadow: 0 2px 0 #dbb7b4;
}
.button.blue {
    background: #eef4fe;
    border-color: #bfcee8;
    color: #285b96;
    box-shadow: 0 2px 0 #a8bddc;
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.13em;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: 20px;
}
.status-dot {
    width: 7px;
    height: 7px;
    background: #159b78;
    border-radius: 100%;
    box-shadow: 0 0 0 4px #e0f3e9;
}
.hero {
    display: grid;
    grid-template-columns: 1fr 1.07fr;
    gap: 60px;
    align-items: center;
    padding-top: 65px;
    padding-bottom: 83px;
}
.hero h1 {
    font-weight: 600;
    font-size: clamp(46px, 4.8vw, 66px);
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.055em;
}
.hero h1 em {
    font-style: normal;
    color: var(--teal);
}
.hero-lead {
    font-size: 17px;
    max-width: 405px;
    line-height: 1.75;
    margin-bottom: 29px;
}
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hero-facts {
    display: flex;
    gap: 19px;
    flex-wrap: wrap;
    font-size: 11px;
    color: var(--muted);
    margin-top: 27px;
}
.hero-facts span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.hero-facts svg {
    width: 14px;
    height: 14px;
    color: #0a8b72;
}
.hero-visual {
    position: relative;
    padding: 0 0 56px 15px;
}
.hero-photo {
    height: 470px;
    width: 100%;
    object-fit: cover;
    object-position: 67% center;
    border-radius: 15px 15px 80px 15px;
}
.hero-visual:before {
    content: "";
    position: absolute;
    inset: -15px 18px 90px -1px;
    border: 1px solid #d9e8dc;
    z-index: -1;
    border-radius: 19px;
    background: #f3f8ed;
}
.photo-caption {
    position: absolute;
    right: 17px;
    top: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    background: #fffef6ed;
    padding: 12px 15px;
    border: 1px solid #fff6;
    border-radius: 9px;
    box-shadow: 0 8px 24px #18342b14;
}
.photo-caption strong {
    display: block;
    font-size: 12px;
}
.photo-caption small {
    font-size: 10px;
    color: var(--muted);
}
.round-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #e7f4ee;
    color: var(--teal);
    width: 43px;
    height: 43px;
    flex: none;
}
.round-icon.blue {
    background: #e9f1fe;
    color: #4877b1;
}
.round-icon.amber {
    background: #fff3db;
    color: #b28732;
}
.mini-receipt {
    position: absolute;
    bottom: 6px;
    left: -24px;
    width: 295px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 40px #20372e1c;
    border: 1px solid #e0ebe5;
    padding: 19px;
}
.receipt-top {
    font-size: 11px;
    font-weight: 600;
    color: var(--teal);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
}
.receipt-top svg {
    width: 17px;
}
.mini-receipt > div {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    padding: 7px 0;
    color: #586a6b;
}
.mini-receipt > div strong {
    color: var(--ink);
}
.mini-receipt .receipt-total {
    border-top: 1px dashed #d3ded6;
    margin-top: 5px;
    font-weight: 600;
    font-size: 12px;
    padding-top: 13px;
}
.mini-receipt > small {
    font-size: 8px;
    color: #8b9a96;
}
.benefit-strip {
    background: #f3f8f5;
    border-block: 1px solid #e5eee7;
}
.benefit-strip > .container {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 23px;
    padding-bottom: 23px;
}
.benefit-strip span {
    font-size: 12px;
    font-weight: 500;
    display: flex;
    gap: 10px;
    align-items: center;
}
.benefit-strip svg {
    color: var(--teal);
    width: 20px;
}
.section {
    padding-top: 83px;
    padding-bottom: 83px;
}
.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 33px;
    gap: 40px;
}
.section-title h2 {
    margin-bottom: 0;
}
.section-title > p {
    max-width: 360px;
    font-size: 14px;
    margin-bottom: 5px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.feature-card {
    border: 1px solid var(--line);
    padding: 27px 26px 24px;
    border-radius: 12px;
    box-shadow: 0 3px 0 #eaf0ed;
}
.feature-card h3 {
    font-size: 17px;
    margin: 19px 0 12px;
}
.feature-card p {
    font-size: 13px;
    margin: 0;
    line-height: 1.8;
}
.feature-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
.feature-icon.blue {
    background: #eaf2fc;
    color: #426ea8;
}
.feature-icon.teal {
    background: #e8f5ef;
    color: #238873;
}
.feature-icon.amber {
    background: #fff4dc;
    color: #b58b37;
}
.feature-icon.purple {
    background: #f2ecfb;
    color: #8b6cbb;
}
.feature-icon.rose {
    background: #fdeeea;
    color: #bd7968;
}
.story-section {
    padding: 70px 0;
    background: #f6f8f2;
}
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.story-image {
    position: relative;
}
.story-image > img {
    height: 440px;
    width: 100%;
    object-fit: cover;
    object-position: 75% center;
    border-radius: 15px;
}
.image-note {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: #ffffffed;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}
.story-copy > p {
    font-size: 14px;
}
.check-list {
    list-style: none;
    padding: 0;
    margin: 28px 0;
}
.check-list li {
    display: flex;
    gap: 14px;
    margin-bottom: 21px;
}
.check-list svg {
    background: #e0eee4;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    padding: 3px;
    color: #208b72;
    margin-top: 3px;
}
.check-list strong,
.check-list span {
    display: block;
}
.check-list strong {
    font-size: 14px;
    margin-bottom: 5px;
}
.check-list span {
    font-size: 12px;
    color: var(--text);
}
.muted {
    color: var(--muted);
    font-size: 13px;
}
.center-title {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 35px;
}
.center-title p {
    font-size: 14px;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.price-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 29px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 0 #e8efeb;
}
.trial-card {
    background: #f1f8f3;
    border-color: #cadfd0;
}
.plan-label {
    font-size: 11px;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 16px;
}
.price-card h3 {
    margin-bottom: 14px;
    font-size: 23px;
}
.price {
    font-size: 35px;
    line-height: 1.3;
    letter-spacing: -0.04em;
    font-weight: 600;
    margin-bottom: 15px;
}
.price small {
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0;
    margin-left: 5px;
}
.price-card p {
    font-size: 13px;
}
.price-card ul {
    list-style: none;
    padding: 0;
    margin: 6px 0 23px;
    font-size: 12px;
}
.price-card li {
    display: flex;
    gap: 9px;
    align-items: center;
    margin: 9px 0;
}
.price-card li svg {
    width: 15px;
    color: var(--teal);
}
.price-card .button {
    margin-top: auto;
}
.contact-plan .feature-icon {
    margin-bottom: 20px;
}
.partner-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 85px;
    align-items: center;
    padding: 52px;
    border-radius: 18px;
    background: #f2f5fb;
    border: 1px solid #e3e9f3;
}
.partner-section p {
    font-size: 14px;
}
.partner-section > .text-link,
.partner-section > div > .text-link {
    display: block;
    margin-top: 18px;
}
.partner-steps > div {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}
.partner-steps > div:last-child {
    margin: 0;
}
.partner-steps h3 {
    font-size: 17px;
    margin-bottom: 8px;
}
.partner-steps p {
    font-size: 12px;
    margin: 0;
}
.faq {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 65px;
}
.faq details {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.faq summary {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    font-size: 15px;
    list-style: none;
}
.faq summary span {
    font-size: 20px;
    color: var(--teal);
}
.faq details p {
    font-size: 13px;
    margin: 14px 0 0;
}
.final-cta {
    background: var(--teal);
    color: #fff;
    padding: 43px 49px;
    border-radius: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 74px;
    gap: 30px;
}
.final-cta h2 {
    font-size: 33px;
    margin: 0 0 10px;
}
.final-cta p {
    color: #d4e8e5;
    margin: 0;
    font-size: 14px;
}
.site-footer {
    border-top: 1px solid var(--line);
    padding-top: 50px;
    background: #fafcfb;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr;
    gap: 30px;
    padding-bottom: 38px;
}
.footer-top p {
    font-size: 13px;
    margin: 18px 0 0;
}
.footer-top > div > strong {
    display: block;
    font-size: 12px;
    margin-bottom: 16px;
}
.footer-top > div > a:not(.brand) {
    display: block;
    font-size: 12px;
    color: var(--text);
    margin-bottom: 10px;
}
.footer-bottom {
    border-top: 1px solid var(--line);
    padding-block: 18px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 10px;
}
.footer-bottom > div {
    display: flex;
    gap: 17px;
}
.feedback {
    max-width: 1180px;
    margin: 16px auto;
    padding: 13px 18px;
    border-radius: 8px;
    border: 1px solid #b9dacf;
    background: #edf8f1;
    color: #27654e;
    font-size: 14px;
}
.feedback.error {
    background: #fff1ef;
    color: #9b4141;
    border-color: #efd2cc;
}
.feedback ul {
    margin: 0;
    padding-left: 18px;
}
.notice {
    background: #edf6fb;
    padding: 15px;
    border: 1px solid #ccdfeb;
    border-radius: 8px;
    color: #345f79;
    font-size: 13px;
    margin: 15px 0;
}
.notice a {
    text-decoration: underline;
}
.skip-link {
    position: fixed;
    top: -100px;
    left: 10px;
    padding: 12px;
    background: #fff;
    z-index: 100;
}
.skip-link:focus {
    top: 10px;
}
:focus-visible {
    outline: 3px solid #68bfb1;
    outline-offset: 3px;
}
button:disabled {
    opacity: 0.55;
    cursor: wait;
}
input,
select,
textarea {
    width: 100%;
    min-height: 43px;
    border-radius: 7px;
    border: 1px solid #c7d8d1;
    padding: 10px 12px;
    color: var(--ink);
    background: #fff;
    min-width: 0;
}
input[type="checkbox"] {
    width: 17px;
    min-height: 17px;
    accent-color: var(--teal);
}
label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 7px;
}
.field {
    margin-bottom: 17px;
}
.fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.fields.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.check-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 400;
}
.auth-area {
    min-height: 70vh;
    background: #f2f7f3;
    padding: 55px 20px;
}
.auth-card {
    width: min(500px, 100%);
    margin: auto;
    background: #fff;
    padding: 37px;
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 35px #254d3610;
}
.auth-card h1 {
    font-size: 30px;
}
.auth-card p {
    font-size: 13px;
}
.auth-card .button {
    width: 100%;
}
.auth-foot {
    text-align: center;
    font-size: 13px;
    margin-top: 20px;
}
.legal {
    max-width: 800px;
    padding-block: 60px;
    min-height: 60vh;
}
.legal h1 {
    font-size: 42px;
}
.legal h2 {
    font-size: 23px;
    margin-top: 30px;
}
.shell {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    min-height: 100vh;
    background: #f3f7f8;
}
.sidebar {
    background: #fff;
    border-right: 1px solid var(--line);
    padding: 25px 17px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: auto;
    display: flex;
    flex-direction: column;
}
.sidebar .brand {
    width: 165px;
    margin: 0 10px 23px;
}
.role-label {
    font-size: 10px;
    letter-spacing: 0.12em;
    color: #7d9390;
    text-transform: uppercase;
    padding: 0 13px 12px;
}
.side-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.side-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    font-size: 13px;
    border-radius: 8px;
    color: #5d7376;
}
.side-nav a.active {
    background: #e7f4ef;
    color: #087f78;
    font-weight: 600;
    box-shadow: 0 2px 0 #c8e2d7;
}
.side-nav a:hover {
    background: #f2f7f5;
}
.side-nav .icon {
    width: 19px;
}
.side-footer {
    margin-top: auto;
    padding: 25px 10px 0;
}
.side-footer a {
    font-size: 12px;
    display: block;
    margin-bottom: 15px;
}
.portal-main {
    min-width: 0;
}
.portal-header {
    height: 80px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 20;
}
.portal-header .crumb {
    font-size: 13px;
    color: #607578;
}
.profile {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}
.avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: #e7f3ee;
    border-radius: 50%;
    color: var(--teal);
    font-weight: 600;
}
.portal-content {
    padding: 30px 32px;
}
.page-title {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}
.page-title h1 {
    font-size: 29px;
    margin-bottom: 6px;
}
.page-title p {
    font-size: 13px;
    margin: 0;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 25px;
}
.stat {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 0 #e4ece8;
    min-width: 0;
}
.stat small {
    font-size: 11px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}
.stat strong {
    display: block;
    font-size: 29px;
    margin-top: 13px;
    font-weight: 600;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
}
.stat .icon {
    color: var(--teal);
}
.panel {
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 11px;
    margin-bottom: 21px;
    min-width: 0;
}
.panel h2 {
    font-size: 20px;
    margin-bottom: 20px;
}
.panel h3 {
    font-size: 17px;
}
.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
}
.panel-head h2 {
    margin: 0;
}
.two-col {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
    align-items: start;
}
.table-scroll {
    overflow: auto;
    max-height: 540px;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    white-space: nowrap;
    font-size: 12px;
}
th {
    position: sticky;
    top: 0;
    background: #f0f6f4;
    z-index: 1;
    color: #708580;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
}
th,
td {
    padding: 13px 14px;
    border-bottom: 1px solid #e7eeea;
    vertical-align: middle;
}
td small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-top: 3px;
}
.table-scroll a:not(.button) {
    color: var(--teal);
    font-weight: 600;
}
.pill {
    padding: 4px 8px;
    display: inline-block;
    border-radius: 5px;
    background: #eff4f3;
    color: #55716a;
    font-size: 10px;
}
.pill.paid,
.pill.active,
.pill.approved {
    background: #e4f5eb;
    color: #267c50;
}
.pill.pending,
.pill.requested {
    background: #fff3d9;
    color: #a07820;
}
.pill.refunded,
.pill.rejected {
    background: #fbe9e6;
    color: #aa5954;
}
.toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.toolbar input {
    max-width: 280px;
}
.toolbar button {
    min-height: 42px;
}
.empty {
    padding: 36px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    background: #fafcfb;
    border: 1px dashed #dae5dd;
    border-radius: 8px;
}
.actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    font-size: 12px;
}
.key-output {
    width: 100%;
    font: 11px/1.8 monospace;
    overflow-wrap: anywhere;
    background: #f5f9f7;
    min-height: 155px;
}
.key-output[readonly] {
    cursor: text;
}
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 25px;
}
.tabs a {
    padding: 8px 13px;
    font-size: 12px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
}
.tabs a.active {
    background: #e6f4ee;
    border-color: #b0d5c5;
    color: var(--teal);
    font-weight: 600;
}
.details-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 12px;
}
.details-card > summary {
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
}
.details-body {
    padding: 0 18px 18px;
}
.detail-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    font-size: 13px;
}
.detail-list dt {
    color: var(--muted);
    font-size: 11px;
}
.detail-list dd {
    margin: 3px 0 0;
    overflow-wrap: anywhere;
}
.list-stack {
    display: grid;
    gap: 10px;
}
.list-item {
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 12px;
}
.list-item strong {
    display: block;
    margin-bottom: 6px;
}
.list-item p {
    font-size: 12px;
    margin: 0;
}
.portal-banner {
    background: linear-gradient(120deg, #e5f5ef, #f0f6e7);
    border: 1px solid #cddfd2;
    padding: 28px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    gap: 25px;
    justify-content: space-between;
    align-items: center;
}
.portal-banner h2 {
    font-size: 25px;
    margin-bottom: 8px;
}
.portal-banner p {
    margin: 0;
    font-size: 13px;
}
.inline-form {
    display: flex;
    gap: 8px;
    align-items: end;
}
.inline-form .field {
    flex: 1;
}
.secret-note {
    font-size: 11px;
    color: var(--muted);
    margin-top: 6px;
}
.approval-notice {
    background: #fff4df;
    color: #805f20;
    border: 1px solid #ecd7a9;
    padding: 13px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
}
@media (max-width: 1100px) {
    .container {
        width: calc(100% - 48px);
    }
    .site-header nav {
        gap: 16px;
    }
    .hero {
        gap: 35px;
    }
    .hero h1 {
        font-size: 51px;
    }
    .hero-actions .large {
        padding: 12px 15px;
        font-size: 13px;
    }
    .story-grid {
        gap: 40px;
    }
    .shell {
        grid-template-columns: 200px minmax(0, 1fr);
    }
    .portal-content {
        padding: 24px;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 800px) {
    .site-header nav {
        display: none;
    }
    .hero {
        grid-template-columns: 1fr;
        padding-top: 40px;
        gap: 45px;
    }
    .hero h1 {
        font-size: 52px;
    }
    .hero-visual {
        margin-left: 20px;
    }
    .hero-photo {
        height: 400px;
    }
    .benefit-strip > .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }
    .section-title {
        display: block;
    }
    .section-title > p {
        margin-top: 20px;
    }
    .story-grid,
    .partner-section,
    .faq {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .partner-section {
        padding: 30px;
    }
    .final-cta {
        flex-direction: column;
        align-items: start;
        padding: 30px;
    }
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        display: block;
    }
    .footer-bottom > div {
        margin-top: 15px;
    }
    .shell {
        grid-template-columns: 1fr;
    }
    .sidebar {
        height: auto;
        position: static;
        border-right: 0;
        padding: 16px;
    }
    .sidebar .brand {
        margin-bottom: 12px;
        width: 145px;
    }
    .role-label,
    .side-footer {
        display: none;
    }
    .side-nav {
        flex-direction: row;
        overflow: auto;
        padding-bottom: 5px;
    }
    .side-nav a {
        white-space: nowrap;
        flex: none;
        padding: 8px 11px;
    }
    .portal-header {
        position: static;
        height: 65px;
        padding-inline: 20px;
    }
    .portal-content {
        padding: 20px;
    }
    .two-col {
        grid-template-columns: 1fr;
    }
    .fields.three {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 500px) {
    .container {
        width: calc(100% - 36px);
    }
    .header-row {
        height: 76px;
        gap: 10px;
    }
    .brand {
        width: 141px;
    }
    .header-actions {
        gap: 12px;
    }
    .header-actions > .text-link {
        font-size: 12px;
    }
    .header-actions .button {
        font-size: 10px;
        padding: 8px 9px;
    }
    .header-actions .button svg {
        display: none;
    }
    .hero h1 {
        font-size: 43px;
    }
    .hero-lead {
        font-size: 15px;
    }
    .hero-photo {
        height: 340px;
    }
    .photo-caption {
        padding: 9px;
        right: 10px;
        top: 12px;
    }
    .mini-receipt {
        width: 250px;
        left: -10px;
    }
    .hero-facts {
        gap: 12px;
        font-size: 10px;
    }
    .benefit-strip span {
        font-size: 10px;
        gap: 7px;
    }
    .benefit-strip svg {
        width: 17px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .section {
        padding-block: 50px;
    }
    .story-image > img {
        height: 320px;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .stats {
        gap: 10px;
    }
    .stat {
        padding: 14px;
    }
    .stat strong {
        font-size: 23px;
    }
    .portal-content {
        padding: 16px;
    }
    .page-title {
        align-items: start;
        flex-direction: column;
    }
    .fields,
    .fields.three {
        grid-template-columns: 1fr;
    }
    .panel {
        padding: 17px;
    }
    .auth-card {
        padding: 25px;
    }
    .portal-banner {
        display: block;
    }
    .portal-banner .button {
        margin-top: 16px;
    }
    .profile strong {
        display: none;
    }
    .portal-header .crumb {
        font-size: 11px;
    }
    .detail-list {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *:before,
    *:after {
        transition: none !important;
    }
}
.portal-content .feature-card {
    background: #fff;
}
