:root {
    --ink: #17191f;
    --heading: #111827;
    --body: #5e6674;
    --muted: #8b94a3;
    --line: #e7ebf2;
    --line-strong: #d6dde8;
    --surface: #ffffff;
    --surface-soft: #f6f8fb;
    --surface-blue: #f1f6ff;
    --blue: #145cff;
    --blue-dark: #0f46d1;
    --blue-light: #28a8f2;
    --cyan: #18b7e9;
    --green: #20b486;
    --warning: #ffb020;
    --danger: #d84b4b;
    --shadow-sm: 0 8px 24px rgba(24, 39, 75, 0.08);
    --shadow-md: 0 18px 46px rgba(24, 39, 75, 0.12);
    --shadow-lg: 0 28px 70px rgba(24, 39, 75, 0.16);
    --radius: 8px;
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

img,
svg {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--heading);
}

.topbar {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-shell {
    margin: 0 auto;
    max-width: var(--container);
    padding: 0 34px;
}

.topbar-utility,
.topbar-menu {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.topbar-utility {
    min-height: 76px;
}

.topbar-menu {
    border-top: 1px solid var(--line);
    min-height: 64px;
}

.brand {
    align-items: center;
    display: inline-flex;
    font-size: 1.32rem;
    font-weight: 850;
    gap: 13px;
    text-decoration: none;
}

.brand-mark {
    background: linear-gradient(180deg, #1d6cff, #0f50ed);
    border-radius: 5px 8px 8px 5px;
    display: inline-block;
    height: 36px;
    position: relative;
    width: 26px;
}

.brand-mark::after {
    background: #073fd0;
    border-radius: 3px;
    bottom: 2px;
    content: "";
    height: 16px;
    position: absolute;
    right: -7px;
    transform: skewY(-31deg);
    width: 15px;
}

.utility-links,
.header-actions,
.nav,
.hero-actions,
.hero-points,
.plan-footer {
    align-items: center;
    display: flex;
}

.utility-links {
    gap: 24px;
}

.utility-links a,
.cart-link {
    color: var(--body);
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
}

.utility-links a:hover,
.nav a:hover {
    color: var(--blue);
}

.nav {
    gap: 42px;
}

.nav a {
    color: #202734;
    font-size: 0.98rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.nav a::after {
    border-bottom: 1px solid currentColor;
    border-right: 1px solid currentColor;
    content: "";
    display: inline-block;
    height: 5px;
    margin-left: 8px;
    transform: rotate(45deg) translateY(-3px);
    width: 5px;
}

.header-actions {
    gap: 12px;
}

.header-actions form {
    margin: 0;
}

.button {
    align-items: center;
    background: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 800;
    justify-content: center;
    min-height: 54px;
    padding: 0 26px;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    white-space: nowrap;
}

.button:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    box-shadow: 0 14px 30px rgba(20, 92, 255, 0.22);
    transform: translateY(-1px);
}

.button.ghost {
    background: #ffffff;
    color: var(--blue);
}

.button.ghost:hover {
    background: var(--surface-blue);
    box-shadow: none;
}

.button.small {
    min-height: 42px;
    padding: 0 18px;
}

.hero {
    background: #ffffff;
    overflow: hidden;
    position: relative;
}

.hero::after {
    background: linear-gradient(90deg, transparent, rgba(231, 235, 242, 0.85), transparent);
    bottom: 0;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    right: 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(390px, 0.92fr) minmax(560px, 1.08fr);
    margin: 0 auto;
    max-width: var(--container);
    min-height: 690px;
    padding: 0 34px;
    position: relative;
}

.hero-copy {
    align-self: center;
    max-width: 590px;
    padding: 28px 0 58px;
    position: relative;
    z-index: 3;
}

.eyebrow {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0;
    margin: 0 0 17px;
    text-transform: uppercase;
}

h1 {
    font-size: 4.3rem;
    font-weight: 900;
    line-height: 1.12;
    margin-bottom: 26px;
}

.lead {
    color: var(--body);
    font-size: 1.24rem;
    line-height: 1.68;
    margin-bottom: 34px;
}

.hero-actions {
    gap: 14px;
    margin-bottom: 26px;
}

.hero-points {
    color: var(--body);
    flex-wrap: wrap;
    font-size: 0.92rem;
    font-weight: 700;
    gap: 10px 18px;
}

.hero-points span {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.hero-points span::before {
    background: var(--green);
    border-radius: 50%;
    content: "";
    height: 7px;
    width: 7px;
}

.hero-art {
    --svg-illustration-gray-1: #f7f9fc;
    --svg-illustration-gray-2: #eef2f7;
    --svg-illustration-gray-3: #cbd4df;
    --svg-illustration-gray-4: #aeb9c7;
    --svg-illustration-gray-5: #8f9bae;
    --svg-illustration-gray-6: #e5ebf3;
    --svg-illustration-gray-7: #d6dee9;
    --svg-illustration-gray-8: #b8c3d2;
    --svg-illustration-gray-w: #ffffff;
    --svg-illustration-primary-1: #1266df;
    --svg-illustration-yellow-1: #ffbe1a;
    --svg-illustration-yellow-2: #ffd45c;
    --svg-illustration-yellow-3: #f39b08;
    --svg-illustration-green-1: #12a06a;
    --svg-illustration-green-2: #34d399;
    --svg-illustration-green-3: #15b981;
    min-height: 690px;
    position: relative;
}

.blue-shape {
    background: linear-gradient(135deg, var(--blue-light), var(--blue) 72%);
    clip-path: polygon(10% 0, 100% 0, 100% 86%, 84% 100%, 10% 58%);
    height: 606px;
    position: absolute;
    right: -190px;
    top: 0;
    width: 900px;
}

.blue-shape::after {
    background: rgba(5, 62, 218, 0.58);
    content: "";
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 96px;
}

.lagom-hero-visual {
    height: 560px;
    pointer-events: none;
    position: absolute;
    right: -42px;
    top: 92px;
    width: 760px;
    z-index: 3;
}

.lagom-hero-visual svg {
    filter: drop-shadow(0 20px 30px rgba(26, 42, 72, 0.12));
    height: auto;
    max-width: none;
    overflow: visible;
    position: absolute;
    width: 376px;
}

.lagom-hero-visual .svg-sitebuilder-left {
    left: 0;
    top: 4px;
}

.lagom-hero-visual .svg-sitebuilder-center {
    filter: drop-shadow(0 28px 38px rgba(18, 40, 80, 0.16));
    left: 154px;
    top: 54px;
    width: 430px;
    z-index: 2;
}

.lagom-hero-visual .svg-sitebuilder-right {
    left: 382px;
    top: 126px;
    z-index: 1;
}

.domain-band {
    background: #ffffff;
    margin-top: 0;
    padding: 0 34px 64px;
    position: relative;
    z-index: 4;
}

.domain-inner {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 22px;
    grid-template-columns: 290px 1fr;
    margin: 0 auto;
    max-width: 1050px;
    padding: 30px;
}

.domain-heading h2 {
    font-size: 1.45rem;
    line-height: 1.24;
    margin-bottom: 0;
}

.domain-search {
    align-items: stretch;
    background: #ffffff;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: auto 1fr auto;
    min-height: 60px;
    overflow: hidden;
}

.domain-prefix {
    align-items: center;
    background: var(--surface-soft);
    border-right: 1px solid var(--line);
    color: var(--muted);
    display: flex;
    font-weight: 750;
    padding: 0 18px;
}

.domain-search input {
    border: 0;
    color: var(--heading);
    font: inherit;
    font-size: 1.02rem;
    min-width: 0;
    outline: 0;
    padding: 0 18px;
}

.domain-search input::placeholder,
.form input::placeholder {
    color: #9aa3b2;
}

.domain-search .button {
    border-radius: 0;
    min-height: 60px;
}

.domain-result {
    border-radius: var(--radius);
    grid-column: 2;
    padding: 16px 18px;
}

.domain-result strong,
.domain-result span {
    display: block;
}

.domain-result strong {
    color: var(--heading);
    font-size: 1rem;
}

.domain-result span {
    color: var(--blue);
    font-weight: 800;
    margin-top: 4px;
}

.domain-result p {
    color: var(--body);
    margin: 8px 0 0;
}

.domain-result .button {
    margin-top: 14px;
}

.domain-result.available {
    background: #ecfbf6;
    border: 1px solid #bcebdc;
}

.domain-result.taken {
    background: #fff6ed;
    border: 1px solid #ffd4a7;
}

.domain-result.invalid {
    background: #fff0f0;
    border: 1px solid #f3b8b8;
}

.domain-tlds {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    grid-column: 2;
}

.domain-tlds span {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--body);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 7px 14px;
}

.service-strip {
    background: #ffffff;
    margin-top: -70px;
    padding: 0 34px 48px;
    position: relative;
    z-index: 5;
}

.service-tiles {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0 auto;
    max-width: var(--container);
}

.service-tile {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(24, 39, 75, 0.06);
    color: var(--heading);
    display: flex;
    flex-direction: column;
    min-height: 166px;
    padding: 24px 18px 20px;
    text-align: center;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-tile:hover {
    border-color: #c9d6ec;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.lagom-icon {
    --svg-icon-color-1: #145cff;
    --svg-icon-color-2: #26a7f2;
    --svg-icon-color-3: #202734;
    --svg-icon-color-4: #ffffff;
}

.lagom-icon svg {
    flex: none;
    height: auto;
    max-width: none;
}

.tile-icon {
    align-items: center;
    background: transparent;
    border: 0;
    display: flex;
    height: 76px;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    width: 76px;
}

.tile-icon svg {
    height: 64px;
    width: 64px;
}

.tile-icon::before,
.tile-icon::after {
    content: "";
    display: none;
    position: absolute;
}

.service-tile strong {
    font-size: 1rem;
    margin-bottom: 8px;
}

.service-tile small {
    color: var(--body);
    font-size: 0.84rem;
    line-height: 1.45;
}

.workspace {
    background: var(--surface-soft);
    padding: 78px 34px 86px;
}

.workspace + .workspace {
    padding-top: 72px;
}

.wordpress-section {
    background: #ffffff;
}

.section-heading {
    margin: 0 auto 36px;
    max-width: var(--container);
    text-align: center;
}

.section-heading h2 {
    font-size: 2.35rem;
    line-height: 1.18;
    margin-bottom: 12px;
}

.section-heading p:not(.eyebrow) {
    color: var(--body);
    font-size: 1.05rem;
    margin: 0 auto;
    max-width: 690px;
}

.plans {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    max-width: var(--container);
}

.plan {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(24, 39, 75, 0.06);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    padding: 30px;
    position: relative;
}

.plan.featured {
    border-color: #b8cdfd;
    box-shadow: var(--shadow-md);
}

.label-corner {
    background: var(--blue);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 850;
    padding: 8px 28px;
    position: absolute;
    right: -34px;
    text-transform: uppercase;
    top: 16px;
    transform: rotate(45deg);
}

.plan-icon {
    align-items: center;
    background: linear-gradient(180deg, #f7faff, #ffffff);
    border: 1px solid #dbe7ff;
    border-radius: var(--radius);
    display: flex;
    height: 76px;
    justify-content: center;
    margin-bottom: 22px;
    width: 76px;
}

.plan-icon svg {
    height: 64px;
    width: 64px;
}

.icon-business {
    background: #edf8ff;
}

.icon-pro {
    background: #eefcf7;
}

.plan h2 {
    font-size: 1.48rem;
    line-height: 1.22;
    margin-bottom: 10px;
}

.plan p {
    color: var(--body);
    margin-bottom: 22px;
}

.plan-features {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.plan-features li {
    color: #303847;
    font-size: 0.94rem;
    font-weight: 650;
    padding-left: 26px;
    position: relative;
}

.plan-features li::before {
    border-bottom: 2px solid var(--green);
    border-right: 2px solid var(--green);
    content: "";
    height: 11px;
    left: 3px;
    position: absolute;
    top: 3px;
    transform: rotate(45deg);
    width: 6px;
}

.plan-specs {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: grid;
    margin: auto 0 24px;
    overflow: hidden;
}

.plan-specs div {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 14px;
}

.plan-specs div + div {
    border-top: 1px solid var(--line);
}

.plan-specs dt {
    color: var(--body);
    font-size: 0.86rem;
    font-weight: 700;
}

.plan-specs dd {
    color: var(--heading);
    font-size: 0.9rem;
    font-weight: 850;
    margin: 0;
}

.plan-footer {
    border-top: 1px solid var(--line);
    gap: 14px;
    justify-content: space-between;
    padding-top: 22px;
}

.plan-footer strong,
.summary strong {
    color: var(--heading);
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1;
}

.plan-footer small,
.summary small {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 750;
    margin-left: 3px;
}

.narrow {
    background: var(--surface-soft);
    min-height: 680px;
}

.workspace.narrow {
    padding-top: 58px;
}

.flash-notice {
    background: #ffffff;
    border: 1px solid #cfe0ff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    color: var(--heading);
    font-weight: 750;
    margin: 18px auto 0;
    max-width: 980px;
    padding: 14px 18px;
}

.back-link {
    color: var(--blue);
    display: inline-flex;
    font-weight: 800;
    margin: 0 auto 22px;
    max-width: 980px;
    text-decoration: none;
    width: 100%;
}

.checkout-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 0.8fr 1.2fr;
    margin: 0 auto;
    max-width: 980px;
}

.checkout-grid-wide {
    grid-template-columns: 0.92fr 1.08fr;
    max-width: 1180px;
}

.checkout-steps {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto 24px;
    max-width: 1180px;
}

.checkout-steps span {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--body);
    font-size: 0.86rem;
    font-weight: 800;
    min-height: 42px;
    padding: 10px 12px;
    text-align: center;
}

.checkout-steps .active {
    border-color: #b9cdfd;
    color: var(--blue);
    box-shadow: 0 10px 24px rgba(20, 92, 255, 0.1);
}

.summary,
.form,
.status-panel,
.table-wrap {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.summary {
    padding: 30px;
}

.offer-model,
.recap-card {
    align-self: start;
}

.price-stack {
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    display: grid;
    gap: 6px;
    margin: 24px 0;
    padding: 22px 0;
}

.price-stack span {
    color: var(--body);
    font-weight: 750;
}

.model-block + .model-block {
    border-top: 1px solid var(--line);
    margin-top: 22px;
    padding-top: 22px;
}

.model-block h2 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.clean-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.clean-list li {
    color: #303847;
    font-weight: 700;
    padding-left: 25px;
    position: relative;
}

.clean-list li::before {
    border-bottom: 2px solid var(--green);
    border-right: 2px solid var(--green);
    content: "";
    height: 11px;
    left: 3px;
    position: absolute;
    top: 4px;
    transform: rotate(45deg);
    width: 6px;
}

.summary h1,
.status-panel h1,
.narrow > h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 14px;
}

.summary p,
.status-panel p {
    color: var(--body);
}

.form {
    display: grid;
    gap: 18px;
    padding: 30px;
}

.form label {
    color: var(--heading);
    display: grid;
    font-size: 0.92rem;
    font-weight: 800;
    gap: 8px;
}

.form input {
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    color: var(--heading);
    font: inherit;
    min-height: 48px;
    outline: 0;
    padding: 0 14px;
}

.form select,
.form textarea {
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    color: var(--heading);
    font: inherit;
    outline: 0;
    padding: 12px 14px;
}

.form select {
    min-height: 48px;
}

.form textarea {
    min-height: 160px;
    resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus,
.domain-search:focus-within {
    border-color: #9bb8ff;
    box-shadow: 0 0 0 4px rgba(20, 92, 255, 0.1);
}

.form label span {
    color: var(--danger);
    font-size: 0.84rem;
    font-weight: 750;
}

.configurator-form h2 {
    margin-bottom: 8px;
}

.option-grid {
    display: grid;
    gap: 12px;
}

.domain-choice-grid {
    display: grid;
    gap: 14px;
}

.domain-choice {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: grid;
    gap: 14px;
    padding: 18px;
}

.domain-choice.active {
    background: #f8fbff;
    border-color: #b9cdfd;
    box-shadow: 0 10px 24px rgba(20, 92, 255, 0.08);
}

.radio-line {
    align-items: start;
    display: grid !important;
    gap: 12px !important;
    grid-template-columns: auto 1fr;
}

.radio-line input {
    accent-color: var(--blue);
    margin-top: 4px;
    min-height: auto;
    width: 18px;
}

.radio-line span {
    color: var(--heading) !important;
    display: grid;
    gap: 4px;
}

.radio-line small {
    color: var(--body);
    font-size: 0.9rem;
    font-weight: 650;
}

.domain-choice-fields {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.domain-mini-result {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: grid;
    gap: 5px;
    padding: 13px 14px;
}

.domain-mini-result.available {
    background: #f2fbf7;
    border-color: #bcebd9;
}

.domain-mini-result.taken,
.domain-mini-result.invalid {
    background: #fff7f7;
    border-color: #f0c6c6;
}

.domain-mini-result strong,
.domain-mini-result span {
    color: var(--heading);
}

.domain-mini-result p {
    color: var(--body);
    margin: 0;
}

.domain-choice > span {
    color: var(--danger);
    font-size: 0.84rem;
    font-weight: 750;
}

.option-card {
    align-items: center;
    background: #f8fbff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: grid !important;
    gap: 14px !important;
    grid-template-columns: auto 1fr auto;
    min-height: 92px;
    padding: 16px;
}

.option-card input {
    accent-color: var(--blue);
    min-height: auto;
    width: 18px;
}

.option-card span {
    color: var(--heading) !important;
    display: grid;
    gap: 4px;
}

.option-card small {
    color: var(--body);
    font-size: 0.9rem;
    font-weight: 650;
}

.option-card em {
    color: var(--blue);
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.checkout-total-line,
.customer-card {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.checkout-total-line {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 16px;
}

.checkout-total-line span {
    color: var(--body);
    font-weight: 750;
}

.checkout-total-line strong {
    color: var(--heading);
    font-size: 1.15rem;
    white-space: nowrap;
}

.recap-lines {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin: 24px 0;
    overflow: hidden;
}

.recap-lines div {
    display: grid;
    grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1.1fr);
    min-height: 48px;
}

.recap-lines div + div {
    border-top: 1px solid var(--line);
}

.recap-lines dt,
.recap-lines dd {
    align-items: center;
    display: flex;
    margin: 0;
    padding: 12px 14px;
}

.recap-lines dt {
    background: var(--surface-soft);
    color: var(--body);
    font-weight: 800;
}

.recap-lines dd {
    color: var(--heading);
    font-weight: 850;
}

.recap-lines .strong-line dt,
.recap-lines .strong-line dd {
    background: #eef5ff;
    color: var(--blue);
}

.customer-card {
    display: grid;
    gap: 4px;
    padding: 16px;
}

.customer-card strong {
    color: var(--heading);
}

.customer-card span {
    color: var(--body);
    font-weight: 700;
}

.invoice-document {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin: 0 auto;
    max-width: 980px;
    padding: 34px;
}

.invoice-header,
.invoice-parties,
.invoice-totals div {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.invoice-header {
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
    padding-bottom: 24px;
}

.invoice-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.invoice-brand {
    color: var(--heading);
    display: grid;
    font-size: 1rem;
    font-weight: 850;
    gap: 4px;
    text-align: right;
}

.invoice-brand span,
.invoice-parties p {
    color: var(--body);
    font-weight: 650;
}

.invoice-parties {
    margin-bottom: 24px;
}

.invoice-parties section {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    flex: 1;
    padding: 18px;
}

.invoice-parties h2 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.invoice-table {
    box-shadow: none;
    margin-bottom: 24px;
    max-width: none;
}

.invoice-totals {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin: 0 0 0 auto;
    max-width: 360px;
    overflow: hidden;
}

.invoice-totals div {
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
}

.invoice-totals div + div {
    border-top: 1px solid var(--line);
}

.invoice-totals dt,
.invoice-totals dd {
    margin: 0;
}

.invoice-totals dt {
    color: var(--body);
    font-weight: 800;
}

.invoice-totals dd {
    color: var(--heading);
    font-weight: 900;
}

.status-panel {
    margin: 0 auto;
    max-width: 860px;
    padding: 30px;
}

.status-panel dl {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin: 24px 0;
    overflow: hidden;
}

.status-panel dl div {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-height: 48px;
}

.status-panel dl div + div {
    border-top: 1px solid var(--line);
}

.status-panel dt,
.status-panel dd {
    align-items: center;
    display: flex;
    margin: 0;
    padding: 0 16px;
}

.status-panel dt {
    background: var(--surface-soft);
    color: var(--body);
    font-weight: 800;
}

.status-panel dd {
    color: var(--heading);
    font-weight: 750;
}

.badge {
    background: var(--surface-blue);
    border: 1px solid #d8e5ff;
    border-radius: 999px;
    color: var(--blue);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 850;
    padding: 6px 10px;
    text-transform: uppercase;
}

.table-wrap {
    margin: 0 auto;
    max-width: 980px;
    overflow: auto;
}

table {
    border-collapse: collapse;
    width: 100%;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 16px 18px;
    text-align: left;
}

th {
    background: var(--surface-soft);
    color: var(--body);
    font-size: 0.82rem;
    font-weight: 850;
    text-transform: uppercase;
}

td {
    color: var(--heading);
    font-weight: 650;
}

tbody tr:last-child td {
    border-bottom: 0;
}

.portal-shell {
    margin: 0 auto;
    max-width: 1180px;
}

.portal-heading {
    margin-bottom: 20px;
}

.portal-heading.split {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.portal-heading h1,
.auth-card h1 {
    font-size: 2.25rem;
    line-height: 1.15;
    margin-bottom: 0;
}

.portal-tabs {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.portal-tabs a {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--heading);
    font-size: 0.92rem;
    font-weight: 800;
    padding: 10px 14px;
    text-decoration: none;
}

.portal-tabs a:hover {
    border-color: #bdd0ff;
    color: var(--blue);
}

.portal-tabs a.active {
    background: var(--blue);
    border-color: var(--blue);
    color: #ffffff;
}

.product-subtabs {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin: -4px 0 24px;
}

.product-subtabs a,
.product-subtabs span {
    color: var(--body);
    font-size: 0.92rem;
    font-weight: 850;
    padding: 0 0 12px;
    text-decoration: none;
}

.product-subtabs a.active {
    border-bottom: 2px solid var(--blue);
    color: var(--blue);
}

.product-subtabs span {
    color: var(--muted);
}

.metric-grid,
.portal-grid {
    display: grid;
    gap: 18px;
}

.metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 22px;
}

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

.metric-card,
.panel-card,
.notice,
.message-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.metric-card {
    color: var(--heading);
    display: grid;
    gap: 6px;
    padding: 22px;
    text-decoration: none;
}

.metric-card strong {
    font-size: 2rem;
    line-height: 1;
}

.metric-card span,
.muted-line,
.notice,
.message-card header span,
.panel-card p {
    color: var(--body);
}

.panel-card {
    padding: 24px;
}

.dashboard-panel {
    margin-bottom: 22px;
}

.panel-card h2,
.form h2 {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 16px;
}

.panel-card .table-wrap {
    box-shadow: none;
    margin: 0;
}

.auth-card {
    margin: 0 auto;
    max-width: 520px;
}

.check-line {
    align-items: center;
    display: flex !important;
    gap: 10px !important;
}

.check-line input {
    min-height: auto;
    width: auto;
}

.muted-line {
    margin: 0;
}

.notice {
    margin-bottom: 18px;
    padding: 14px 16px;
}

.message-list {
    display: grid;
    gap: 14px;
    margin: 22px 0;
}

.message-card {
    padding: 18px;
}

.message-card.staff {
    border-color: #bdd0ff;
}

.message-card header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.message-card p {
    color: var(--heading);
    margin: 0;
    white-space: pre-wrap;
}

@media (max-width: 1180px) {
    .hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-copy {
        max-width: 720px;
        padding-top: 72px;
    }

    .hero-art {
        min-height: 520px;
    }

    .blue-shape {
        right: -120px;
        width: 860px;
    }

    .lagom-hero-visual {
        right: 18px;
        top: 54px;
        transform: scale(0.86);
        transform-origin: top right;
    }

    .service-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .topbar-utility,
    .topbar-menu {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding: 18px 0;
    }

    .topbar-menu {
        min-height: 0;
    }

    .nav,
    .utility-links,
    .header-actions {
        flex-wrap: wrap;
        gap: 14px 22px;
    }

    .domain-inner {
        grid-template-columns: 1fr;
    }

    .domain-result,
    .domain-tlds {
        grid-column: 1;
    }

    .plans {
        grid-template-columns: 1fr;
        max-width: 660px;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 760px) {
    .topbar-shell,
    .hero-inner,
    .domain-band,
    .service-strip,
    .workspace {
        padding-left: 20px;
        padding-right: 20px;
    }

    .topbar-utility {
        min-height: 0;
    }

    .brand {
        font-size: 1.18rem;
    }

    .nav {
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .nav a {
        border: 1px solid var(--line);
        border-radius: 6px;
        padding: 10px 12px;
    }

    h1 {
        font-size: 2.8rem;
    }

    .lead {
        font-size: 1.08rem;
    }

    .hero-copy {
        padding-top: 50px;
    }

    .hero-actions,
    .header-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .button {
        width: 100%;
    }

    .hero-art {
        min-height: 390px;
    }

    .blue-shape {
        height: 390px;
        right: -280px;
        width: 760px;
    }

    .lagom-hero-visual {
        right: -126px;
        top: 32px;
        transform: scale(0.62);
        transform-origin: top right;
    }

    .service-strip {
        margin-top: -32px;
        padding-bottom: 36px;
    }

    .domain-band {
        margin-top: 0;
        padding-bottom: 42px;
    }

    .domain-inner {
        padding: 22px;
    }

    .domain-search {
        grid-template-columns: 1fr;
    }

    .domain-prefix {
        border-bottom: 1px solid var(--line);
        border-right: 0;
        min-height: 42px;
    }

    .domain-search input {
        min-height: 56px;
    }

    .service-tiles {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 2rem;
    }

    .plan {
        padding: 24px;
    }

    .plan-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .checkout-steps {
        grid-template-columns: 1fr;
    }

    .option-card {
        align-items: start;
        grid-template-columns: auto 1fr;
    }

    .option-card em {
        grid-column: 2;
    }

    .domain-choice-fields {
        grid-template-columns: 1fr;
    }

    .checkout-total-line {
        align-items: flex-start;
        flex-direction: column;
    }

    .recap-lines div {
        grid-template-columns: 1fr;
    }

    .invoice-header,
    .invoice-parties,
    .invoice-totals div {
        flex-direction: column;
    }

    .invoice-brand {
        text-align: left;
    }

    .invoice-totals {
        max-width: none;
    }

    .status-panel dl div {
        grid-template-columns: 1fr;
    }

    .status-panel dt,
    .status-panel dd {
        min-height: 42px;
    }

    .portal-heading.split {
        align-items: stretch;
        flex-direction: column;
    }

    .metric-grid,
    .portal-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    h1 {
        font-size: 2.35rem;
    }

    .nav {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 335px;
    }

    .blue-shape {
        right: -350px;
    }

    .lagom-hero-visual {
        right: -206px;
        top: 24px;
        transform: scale(0.52);
    }

}
