@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --brand: #29446f;
    --brand-dark: #203657;
    --action: #e27941;
    --surface: #f3f5f8;
    --card: #fff;
    --text: #262d38;
    --muted: #5f6877;
    --border: #dfe3ea;
    --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--surface); font-family: "Manrope", Arial, sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; }
.container { width: min(1100px, calc(100% - 32px)); margin-inline: auto; }

.site-header { min-height: 72px; display: flex; align-items: center; color: var(--white); background: var(--brand); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; text-decoration: none; }
.brand-copy { display: flex; flex-direction: column; gap: 4px; line-height: 1.25; }
.brand-title { font-size: clamp(15px, 2vw, 19px); }
.brand-byline { font-size: 12px; font-weight: 500; }
.site-header .header-inner { padding-block: 14px; }
.brand-icon { width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 50%; font-size: 12px; letter-spacing: -1px; }
.desktop-nav { display: flex; align-items: center; gap: 42px; }
.desktop-nav a { font-size: 16px; text-decoration: none; }
.desktop-nav a:hover, .footer-links a:hover { text-decoration: underline; }
.header-button, .primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; color: var(--white); background: var(--action); font-weight: 600; text-decoration: none; }
.header-button { min-height: 42px; padding: 0 20px; font-size: 14px; }

.hero { min-height: 310px; display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 45px; margin: 32px 0; padding: 42px 52px; overflow: hidden; border-radius: 12px; color: var(--white); background: var(--brand); }
.kicker { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; }
.kicker.accent { color: var(--brand); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.25; }
h1 { max-width: 680px; margin-bottom: 18px; font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 600; letter-spacing: -2px; }
.hero-copy > p:last-child { max-width: 650px; margin-bottom: 0; color: #eef2f8; font-size: 18px; }
.hero-mark { position: relative; width: 210px; height: 210px; display: grid; place-items: center; justify-self: center; border: 3px solid rgba(255,255,255,.8); border-radius: 50%; }
.hero-mark::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; }
.hero-mark span { font-size: 82px; font-weight: 600; line-height: 1; }
.hero-mark small { position: absolute; right: -10px; bottom: 28px; padding: 4px 7px; color: var(--brand); background: var(--white); font-size: 8px; font-weight: 700; line-height: 1.15; }
.center-action { display: flex; justify-content: center; margin: 28px 0 32px; }
.primary-button, .secondary-button { min-height: 46px; padding: 0 25px; font-size: 14px; }

.card, .ready-card { margin: 0 0 32px; padding: 36px; border-radius: 12px; background: var(--card); box-shadow: 0 1px 3px rgba(32,54,87,.1); }
.card h2, .ready-card h2 { margin-bottom: 16px; font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 600; letter-spacing: -1px; }
.intro { text-align: center; }
.intro p { max-width: 850px; margin: 0 auto; color: var(--muted); }
.feature-panel { padding: 30px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feature { min-height: 142px; display: flex; align-items: center; gap: 17px; padding: 19px; border: 1px solid var(--border); border-radius: 10px; }
.feature-icon { width: 52px; height: 52px; display: grid; flex: 0 0 52px; place-items: center; border-radius: 50%; color: var(--brand); background: #e9eef7; font-size: 16px; font-weight: 700; }
.feature h3, .process-grid h3, .faq-list h3 { margin-bottom: 5px; font-size: 17px; font-weight: 600; }
.feature p, .process-grid p, .faq-list p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.content-card p { color: var(--muted); }
.content-card p:last-child { margin-bottom: 0; }

.section-heading { margin-bottom: 28px; text-align: center; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.process-grid li { padding: 10px 24px 12px; border-right: 1px solid var(--border); text-align: center; }
.process-grid li:last-child { border-right: 0; }
.process-grid li > span { width: 42px; height: 42px; display: grid; margin: 0 auto 15px; place-items: center; border-radius: 50%; color: var(--white); background: var(--brand); font-weight: 600; }
.two-column { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 32px; }
.two-column > * { margin-bottom: 0; }
.compact-card p { margin-bottom: 0; color: var(--muted); }
.quote-card { padding: 32px; border-radius: 12px; color: var(--white); background: var(--brand); }
.quote-card p { font-size: 17px; }
.quote-card span { color: #dde5f2; font-size: 13px; }

.faq-card > h2 { text-align: center; }
.faq-list { max-width: 850px; margin: 25px auto 0; border-top: 1px solid var(--border); }
.faq-list article { padding: 20px 22px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); border-left: 1px solid var(--border); }
.ready-card { padding: 44px 36px; color: var(--white); background: var(--brand); text-align: center; }
.ready-card p { margin-bottom: 24px; }
.secondary-button { color: var(--brand-dark); background: var(--white); }

.site-footer { margin-top: 48px; padding: 44px 0 20px; color: var(--white); background: var(--brand); }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-bottom: 30px; }
.footer-brand + p { max-width: 490px; margin: 15px 0 0; color: #dde5f2; font-size: 14px; }
.footer-links { display: flex; gap: 25px; font-size: 14px; }
.footer-links a { text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); color: #dde5f2; font-size: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 850px) {
    .desktop-nav { display: none; }
    .hero { grid-template-columns: 1fr; text-align: center; }
    .hero-copy > p:last-child, h1 { margin-inline: auto; }
    .hero-mark { display: none; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; gap: 24px 0; }
    .process-grid li:nth-child(2) { border-right: 0; }
    .two-column { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
    .site-header { min-height: 65px; }
    .header-inner { flex-wrap: wrap; gap: 12px; }
    .header-button { display: none; }
    .hero { min-height: 0; margin-block: 20px; padding: 35px 22px; }
    h1 { font-size: 2.45rem; letter-spacing: -1.5px; }
    .hero-copy > p:last-child { font-size: 16px; }
    .card, .ready-card { margin-bottom: 20px; padding: 24px 20px; }
    .feature-panel { padding: 20px; }
    .feature-grid, .process-grid { grid-template-columns: 1fr; }
    .process-grid li, .process-grid li:nth-child(2) { padding-block: 20px; border-right: 0; border-bottom: 1px solid var(--border); }
    .process-grid li:last-child { border-bottom: 0; }
    .footer-main, .footer-bottom { flex-direction: column; }
    .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Application */
.secure-label { font-size: 14px; }
.application-page { padding: 45px 0 70px; }
.application-heading { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-bottom: 30px; }
.application-heading h1 { margin-bottom: 8px; font-size: clamp(2rem, 5vw, 3.25rem); }
.application-heading > div > p:last-child { margin-bottom: 0; color: var(--muted); }
.application-steps { display: flex; align-items: center; }
.application-steps span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--muted); background: var(--card); font-size: 13px; font-weight: 700; }
.application-steps span.active { border-color: var(--brand); color: var(--white); background: var(--brand); }
.application-steps i { width: 34px; height: 1px; background: var(--border); }
.form-alert { margin-bottom: 22px; padding: 18px 22px; border: 1px solid #e7b1ad; border-radius: 8px; color: #7f2821; background: #fff3f2; }
.form-alert strong { display: block; }
.form-alert ul { margin: 8px 0 0; padding-left: 22px; }
.info-alert { border-color: #b9c9e2; color: var(--brand-dark); background: #f0f4fa; }
.form-card { margin-bottom: 22px; padding: 30px 34px; border-radius: 12px; background: var(--card); box-shadow: 0 1px 3px rgba(32,54,87,.1); }
.form-card-title { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.form-card-title > span { width: 36px; height: 36px; display: grid; flex: 0 0 36px; place-items: center; border-radius: 50%; color: var(--white); background: var(--brand); font-weight: 700; }
.form-card-title h2 { margin: 0 0 2px; font-size: 22px; font-weight: 600; }
.form-card-title p { margin: 0; color: var(--muted); font-size: 14px; }
.application-panel { padding: 0; }
.application-panel > summary { margin: 0; padding: 22px 28px; border: 0; cursor: pointer; list-style: none; }
.application-panel > summary::-webkit-details-marker { display: none; }
.application-panel > summary > div { flex: 1; }
.panel-toggle { color: var(--brand); font-size: 12px; font-weight: 600; }
.application-panel[open] .panel-toggle { font-size: 0; }
.application-panel[open] .panel-toggle::after { content: "Close"; font-size: 12px; }
.application-panel[open] > summary { border-bottom: 1px solid var(--border); }
.panel-content { padding: 25px 28px 8px; }
.panel-actions { display: flex; justify-content: flex-end; padding: 12px 28px 25px; }
.panel-actions button { min-height: 42px; padding: 0 17px; border: 0; border-radius: 6px; color: var(--white); background: var(--brand); font: 600 13px "Manrope", Arial, sans-serif; cursor: pointer; }
.panel-actions button:hover { background: var(--brand-dark); }
.field-label { display: block; margin: 0 0 8px; color: var(--text); font-size: 14px; font-weight: 600; }
.field-label span { color: var(--muted); font-weight: 400; }
.text-input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cbd2dc; border-radius: 7px; color: var(--text); background: var(--white); font: inherit; }
textarea.text-input { resize: vertical; }
.text-input:focus { outline: 3px solid rgba(41,68,111,.16); border-color: var(--brand); }
.field-help { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 24px; padding: 0; border: 0; }
.choice-grid legend { grid-column: 1 / -1; }
.choice { display: flex; align-items: flex-start; gap: 10px; padding: 16px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--brand); background: #f0f4fa; }
.choice input { margin-top: 4px; accent-color: var(--brand); }
.choice strong, .choice small { display: block; }
.choice strong { font-size: 14px; }
.choice small { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.class-options, .inline-choices { margin: 23px 0 0; padding: 0; border: 0; }
.class-options label { display: inline-flex; align-items: center; width: calc(50% - 4px); margin: 5px 0; color: var(--muted); font-size: 14px; }
.class-options input, .inline-choices input, .terms input { accent-color: var(--brand); }
.inline-choices { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: 24px; }
.inline-choices legend { width: 100%; }
.inline-choices label { font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.full-field { grid-column: 1 / -1; }
.checkout-summary { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 35px; padding: 32px 35px; border-radius: 12px; color: var(--white); background: var(--brand); }
.checkout-summary h2 { margin-bottom: 6px; font-size: 23px; }
.checkout-summary p { margin-bottom: 17px; color: #e4eaf3; font-size: 14px; }
.terms { display: flex; align-items: flex-start; gap: 9px; max-width: 720px; font-size: 13px; }
.terms input { margin-top: 4px; }
.pay-button { min-height: 50px; display: inline-flex; align-items: center; gap: 18px; padding: 0 22px; border: 0; border-radius: 7px; color: var(--white); background: var(--action); font: 600 14px "Manrope", Arial, sans-serif; cursor: pointer; }
.pay-button:hover { background: #c8612f; }
.application-footer { padding: 24px 0; color: #dce4f1; background: var(--brand-dark); font-size: 12px; }
.application-footer .container { display: flex; justify-content: space-between; }
.result-page { min-height: calc(100vh - 72px); display: grid; place-items: center; padding-block: 50px; }
.result-card { width: min(700px, 100%); padding: 55px; border-radius: 12px; background: var(--card); box-shadow: 0 1px 4px rgba(32,54,87,.14); text-align: center; }
.result-card h1 { margin-inline: auto; font-size: clamp(2rem, 5vw, 3rem); }
.result-card > p:not(.kicker) { color: var(--muted); }
.result-icon { width: 66px; height: 66px; display: grid; margin: 0 auto 22px; place-items: center; border-radius: 50%; color: var(--white); background: #397b55; font-size: 30px; font-weight: 700; }
.result-icon.pending { background: var(--action); }

@media (max-width: 720px) {
    .application-heading { align-items: flex-start; flex-direction: column; gap: 22px; }
    .choice-grid, .form-grid, .checkout-summary { grid-template-columns: 1fr; }
    .class-options label { width: 100%; }
    .pay-button { width: 100%; justify-content: center; }
}

@media (max-width: 580px) {
    .secure-label { display: none; }
    .application-page { padding-top: 28px; }
    .form-card, .checkout-summary { padding: 23px 19px; }
    .application-footer .container { flex-direction: column; gap: 6px; }
    .result-card { padding: 36px 22px; }
}

/* Interactive application fields */
[hidden] { display: none !important; }
.uppercase-input { text-transform: uppercase; }
.upload-zone { min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 25px; border: 2px dashed #bcc6d4; border-radius: 8px; background: #fafbfc; color: var(--muted); cursor: pointer; text-align: center; }
.upload-zone:hover { border-color: var(--brand); background: #f3f6fa; }
.upload-zone input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.upload-zone strong { color: var(--brand); font-size: 15px; }
.upload-zone small { font-size: 12px; }
.upload-symbol { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--brand); font-size: 22px; }
#logo-preview { max-width: 220px; max-height: 140px; margin-top: 12px; object-fit: contain; }
#combined-word-field { margin-top: 20px; }
.simple-guidance { margin-bottom: 20px; padding: 12px 14px; border-left: 3px solid var(--brand); color: var(--muted); background: #f4f7fb; font-size: 13px; }
.simple-guidance strong { color: var(--text); }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-button { min-width: 105px; border: 0; border-radius: 7px; color: var(--white); background: var(--brand); font: 600 14px "Manrope", Arial, sans-serif; cursor: pointer; }
.search-button:hover { background: var(--brand-dark); }
.trending-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.trending-searches button, .text-button, .remove-owner, .remove-class { padding: 0; border: 0; color: var(--brand); background: transparent; font: inherit; text-decoration: underline; cursor: pointer; }
.selection-live:not(:empty) { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--brand); color: var(--brand-dark); background: #f1f5fa; font-size: 12px; }
.goods-results { max-height: 500px; overflow: auto; margin-top: 18px; border: 1px solid var(--border); border-radius: 8px; }
.goods-results:empty { display: none; }
.results-intro { display: flex; align-items: center; gap: 9px; padding: 13px 15px; border-bottom: 1px solid var(--border); background: var(--white); font-size: 13px; }
.step-label { display: inline-block; padding: 3px 7px; border-radius: 4px; color: var(--brand); background: #e8eef7; font-size: 11px; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.result-class-heading { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 15px; border-bottom: 1px solid var(--border); background: #f1f4f8; }
.result-class-heading h3 { position: static; margin: 0; padding: 0; border: 0; color: var(--brand-dark); background: transparent; font-size: 14px; }
.fee-state { flex: 0 0 auto; color: #8a5b18; font-size: 11px; font-weight: 600; }
.fee-state.included { color: #37654b; }
.result-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 51px; padding: 9px 12px 9px 15px; border-bottom: 1px solid #edf0f4; font-size: 13px; }
.result-item:last-child { border-bottom: 0; }
.result-item:hover { background: #fafbfc; }
.result-item.is-selected { background: #f1f6f3; }
.description-button { min-width: 122px; flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--brand); border-radius: 5px; color: var(--brand); background: var(--white); font: 600 11px "Manrope", Arial, sans-serif; cursor: pointer; }
.description-button:hover { color: var(--white); background: var(--brand); }
.description-button.added { border-color: #70917d; color: #37654b; background: #e8f1eb; }
.empty-results, .empty-selection { margin: 0; padding: 18px; color: var(--muted); font-size: 13px; }
.empty-selection strong, .empty-selection span { display: block; }
.empty-selection strong { margin-bottom: 3px; color: var(--text); }
.selected-goods-panel { margin-top: 24px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.selected-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; padding: 17px 19px; background: #f6f8fa; }
.selected-heading h3 { margin: 0 0 3px; font-size: 16px; }
.selected-heading .step-label { margin-bottom: 6px; }
.selected-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.selected-heading > strong { white-space: nowrap; color: var(--brand); font-size: 14px; }
.selected-class { border-top: 1px solid var(--border); }
.selected-class-heading { display: flex; align-items: center; gap: 12px; padding: 11px 18px; background: #fcfcfd; font-size: 13px; }
.selected-class-heading span { color: var(--muted); }
.selected-class-heading .class-fee-label { padding: 2px 6px; border-radius: 4px; color: #37654b; background: #e8f1eb; font-size: 10px; font-style: normal; font-weight: 700; text-transform: uppercase; }
.selected-class-heading .remove-class { margin-left: auto; font-size: 12px; }
.selected-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 9px 18px 9px 30px; color: var(--muted); font-size: 12px; }
.selected-item button { flex: 0 0 auto; border: 0; color: #8a3540; background: transparent; font-size: 19px; line-height: 1; cursor: pointer; }
.owner-name-row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 15px; margin-bottom: 15px; }
.owner-name-row > div { min-width: 0; }
.remove-owner { margin-bottom: 13px; color: #8a3540; font-size: 12px; }
.text-button { margin: 0 0 24px; font-size: 13px; font-weight: 600; }
.owner-details-grid { padding-top: 23px; border-top: 1px solid var(--border); }
.same-contact { display: block; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.same-contact input { accent-color: var(--brand); }
.fee-table { max-width: 650px; margin-bottom: 13px; }
.fee-table > div { display: flex; justify-content: space-between; gap: 25px; padding: 6px 0; color: #e4eaf3; font-size: 13px; }
.fee-table > div strong { color: var(--white); }
.fee-table .fee-total { margin-top: 5px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.3); color: var(--white); font-size: 16px; font-weight: 700; }
.privacy-notice { margin: 14px 0 8px; color: #d7e0eb; font-size: 12px; }
.privacy-notice a, .terms a, .application-footer a { color: inherit; }
.legal-page { max-width: 920px; padding-top: 46px; padding-bottom: 70px; }
.legal-card { padding: clamp(28px, 5vw, 58px); }
.legal-card h1 { margin: 4px 0 5px; color: var(--brand-dark); font-size: clamp(32px, 5vw, 48px); }
.legal-card h2 { margin: 32px 0 10px; color: var(--brand-dark); font-size: 20px; }
.legal-card p, .legal-card li { color: var(--muted); line-height: 1.75; }
.legal-card ul { padding-left: 22px; }
.legal-card a { color: var(--brand); }
.legal-updated { margin-top: 0; font-size: 13px; }

@media (max-width: 580px) {
    .application-panel > summary { padding: 19px; }
    .panel-content { padding: 22px 19px 6px; }
    .panel-actions { padding: 12px 19px 22px; }
    .panel-actions button { width: 100%; }
    .search-row { grid-template-columns: 1fr; }
    .search-button { min-height: 45px; }
    .selected-heading { flex-direction: column; gap: 8px; }
    .result-class-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
    .result-item { align-items: flex-start; flex-direction: column; }
    .description-button { width: 100%; }
}
