:root {
    --bg: #f4f6f2;
    --surface: #ffffff;
    --surface-soft: #f9faf7;
    --ink: #1d2834;
    --muted: #5c6672;
    --line: #d9e0e7;
    --primary: #f06f2d;
    --primary-strong: #ce5821;
    --secondary: #0f6c69;
    --secondary-soft: #e8f5f4;
    --danger: #c53131;
    --danger-soft: #ffe8e8;
    --success: #0d8e63;
    --success-soft: #e6f7f0;

    --font-display: "Manrope", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
    --font-body: "Noto Sans KR", "Apple SD Gothic Neo", "Segoe UI", sans-serif;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 6px 16px rgba(21, 35, 52, 0.08);
    --shadow-md: 0 16px 36px rgba(21, 35, 52, 0.12);
    --shadow-lg: 0 28px 70px rgba(21, 35, 52, 0.16);
    --transition: 200ms ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 0% 0%, rgba(15, 108, 105, 0.09), transparent 36%),
        radial-gradient(circle at 92% 8%, rgba(240, 111, 45, 0.13), transparent 32%),
        var(--bg);
    font-family: var(--font-body);
    line-height: 1.55;
    min-height: 100vh;
}

a {
    color: inherit;
}

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

.section {
    padding: 88px 0;
}

.kicker {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--secondary);
    margin: 0 0 10px;
}

.section-head {
    margin-bottom: 28px;
}

.section-head h2 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 2vw, 2.45rem);
    line-height: 1.2;
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

.card {
    background: var(--surface);
    border: 1px solid rgba(15, 31, 47, 0.08);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.hidden {
    display: none !important;
}

.bg-glow {
    position: fixed;
    z-index: -1;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    filter: blur(64px);
    opacity: 0.38;
    pointer-events: none;
}

.bg-glow-a {
    background: rgba(240, 111, 45, 0.35);
    top: -120px;
    right: -110px;
}

.bg-glow-b {
    background: rgba(15, 108, 105, 0.3);
    bottom: -150px;
    left: -80px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid rgba(14, 34, 52, 0.08);
    backdrop-filter: blur(14px);
    background: rgba(244, 246, 242, 0.88);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-family: var(--font-display);
    font-weight: 800;
    color: #fff;
    background: linear-gradient(140deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 24px rgba(240, 111, 45, 0.26);
}

.brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    margin-right: 8px;
}

.site-nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 500;
    transition: color var(--transition);
}

.site-nav a:hover {
    color: var(--ink);
}

.btn {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 12px 20px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.93rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

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

.btn-small {
    padding: 9px 15px;
    font-size: 0.83rem;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(140deg, var(--primary), var(--primary-strong));
    box-shadow: 0 12px 26px rgba(220, 90, 32, 0.26);
}

.btn-primary:hover {
    box-shadow: 0 16px 32px rgba(220, 90, 32, 0.32);
}

.btn-ghost {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.7);
    border-color: var(--line);
}

.btn-ghost:hover {
    border-color: #c0cad3;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 28px;
    align-items: stretch;
}

.hero-copy {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.84));
    border: 1px solid rgba(15, 31, 47, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: clamp(28px, 4vw, 46px);
}

.hero-copy h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.2vw, 3.15rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-description {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.04rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero-points {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #425160;
    font-size: 0.95rem;
}

.hero-points li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
}

.hero-status {
    padding: 24px 20px;
}

.hero-status h2 {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: 1.18rem;
}

.status-line {
    display: grid;
    gap: 10px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.status-badge.checking {
    background: #f3f4f6;
    color: #404952;
}

.status-badge.online {
    background: var(--success-soft);
    color: var(--success);
}

.status-badge.offline {
    background: var(--danger-soft);
    color: var(--danger);
}

.status-text {
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-status hr {
    border: 0;
    border-top: 1px dashed var(--line);
    margin: 18px 0 14px;
}

.status-label {
    margin: 0 0 8px;
    color: #3a4652;
    font-weight: 700;
    font-size: 0.88rem;
}

.status-steps {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    font-size: 0.9rem;
    display: grid;
    gap: 5px;
}

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

.feature {
    padding: 22px;
}

.feature h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.08rem;
}

.feature p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.community-meta {
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(15, 108, 105, 0.16);
    background: linear-gradient(140deg, #ffffff, #f4faf9);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.community-meta p {
    margin: 0;
    color: #506274;
    font-size: 0.86rem;
}

.virtual-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #e8f5f4;
    color: #0f6c69;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 10px;
    letter-spacing: 0.04em;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.community-post {
    padding: 14px;
    display: grid;
    gap: 11px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.community-post:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.post-media {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #dce4eb;
    background: #f2f6fb;
    aspect-ratio: 16 / 10;
}

.post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.post-user strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.98rem;
}

.post-user span {
    display: block;
    margin-top: 3px;
    color: #5f6f80;
    font-size: 0.8rem;
}

.post-rating {
    font-family: var(--font-display);
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    color: #d67821;
    white-space: nowrap;
}

.post-body {
    margin: 0;
    color: #445567;
    font-size: 0.9rem;
}

.post-tags {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.post-tags li {
    border: 1px solid #d2dde6;
    border-radius: 999px;
    background: #f8fbff;
    color: #4f6072;
    font-size: 0.77rem;
    padding: 4px 9px;
}

.quote-layout {
    display: grid;
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.error-panel {
    margin-bottom: 16px;
    border-color: rgba(197, 49, 49, 0.2);
    background: linear-gradient(140deg, #fff, #fff7f7);
    padding: 20px;
}

.error-panel h3 {
    margin: 0;
    font-family: var(--font-display);
}

.error-panel p {
    margin: 8px 0 0;
    color: var(--muted);
}

.error-help {
    margin-top: 14px;
    padding: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(240, 111, 45, 0.3);
    background: #fff8f2;
    display: grid;
    gap: 10px;
}

.error-panel .btn {
    margin-top: 14px;
}

.quote-uploader {
    padding: 22px;
    position: sticky;
    top: 92px;
}

.quote-uploader h3 {
    margin: 0 0 14px;
    font-family: var(--font-display);
}

.drop-zone {
    border: 2px dashed #c5d0da;
    border-radius: var(--radius-md);
    background: var(--surface-soft);
    padding: 32px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition), transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.drop-zone:focus-visible {
    outline: 3px solid rgba(240, 111, 45, 0.26);
    outline-offset: 2px;
}

.drop-zone:hover {
    border-color: #adb9c6;
}

.drop-zone.is-dragover {
    border-color: var(--primary);
    transform: translateY(-1px) scale(1.01);
    background: #fff6f0;
    box-shadow: inset 0 0 0 1px rgba(240, 111, 45, 0.22);
}

.drop-zone.is-invalid {
    border-color: var(--danger);
    background: #fff4f4;
}

.drop-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    color: var(--secondary);
    background: rgba(15, 108, 105, 0.12);
}

.drop-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.03rem;
    font-weight: 700;
}

.drop-subtitle {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.drop-tags {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.drop-tags span {
    font-size: 0.75rem;
    color: #495767;
    border: 1px solid #cad5df;
    border-radius: 999px;
    padding: 4px 9px;
    background: #fff;
}

.selected-file {
    margin-top: 14px;
    border-radius: var(--radius-sm);
    border: 1px solid #d8e4ee;
    background: #f4faff;
    padding: 12px 13px;
}

.selected-file p {
    margin: 0 0 4px;
    font-size: 0.78rem;
    color: #52606f;
}

.selected-file strong {
    display: block;
    font-size: 0.9rem;
    word-break: break-all;
}

.selected-file span {
    display: block;
    margin-top: 3px;
    font-size: 0.82rem;
    color: #5f6d7b;
}

.selected-file-list {
    margin: 8px 0 0;
    padding-left: 17px;
    max-height: 110px;
    overflow: auto;
    display: grid;
    gap: 4px;
}

.selected-file-list li {
    color: #4f6175;
    font-size: 0.8rem;
}

.input-label {
    display: block;
    margin-top: 16px;
    font-size: 0.86rem;
    color: #3d4a57;
    font-weight: 700;
}

.input-select {
    width: 100%;
    margin-top: 7px;
    padding: 11px 12px;
    border: 1px solid #cfd8e1;
    border-radius: 11px;
    font-size: 0.93rem;
    font-family: var(--font-body);
    background: #fff;
}

.input-text {
    width: 100%;
    margin-top: 7px;
    padding: 11px 12px;
    border: 1px solid #cfd8e1;
    border-radius: 11px;
    font-size: 0.93rem;
    font-family: var(--font-body);
    background: #fff;
}

.member-inline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

#member-status[data-type="success"] {
    color: #1e7f5e;
    font-weight: 700;
}

#member-status[data-type="error"] {
    color: #b03838;
    font-weight: 700;
}

.helper-text {
    margin: 12px 0 0;
    color: #5b6a79;
    font-size: 0.82rem;
}

.quote-checklist {
    margin-top: 14px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #d8e2eb;
    background: #fbfcff;
}

.quote-checklist p {
    margin: 0;
    font-size: 0.78rem;
    color: #445362;
    font-weight: 800;
}

.quote-checklist ul {
    margin: 8px 0 0;
    padding-left: 17px;
    display: grid;
    gap: 5px;
    color: #566577;
    font-size: 0.8rem;
}

.quote-result-wrap {
    display: grid;
    gap: 14px;
}

.quote-empty {
    padding: 26px;
}

.quote-empty h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.quote-empty p {
    margin: 8px 0 0;
    color: var(--muted);
}

.quote-result {
    display: grid;
    gap: 14px;
    animation: rise-in 280ms ease;
}

.quote-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.result-card {
    border-radius: var(--radius-sm);
    padding: 16px;
    color: #102030;
    border: 1px solid rgba(15, 31, 47, 0.08);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.result-card p {
    margin: 0;
    font-size: 0.8rem;
    color: #4f5f70;
    font-weight: 700;
}

.result-card strong {
    margin-top: 6px;
    display: block;
    font-family: var(--font-display);
    font-size: 1.42rem;
    line-height: 1.2;
}

.result-card span {
    display: block;
    margin-top: 4px;
    color: #617183;
    font-size: 0.78rem;
}

.result-card.price {
    background: linear-gradient(140deg, #fff6f0, #fff);
}

.result-card.leadtime {
    background: linear-gradient(140deg, #f0fcfa, #fff);
}

.result-card.material {
    background: linear-gradient(140deg, #f4f8ff, #fff);
}

.result-card.status {
    background: linear-gradient(140deg, #f7f7ff, #fff);
}

.result-detail {
    padding: 20px;
}

.result-detail h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1rem;
}

.multi-quote-summary {
    padding: 18px;
}

.multi-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.multi-head h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1rem;
}

.multi-head p {
    margin: 0;
    font-size: 0.84rem;
    color: #536375;
}

.multi-quote-list {
    display: grid;
    gap: 8px;
}

.multi-item {
    border: 1px solid #dbe5ef;
    border-radius: 10px;
    background: #fbfdff;
    text-align: left;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.multi-item:hover {
    border-color: #c6d3df;
    background: #f6faff;
}

.multi-item strong {
    font-size: 0.87rem;
    color: #223345;
    word-break: break-all;
}

.multi-item span {
    font-size: 0.78rem;
    color: #5e6f81;
}

.detail-grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.detail-grid div {
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid #dde6ee;
    background: #fbfcfd;
}

.detail-grid span {
    display: block;
    font-size: 0.74rem;
    color: #566677;
}

.detail-grid strong {
    margin-top: 6px;
    display: block;
    font-size: 0.9rem;
    color: #1f2f40;
    word-break: break-word;
}

.thumbnail-container {
    padding: 0;
    min-height: 230px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

#thumbnail-canvas {
    width: 100% !important;
    height: 230px !important;
    display: block;
}

.thumbnail-fallback {
    color: #627387;
    text-align: center;
    font-size: 0.87rem;
    padding: 0 16px;
}

.share {
    padding: 16px;
}

.share p {
    margin: 0 0 8px;
    font-size: 0.88rem;
    color: #4a5b6c;
}

.share-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.share-box input {
    min-width: 0;
    border: 1px solid #ced8e2;
    background: #fff;
    border-radius: 10px;
    padding: 10px 11px;
    font-size: 0.86rem;
    color: #3f4f60;
}

.result-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.lookup {
    margin-top: 16px;
    padding: 20px;
}

.lookup h3 {
    margin: 0;
    font-family: var(--font-display);
}

.lookup p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.lookup-form {
    margin-top: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.lookup-form input {
    min-width: 0;
    border: 1px solid #ced8e2;
    border-radius: 11px;
    padding: 11px 12px;
    font-size: 0.9rem;
}

.limit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.limit-card {
    padding: 20px;
    background: linear-gradient(150deg, #fff, #fcfefd);
}

.limit-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.06rem;
}

.limit-card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.limit-card strong {
    margin-top: 10px;
    display: block;
    color: #1f5a59;
    font-size: 0.85rem;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    padding: 14px 16px;
}

.faq-item summary {
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 0.97rem;
    font-weight: 700;
    list-style: none;
    position: relative;
    padding-right: 22px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    color: #526272;
}

.faq-item[open] summary::after {
    content: "-";
}

.faq-item p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.consult-shell {
    max-width: 860px;
}

.consult-form {
    padding: 22px;
}

.form-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid label {
    display: grid;
    gap: 8px;
    font-size: 0.88rem;
    color: #344151;
    font-weight: 700;
}

.form-grid label.full {
    grid-column: 1 / -1;
}

.consent-check {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px;
    font-weight: 600 !important;
    color: #3f4d5a !important;
}

.consent-check input {
    margin-top: 2px;
    width: 16px;
    height: 16px;
}

.consent-check span {
    font-size: 0.84rem;
    line-height: 1.4;
}

.form-grid input,
.form-grid textarea {
    border: 1px solid #ccd7e2;
    border-radius: 12px;
    padding: 11px 12px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: #202e3e;
    background: #fff;
    resize: vertical;
}

.form-actions {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-footer {
    border-top: 1px solid rgba(15, 31, 47, 0.09);
    background: rgba(255, 255, 255, 0.56);
    backdrop-filter: blur(10px);
}

.footer-inner {
    min-height: 74px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 18px;
    color: #526172;
    font-size: 0.88rem;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(250, 252, 249, 0.92);
    backdrop-filter: blur(5px);
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity var(--transition);
}

.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid rgba(15, 108, 105, 0.18);
    border-top-color: var(--secondary);
    animation: spin 0.9s linear infinite;
}

.loading-overlay p {
    margin: 10px 0 0;
}

#loading-message {
    font-family: var(--font-display);
    font-weight: 700;
    margin-top: 14px;
}

#loading-submessage {
    color: #5b6977;
    font-size: 0.86rem;
}

.progress-shell {
    width: min(340px, calc(100% - 44px));
    margin-top: 14px;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: #dce4eb;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transition: width 160ms ease;
}

.notice-region {
    position: fixed;
    top: 86px;
    right: 18px;
    z-index: 95;
    display: grid;
    gap: 8px;
    max-width: min(360px, calc(100% - 28px));
}

.notice {
    border-radius: 12px;
    padding: 11px 13px;
    color: #fff;
    box-shadow: var(--shadow-md);
    animation: rise-in 180ms ease;
    font-size: 0.88rem;
    line-height: 1.4;
}

.notice.info {
    background: #2f6f95;
}

.notice.success {
    background: #1e7f5e;
}

.notice.error {
    background: #b03838;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .site-nav {
        display: none;
    }

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

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

    .quote-uploader {
        position: static;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 68px 0;
    }

    .shell {
        width: min(1120px, calc(100% - 26px));
    }

    .feature-grid,
    .community-grid,
    .limit-grid,
    .form-grid,
    .quote-card-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .lookup-form,
    .share-box,
    .member-inline {
        grid-template-columns: 1fr;
    }

    .nav-shell {
        min-height: 66px;
        gap: 12px;
    }

    .brand-text {
        font-size: 0.9rem;
    }

    .hero-copy {
        padding: 26px 20px;
    }

    .community-meta {
        align-items: flex-start;
    }

    .result-actions {
        justify-content: stretch;
    }

    .result-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
