:root {
    --bg: #f3f5f7;
    --surface: #edf1f4;
    --card: #f9fbfc;
    --text: #111827;
    --muted: #64758a;
    --line: #dce3e9;
    --green: #29a35a;
    --green-strong: #21884a;
    --green-soft: #e8f6ed;
    --radius: 16px;
    --radius-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.08);
    --focus-ring: 0 0 0 3px rgba(41, 163, 90, 0.2);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    line-height: 1.5;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

.app {
    overflow: clip;
}

.shell {
    width: min(1080px, calc(100% - 48px));
    margin: 0 auto;
}

.topbar {
    position: relative;
    z-index: 30;
    padding: 14px 0;
    backdrop-filter: blur(6px);
    background: rgba(243, 245, 247, 0.92);
    border-bottom: 1px solid #e2e8ee;
}

.topbar-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.brand {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: var(--green-strong);
    font-size: clamp(24px, 2.1vw, 30px);
    font-weight: 800;
    letter-spacing: -0.03em;
    padding: 0;
}

.brand-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-icon svg {
    width: 18px;
    height: 18px;
}

.main-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 2px;
    background: #e7ebf0;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px;
    box-shadow: none;
}

.nav-link {
    border: 0;
    background: transparent;
    color: #50606d;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    color: #2a3a46;
}

.nav-link.is-active {
    background: var(--green);
    color: #fff;
    box-shadow: 0 8px 18px rgba(41, 163, 90, 0.22);
}

.btn {
    border: 0;
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary,
.btn-solid {
    color: #fff;
    background: var(--green);
    box-shadow: 0 10px 20px rgba(41, 163, 90, 0.22);
}

.btn-primary:hover,
.btn-solid:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.start-cta {
    justify-self: end;
    font-size: 15px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #253847;
    border: 1px solid var(--line);
}

.btn-secondary:hover {
    border-color: #b8cfd4;
    background: #fff;
}

.btn-generate {
    width: 100%;
    border-radius: 12px;
    padding: 13px 18px;
    color: #f4fbf6;
    background: #91cfa6;
    box-shadow: none;
}

.btn-generate:not(:disabled) {
    color: #fff;
    background: var(--green);
    box-shadow: 0 10px 20px rgba(41, 163, 90, 0.2);
}

.btn-generate:disabled {
    cursor: not-allowed;
    transform: none;
    opacity: 0.92;
}

.btn-cta {
    background: #fff;
    color: #1c7941;
    padding-inline: 30px;
}

.btn.full {
    width: 100%;
    border-radius: 14px;
}

.page {
    display: none;
}

.page.is-active {
    display: block;
}

.hero {
    padding: 62px 0 48px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 34px;
    padding: 34px 36px;
    background: #eef5f3;
    border: 1px solid #dee9e4;
    border-radius: 22px;
}

.hero-content {
    text-align: left;
}

.privacy-pill {
    width: fit-content;
    margin: 0 0 24px;
    border-radius: 999px;
    border: 1px solid #cce8dd;
    padding: 9px 17px;
    background: var(--green-soft);
    color: #186a4b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.hero h1 {
    margin: 0;
    font-size: clamp(34px, 4.8vw, 54px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero h1 span {
    color: var(--green);
}

.hero-copy {
    max-width: 630px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.58;
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    justify-content: flex-start;
    gap: 12px;
}

.hero-media {
    min-height: 250px;
    border-radius: 18px;
    border: 1px solid #deeaec;
    background: #f9fbfc;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bubble {
    position: absolute;
    height: 48px;
    border-radius: 14px;
    background: #cfe9d6;
    opacity: 0.92;
}

.hero-bubble.bubble-1 {
    width: 86px;
    left: 44px;
    top: 92px;
}

.hero-bubble.bubble-2 {
    width: 118px;
    left: 126px;
    top: 78px;
    background: #9fcca9;
}

.hero-doc {
    position: absolute;
    right: 64px;
    top: 60px;
    width: 132px;
    height: 154px;
    border-radius: 10px;
    background: #d7edd7;
    border: 1px solid #bedebe;
    box-shadow: 0 8px 18px rgba(33, 136, 74, 0.12);
    padding: 24px 18px;
    display: grid;
    gap: 10px;
}

.hero-doc span {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: #9fbe9f;
}

.section-block {
    padding: 44px 0 52px;
}

.section-block.compact {
    padding-top: 56px;
}

.steps-section {
    padding-bottom: 44px;
}

.tools-block {
    padding-top: 34px;
    padding-bottom: 62px;
}

.section-head {
    text-align: center;
    margin-bottom: 32px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(28px, 3.8vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 14px auto 0;
    color: var(--muted);
    font-size: clamp(15px, 1.6vw, 17px);
}

.tool-grid,
.feature-grid,
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.tool-card,
.feature-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: grid;
    gap: 12px;
    align-content: start;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tool-card:hover,
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 12px;
}

.feature-card:hover {
    transform: none;
    box-shadow: none;
}

.tool-card h3,
.feature-card h3,
.step-item h3 {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 28px);
    letter-spacing: -0.02em;
}

.tool-card p,
.feature-card p,
.step-item p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.feature-card h3 {
    margin-bottom: 4px;
    font-size: clamp(18px, 2vw, 22px);
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.5;
}

.icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid #cee8d8;
    background: var(--green-soft);
    color: var(--green-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.icon-wrap.small {
    width: 42px;
    height: 42px;
}

.tool-card .btn-solid {
    width: 100%;
    margin-top: 8px;
    font-size: 14px;
}

.surface-strip {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
}

.surface-strip .feature-grid {
    gap: 16px;
}

.step-item {
    text-align: left;
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px 20px 18px;
}

.step-num {
    position: absolute;
    top: 12px;
    right: 16px;
    margin: 0;
    color: #cfe4d8;
    font-size: clamp(38px, 4.4vw, 50px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.step-item h3 {
    margin: 0 0 8px;
    font-size: clamp(19px, 2.2vw, 24px);
}

.step-item p {
    max-width: 92%;
    font-size: 15px;
    line-height: 1.55;
}

.steps-section .section-head {
    margin-bottom: 24px;
}

.steps-section .steps-grid {
    gap: 16px;
}

.tools-block .section-head {
    margin-bottom: 24px;
}

.tools-block .tool-grid {
    gap: 14px;
}

.tools-block .tool-card {
    padding: 18px 16px;
    gap: 10px;
}

.tools-block .tool-card h3 {
    font-size: clamp(18px, 2vw, 22px);
}

.tools-block .tool-card p {
    font-size: 14px;
    line-height: 1.55;
}

.tools-block .tool-card .btn-solid {
    margin-top: 6px;
    padding: 11px 16px;
    font-size: 13px;
}

.footer-cta {
    margin-top: 24px;
    background: var(--green);
    color: #fff;
    padding: 82px 0;
    text-align: center;
}

.footer-cta h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.footer-cta p {
    margin: 14px 0 0;
    font-size: clamp(15px, 1.8vw, 18px);
    opacity: 0.95;
}

.footer-cta .btn-cta {
    margin-top: 28px;
}

#page-converter {
    padding-top: 20px;
}

.converter-head {
    text-align: center;
    padding: 6px 0 18px;
}

.converter-head h1 {
    margin: 0;
    font-size: clamp(38px, 4.8vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.converter-head p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: clamp(17px, 2.1vw, 21px);
}

.identity-row {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

.identity-field {
    width: min(520px, 100%);
    text-align: left;
}

.converter-tabs {
    margin-top: 20px;
    display: inline-flex;
    background: #e7ebef;
    border: 1px solid var(--line);
    padding: 4px;
    border-radius: 13px;
    gap: 2px;
    box-shadow: none;
}

.converter-tab {
    border: 0;
    background: transparent;
    color: #607283;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    padding: 11px 22px;
    transition: 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.converter-tab .tab-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.converter-tab .tab-icon svg {
    width: 16px;
    height: 16px;
}

.converter-tab span:last-child {
    line-height: 1.1;
}

.converter-tab:hover {
    color: #2f4251;
}

.converter-tab.is-active {
    background: #fff;
    color: #172131;
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
}

.converter-panel {
    display: none;
    padding-bottom: 22px;
}

.converter-panel.is-active {
    display: block;
}

.converter-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: start;
}

.left-stack {
    display: grid;
    gap: 12px;
}

.panel-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}

.panel-card h3 {
    margin: 0;
    font-size: clamp(21px, 2.2vw, 27px);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.heading-icon {
    width: 18px;
    height: 18px;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.heading-icon svg {
    width: 18px;
    height: 18px;
}

.panel-copy {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.dropzone {
    margin-top: 12px;
    border: 2px dashed #d2d9e2;
    border-radius: 14px;
    min-height: 156px;
    background: #f8fafc;
    display: grid;
    place-content: center;
    text-align: center;
    gap: 6px;
    cursor: pointer;
    padding: 14px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.dropzone.wide {
    min-height: 176px;
}

.dropzone.is-dragover,
.dropzone:hover {
    border-color: var(--green);
    background: #f0f9f3;
}

.upload-icon {
    font-size: 26px;
    line-height: 1;
    color: #708497;
}

.drop-title {
    margin: 0;
    font-size: clamp(18px, 2.1vw, 24px);
    font-weight: 700;
    color: #203041;
    letter-spacing: -0.01em;
}

.drop-subtitle {
    margin: 0;
    color: var(--muted);
    font-size: clamp(13px, 1.6vw, 15px);
}

.settings-card {
    display: grid;
    gap: 14px;
}

.field {
    display: grid;
    gap: 8px;
}

.field-label {
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
}

.select-field,
.text-field,
.contact-form input,
.contact-form textarea {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f6f9fb;
    color: #1c2737;
    padding: 10px 12px;
}

.select-field:focus,
.text-field:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #aad4c4;
    box-shadow: var(--focus-ring);
}

.toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    font-weight: 600;
}

.switch {
    position: relative;
    width: 50px;
    height: 30px;
}

.switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.slider {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #c9d7e2;
    transition: 0.2s ease;
}

.slider::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 6px rgba(15, 23, 42, 0.15);
    transition: transform 0.2s ease;
}

.switch input:checked + .slider {
    background: var(--green);
}

.switch input:checked + .slider::after {
    transform: translateX(20px);
}

.preview-card {
    min-height: 360px;
}

.preview-empty {
    min-height: 240px;
    display: grid;
    place-content: center;
    text-align: center;
    color: #9bb0bf;
    gap: 8px;
    border-radius: 16px;
    padding: 20px;
    background:
        radial-gradient(circle at 0 0, rgba(113, 126, 140, 0.12) 0, rgba(113, 126, 140, 0.12) 1px, transparent 1px) 0 0 / 22px 22px,
        #0b141a;
}

.preview-icon {
    font-size: 40px;
    color: #c8d6df;
    line-height: 1;
}

.preview-chat {
    display: grid;
    gap: 8px;
    margin-top: 18px;
    padding: 12px;
    border-radius: 16px;
    max-height: 520px;
    overflow-y: auto;
    background:
        radial-gradient(circle at 0 0, rgba(113, 126, 140, 0.12) 0, rgba(113, 126, 140, 0.12) 1px, transparent 1px) 0 0 / 22px 22px,
        #0b141a;
}

.preview-row {
    display: flex;
}

.preview-row.incoming {
    justify-content: flex-start;
}

.preview-row.outgoing {
    justify-content: flex-end;
}

.preview-system {
    justify-self: center;
    max-width: 80%;
    border-radius: 999px;
    padding: 4px 12px;
    background: rgba(30, 42, 49, 0.88);
    color: #dce6ed;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.preview-bubble {
    max-width: min(82%, 520px);
    border-radius: 10px;
    padding: 7px 10px 6px;
    font-size: 12.8px;
    line-height: 1.33;
    background: #202c33;
    color: #e9edef;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
    word-break: break-word;
    white-space: pre-wrap;
    position: relative;
}

.preview-bubble.outgoing {
    background: #005c4b;
}

.preview-row.incoming .preview-bubble::after {
    content: '';
    position: absolute;
    left: -6px;
    bottom: 5px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 7px solid #202c33;
}

.preview-row.outgoing .preview-bubble::after {
    content: '';
    position: absolute;
    right: -6px;
    bottom: 5px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 7px solid #005c4b;
}

.preview-text {
    margin: 0;
}

.preview-quote {
    margin: 0 0 6px;
    padding: 6px 8px;
    border-radius: 8px;
    border-left: 3px solid #78c6ff;
    background: rgba(0, 0, 0, 0.2);
}

.preview-row.outgoing .preview-quote {
    border-left-color: #ffc0a5;
    background: rgba(0, 0, 0, 0.16);
}

.preview-quote-sender {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    color: #8bd0ff;
}

.preview-row.outgoing .preview-quote-sender {
    color: #ffd1bb;
}

.preview-quote-text {
    margin: 2px 0 0;
    font-size: 12px;
    line-height: 1.3;
    color: #c8d4db;
}

.preview-row.outgoing .preview-quote-text {
    color: #d7e8e0;
}

.preview-link {
    color: #53bdeb;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 1px;
}

.preview-bubble.outgoing .preview-link {
    color: #9fe8c6;
}

.preview-call-title {
    font-weight: 700;
    line-height: 1.3;
}

.preview-call-subtitle {
    margin-top: 2px;
    color: #cfd8dc;
    line-height: 1.3;
}

.preview-meta {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1;
    color: #8ca1ad;
    text-align: right;
}

.preview-bubble.outgoing .preview-meta {
    color: #b7d0c7;
}

.panel-card-wide {
    margin-bottom: 12px;
}

.status-line {
    min-height: 22px;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #5f7487;
}

.status-line.is-success {
    color: #1f8f47;
}

.status-line.is-error {
    color: #be3c3c;
}

.status-line.is-info {
    color: #3c5e83;
}

.about-shell {
    max-width: 980px;
    padding: 54px 0 74px;
}

.about-shell h1,
.contact-shell h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.about-copy {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.7;
    max-width: 920px;
}

.about-section {
    margin-top: 34px;
}

.about-shell h2 {
    margin: 0 0 12px;
    font-size: clamp(27px, 3.2vw, 36px);
    letter-spacing: -0.02em;
}

.about-section h3 {
    margin: 0 0 8px;
    font-size: clamp(20px, 2.2vw, 26px);
    letter-spacing: -0.01em;
}

.use-cases {
    display: grid;
    gap: 14px;
}

.use-case-card {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
}

.use-case-card p {
    margin: 0;
    color: #334155;
    font-size: 15px;
    line-height: 1.65;
}

.use-case-card p + p {
    margin-top: 10px;
}

.small-note {
    font-size: 13px;
    color: #5d6f80;
}

.disclaimer-intro {
    margin: 0 0 10px;
    color: #334155;
    font-weight: 600;
}

.legal-list {
    margin: 0;
    padding: 0 0 0 20px;
    display: grid;
    gap: 12px;
    color: #344658;
}

.legal-list li {
    font-size: 15px;
    line-height: 1.65;
}

.legal-final {
    margin: 12px 0 0;
    font-size: 14px;
    color: #4d6073;
}

.disclaimer-banner {
    margin: 24px 0 0;
    padding: 12px 14px;
    border: 1px solid #e8d7b2;
    border-radius: 10px;
    background: #fdf8ed;
    color: #5e4a21;
    font-size: 13px;
    line-height: 1.6;
}

.canada-note {
    margin: 10px 0 0;
    color: #216b48;
    font-size: 13px;
    font-weight: 700;
}

.network-note {
    margin: 10px 0 0;
    padding: 12px 14px;
    border: 1px solid #d8dfe7;
    border-radius: 10px;
    background: #f6f8fb;
    color: #3a495b;
    font-size: 13px;
    line-height: 1.6;
}

.faq-list {
    display: grid;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 0;
}

.faq-item:first-child {
    border-top: 1px solid var(--line);
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 700;
    color: #132333;
    padding: 16px 0;
}

.chevron {
    font-size: 18px;
    color: #4a5667;
    transition: transform 0.2s ease;
}

.faq-answer {
    display: none;
    padding: 0 0 18px;
}

.faq-answer p {
    margin: 0;
    font-size: 15px;
    color: #2f3f52;
    line-height: 1.7;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.faq-item.is-open .chevron {
    transform: rotate(180deg);
}

.contact-shell {
    max-width: 700px;
    padding: 56px 0 84px;
}

.contact-shell > p {
    color: var(--muted);
    margin: 14px 0 24px;
    font-size: clamp(16px, 1.8vw, 19px);
    line-height: 1.6;
}

.contact-email-card {
    margin: 0 0 18px;
    padding: 14px;
    border: 1px solid #d9e6df;
    border-radius: 14px;
    background: #f2f9f4;
}

.contact-email-label {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    color: #3e6a57;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contact-email-link {
    display: inline-block;
    margin-top: 6px;
    color: #1c7941;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.contact-email-link:hover {
    text-decoration: underline;
}

.contact-email-note {
    margin: 8px 0 0;
    color: #506579;
    font-size: 13px;
    line-height: 1.55;
}

.contact-legal-note {
    margin: 12px 0 0;
    color: #5f7285;
    font-size: 13px;
    line-height: 1.55;
}

.contact-form {
    display: grid;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    background: #f6f9fb;
}

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

.site-footer {
    margin-top: 12px;
    border-top: 1px solid #d4e1e6;
    background: #eef2f5;
    padding: 42px 0 18px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr;
    gap: 18px;
}

.footer-brand-mark {
    margin: 0 0 10px;
    pointer-events: none;
    font-size: clamp(24px, 2.1vw, 30px);
}

.footer-brand > p {
    margin: 0;
    max-width: 290px;
    color: #5b6e7e;
    font-size: 13px;
    line-height: 1.55;
}

.site-footer h4 {
    margin: 0 0 10px;
    font-size: 14px;
    letter-spacing: 0.01em;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.site-footer li {
    color: #5b6e7e;
    font-size: 13px;
}

.footer-link {
    border: 0;
    background: transparent;
    color: #5b6e7e;
    padding: 0;
    font-size: 13px;
    text-align: left;
}

.footer-link:hover {
    color: #263143;
}

.copyright {
    margin: 24px 0 0;
    text-align: center;
    font-size: 12px;
    color: #758595;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 980px) {
    .shell {
        width: min(1120px, calc(100% - 34px));
    }

    .topbar-inner {
        grid-template-columns: 1fr auto;
        row-gap: 12px;
    }

    .brand {
        order: 1;
    }

    .start-cta {
        order: 2;
    }

    .main-nav {
        order: 3;
        grid-column: 1 / -1;
        width: fit-content;
        justify-self: center;
    }

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

    .surface-strip .feature-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .converter-layout {
        grid-template-columns: 1fr;
    }

    .preview-card {
        min-height: auto;
    }

    .step-item p {
        max-width: 100%;
    }

    .hero {
        padding-top: 56px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 32px 26px;
    }

    .hero-content {
        text-align: center;
    }

    .privacy-pill {
        margin-inline: auto;
    }

    .hero-copy {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 680px) {
    .shell {
        width: min(1120px, calc(100% - 22px));
    }

    .topbar {
        padding: 10px 0;
    }

    .main-nav {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 4px;
    }

    .nav-link {
        padding: 9px 13px;
        font-size: 13px;
        white-space: nowrap;
    }

    .start-cta {
        font-size: 13px;
        padding-inline: 16px;
    }

    .btn {
        padding: 11px 18px;
        font-size: 14px;
    }

    .tool-grid,
    .feature-grid,
    .steps-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .surface-strip .feature-grid {
        gap: 12px;
    }

    .hero {
        padding-top: 40px;
    }

    .hero-grid {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .hero-media {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 260px;
    }

    .converter-tabs {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .converter-tab {
        padding: 9px 14px;
    }

    .panel-card,
    .tool-card {
        padding: 20px;
    }

    .feature-card {
        padding: 0;
    }

    .step-item p {
        max-width: 100%;
    }
}
