@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;800&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
    --bg: #10201c;
    --bg-deep: #091411;
    --bg-ink: #132823;
    --surface: rgba(19, 33, 29, 0.76);
    --surface-strong: rgba(13, 22, 19, 0.9);
    --surface-light: rgba(245, 237, 226, 0.92);
    --surface-soft: rgba(255, 247, 238, 0.72);
    --line: rgba(255, 255, 255, 0.11);
    --line-dark: rgba(16, 32, 28, 0.12);
    --text: #f7f2eb;
    --text-strong: #14211d;
    --text-soft: rgba(247, 242, 235, 0.72);
    --text-muted: rgba(247, 242, 235, 0.56);
    --text-earth: rgba(20, 33, 29, 0.62);
    --accent: #ca6b45;
    --accent-soft: #f2c4a2;
    --accent-deep: #6f2d1f;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
    --shadow-soft: 0 16px 36px rgba(0, 0, 0, 0.16);
    --radius-xl: 34px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.app-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Noto Sans KR", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(242, 196, 162, 0.16), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(202, 107, 69, 0.22), transparent 20%),
        radial-gradient(circle at 50% 100%, rgba(65, 118, 103, 0.24), transparent 30%),
        linear-gradient(145deg, var(--bg-deep), var(--bg) 38%, var(--bg-ink));
    overflow-x: hidden;
}

body.app-body::before,
body.app-body::after {
    content: "";
    position: fixed;
    inset: auto;
    z-index: 0;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(18px);
    opacity: 0.28;
}

body.app-body::before {
    width: 24rem;
    height: 24rem;
    top: 5rem;
    right: -6rem;
    background: rgba(202, 107, 69, 0.35);
    animation: drift 14s ease-in-out infinite alternate;
}

body.app-body::after {
    width: 20rem;
    height: 20rem;
    left: -5rem;
    bottom: 8rem;
    background: rgba(139, 189, 171, 0.18);
    animation: drift 18s ease-in-out infinite alternate-reverse;
}

body.page-recommend-form,
body.page-recommend-list,
body.page-laptop-detail {
    color: var(--text-strong);
    background-color: #ffffff;
    background-image:
        radial-gradient(circle at top left, rgba(202, 107, 69, 0.04), transparent 24%),
        radial-gradient(circle at 88% 10%, rgba(202, 107, 69, 0.05), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.98));
}

body.page-recommend-form::before,
body.page-recommend-list::before,
body.page-laptop-detail::before {
    background: rgba(202, 107, 69, 0.12);
    opacity: 0.14;
}

body.page-recommend-form::after,
body.page-recommend-list::after,
body.page-laptop-detail::after {
    background: rgba(82, 121, 108, 0.08);
    opacity: 0.12;
}

body.page-recommend-form .site-header,
body.page-recommend-list .site-header,
body.page-laptop-detail .site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(20, 33, 29, 0.08);
}

body.page-recommend-form .site-brand-note,
body.page-recommend-list .site-brand-note,
body.page-laptop-detail .site-brand-note {
    color: rgba(20, 33, 29, 0.45);
}

body.page-recommend-form .eyebrow,
body.page-recommend-list .eyebrow,
body.page-laptop-detail .eyebrow {
    color: var(--accent-deep);
}

a {
    color: inherit;
    text-decoration: none;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem clamp(1rem, 3vw, 2.4rem);
    backdrop-filter: blur(18px);
    background: linear-gradient(180deg, rgba(9, 20, 17, 0.88), rgba(9, 20, 17, 0.42));
    border-bottom: 1px solid var(--line);
}

.site-brand {
    display: inline-flex;
    flex-direction: column;
    gap: 0.15rem;
}

.site-brand-mark {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-brand-note {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 3rem) 0 4rem;
}

.eyebrow {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-soft);
}

.section-title {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.3rem, 5vw, 4.1rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.section-lead {
    margin: 0;
    max-width: 42rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-soft);
}

.reveal {
    opacity: 0;
    animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--delay, 0s);
}

.recommend-shell {
    min-height: calc(100svh - 82px);
    display: grid;
    align-items: center;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
}

.hero-copy {
    display: grid;
    gap: 1.2rem;
    align-content: center;
    padding: clamp(1rem, 2vw, 2rem) 0;
}

.hero-title {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(3rem, 7vw, 5.8rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
}

.hero-lead {
    margin: 0;
    max-width: 42rem;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-soft);
}

.hero-marquee {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.hero-marquee span,
.criteria-pill,
.usage-chip,
.reason-pill {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.hero-marquee span {
    padding: 0.72rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-soft);
    font-size: 0.92rem;
}

.hero-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.4rem;
}

.hero-rail article {
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.rail-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: var(--accent-soft);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-rail strong {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.hero-rail p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.curation-panel {
    position: relative;
    overflow: visible;
    border-radius: var(--radius-xl);
    padding: clamp(1.4rem, 2vw, 2rem);
    color: var(--text-strong);
    background:
        radial-gradient(circle at top right, rgba(202, 107, 69, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(250, 243, 234, 0.98), rgba(239, 227, 214, 0.94));
    border: 1px solid rgba(20, 33, 29, 0.08);
    box-shadow: var(--shadow);
}

.curation-panel::after {
    content: "";
    position: absolute;
    right: -2rem;
    bottom: -3rem;
    width: 12rem;
    height: 12rem;
    border-radius: 999px;
    background: rgba(202, 107, 69, 0.08);
    filter: blur(8px);
}

.panel-kicker {
    position: relative;
    z-index: 1;
    margin: 0 0 1.2rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-deep);
}

.curation-form {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.1rem;
}

.field-block {
    display: grid;
    gap: 0.58rem;
    animation-delay: var(--delay, 0s);
}

.field-label {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(20, 33, 29, 0.62);
}

.field-hint {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-earth);
}

.budget-display,
.weight-display {
    color: rgba(20, 33, 29, 0.58);
}

.preset-input-block {
    display: grid;
    gap: 0.72rem;
}

.curation-form .combo-input {
    min-height: 3rem;
    border: 0;
    background: transparent;
    padding-inline: 1rem 0.8rem;
}

.curation-form .combo-input:focus {
    box-shadow: none;
}

.preset-input-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0;
    min-height: 3.8rem;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(20, 33, 29, 0.1);
    background: linear-gradient(180deg, rgba(251, 244, 236, 0.94), rgba(242, 232, 219, 0.82));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 12px 26px rgba(20, 33, 29, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.preset-input-group:focus-within {
    border-color: rgba(202, 107, 69, 0.42);
    box-shadow: 0 0 0 0.22rem rgba(202, 107, 69, 0.1);
}

.preset-input-group .form-control {
    min-height: 3.8rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text-strong);
    font-size: 1rem;
}

.preset-input-group .form-control:focus {
    box-shadow: none;
}

.preset-input-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.75rem;
    padding-inline: 0.95rem;
    border: 0;
    border-left: 1px solid rgba(20, 33, 29, 0.08);
    border-radius: 0;
    background: rgba(243, 235, 225, 0.92);
    color: var(--text-strong);
    box-shadow: none;
}

.preset-input-toggle:hover,
.preset-input-toggle:focus-visible {
    background: rgba(237, 228, 217, 0.98);
    color: var(--text-strong);
    outline: none;
    box-shadow: none;
}

.preset-input-toggle::after {
    margin-left: 0;
    border-top-color: currentColor;
}

.preset-dropdown-menu {
    min-width: 100%;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border: 1px solid rgba(20, 33, 29, 0.1);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(251, 246, 238, 0.98), rgba(242, 232, 220, 0.98));
    box-shadow: 0 22px 48px rgba(9, 20, 17, 0.16);
}

.preset-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 2.8rem;
    padding: 0.68rem 0.82rem;
    border-radius: 12px;
    color: var(--text-strong);
    font-weight: 700;
}

.preset-dropdown-item:hover,
.preset-dropdown-item:focus {
    background: rgba(20, 33, 29, 0.07);
    color: var(--text-strong);
}

.preset-dropdown-item.is-active,
.preset-dropdown-item.active,
.preset-dropdown-item:active {
    background: rgba(29, 41, 35, 0.9);
    color: #fff8f2;
}

.usecase-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
}

.usecase-card {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

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

.usecase-card span {
    display: grid;
    gap: 0.28rem;
    width: 100%;
    min-height: 5.9rem;
    align-content: start;
    padding: 1rem 1rem 0.95rem;
    border-radius: 22px;
    border: 1px solid rgba(20, 33, 29, 0.1);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-strong);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.usecase-card strong {
    font-size: 0.97rem;
}

.usecase-card small {
    font-size: 0.83rem;
    line-height: 1.55;
    color: var(--text-earth);
}

.usecase-card input:checked + span {
    transform: translateY(-2px);
    background: rgba(29, 41, 35, 0.92);
    border-color: rgba(202, 107, 69, 0.22);
    color: #fff8f2;
    box-shadow: 0 12px 24px rgba(9, 20, 17, 0.12);
}

.usecase-card input:checked + span small {
    color: rgba(255, 248, 242, 0.78);
}

.curation-form .form-control,
.curation-form .form-select {
    min-height: 3.7rem;
    border-radius: 18px;
    border: 1px solid rgba(20, 33, 29, 0.12);
    background: rgba(255, 255, 255, 0.74);
    color: var(--text-strong);
    box-shadow: none;
}

.curation-form .form-control:focus,
.curation-form .form-select:focus {
    border-color: rgba(202, 107, 69, 0.72);
    box-shadow: 0 0 0 0.22rem rgba(202, 107, 69, 0.16);
}

.size-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.64rem;
}

.mode-chip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.72rem;
}

.mode-chip {
    position: relative;
    display: inline-flex;
}

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

.mode-chip span {
    display: grid;
    gap: 0.3rem;
    width: 100%;
    padding: 1rem 1rem 0.95rem;
    border-radius: 22px;
    border: 1px solid rgba(20, 33, 29, 0.1);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-strong);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.mode-chip strong {
    font-size: 0.98rem;
}

.mode-chip small {
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--text-earth);
}

.mode-chip input:checked + span {
    transform: translateY(-2px);
    background: rgba(29, 41, 35, 0.92);
    border-color: rgba(202, 107, 69, 0.22);
    color: #fff8f2;
    box-shadow: 0 12px 24px rgba(9, 20, 17, 0.12);
}

.mode-chip input:checked + span small {
    color: rgba(255, 248, 242, 0.78);
}

.size-chip {
    position: relative;
    display: inline-flex;
}

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

.size-chip span {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 5rem;
    padding: 0.9rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 33, 29, 0.08);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-strong);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.size-chip span::after {
    content: "✓";
    position: absolute;
    top: 0.34rem;
    right: 0.54rem;
    font-size: 0.86rem;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.size-chip.is-selected span,
.size-chip input:checked + span {
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(29, 41, 35, 0.94), rgba(22, 33, 29, 0.94));
    color: #fff8f2;
    border-color: rgba(28, 46, 41, 0.9);
    box-shadow: 0 10px 20px rgba(28, 46, 41, 0.14);
}

.size-chip.is-selected span::after,
.size-chip input:checked + span::after {
    opacity: 1;
    transform: scale(1);
    color: rgba(255, 248, 242, 0.92);
}

.size-chip-grid.is-disabled {
    opacity: 0.46;
}

.size-chip input:disabled + span {
    cursor: not-allowed;
}

.field-note {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.6;
    color: rgba(20, 33, 29, 0.56);
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    margin-top: 0.5rem;
}

.primary-button,
.secondary-button,
.ghost-button,
.sort-button,
.page-chip {
    appearance: none;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), #e58d60);
    color: #fff9f4;
    box-shadow: 0 18px 34px rgba(202, 107, 69, 0.28);
    font-size: 1rem;
    font-weight: 700;
}

.secondary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.3rem;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.sort-button:hover,
.page-chip:hover {
    transform: translateY(-2px);
}

.panel-note {
    margin: 0;
    color: rgba(20, 33, 29, 0.58);
    font-size: 0.9rem;
    line-height: 1.7;
}

.page-recommend-form .hero-lead,
.page-recommend-form .hero-marquee span,
.page-recommend-form .hero-rail p,
.page-recommend-form .field-hint,
.page-recommend-form .field-note,
.page-recommend-form .budget-display,
.page-recommend-form .weight-display,
.page-recommend-form .panel-note {
    color: rgba(20, 33, 29, 0.66);
}

.page-recommend-form .hero-marquee span {
    border-color: rgba(20, 33, 29, 0.08);
    background: #ffffff;
    color: rgba(20, 33, 29, 0.72);
    box-shadow: 0 12px 28px rgba(20, 33, 29, 0.04);
}

.page-recommend-form .hero-rail article {
    border-top-color: rgba(20, 33, 29, 0.08);
}

.page-recommend-form .rail-label {
    color: var(--accent-deep);
}

.page-recommend-form .curation-panel {
    background: #ffffff;
    border-color: rgba(20, 33, 29, 0.08);
    box-shadow: 0 20px 44px rgba(20, 33, 29, 0.08);
}

.page-recommend-form .recommend-shell {
    min-height: auto;
    align-items: start;
}

.page-recommend-form .hero-layout {
    align-items: start;
}

.page-recommend-form .hero-copy {
    align-content: start;
    padding-top: clamp(0.4rem, 1vw, 0.9rem);
}

.page-recommend-form .curation-panel::after {
    background: rgba(202, 107, 69, 0.05);
}

.page-recommend-form .curation-form {
    gap: 1.55rem;
}

.page-recommend-form .field-block {
    gap: 0.82rem;
}

.page-recommend-form .field-block + .field-block {
    padding-top: 1.2rem;
    border-top: 1px solid rgba(20, 33, 29, 0.06);
}

.page-recommend-form .secondary-button {
    border-color: rgba(20, 33, 29, 0.1);
    background: #ffffff;
    color: var(--text-strong);
}

.results-shell,
.detail-shell {
    display: grid;
    gap: 1.4rem;
}

.results-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: end;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.criteria-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.criteria-pill {
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-soft);
    font-size: 0.9rem;
}

.results-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.toolbar-meta {
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.95rem;
    color: var(--text-soft);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sort-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.inline-pill-form,
.page-chip-form {
    margin: 0;
}

.sort-button {
    min-height: 2.9rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text-soft);
    font-size: 0.92rem;
    font-weight: 700;
}

.sort-button.is-active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(242, 196, 162, 0.45);
    color: var(--text);
}

.empty-state {
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: var(--shadow-soft);
}

.empty-state h2 {
    margin: 0 0 0.5rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.empty-state p {
    margin: 0 0 1rem;
    color: var(--text-soft);
    line-height: 1.8;
}

.results-stream {
    display: grid;
    gap: 1rem;
}

.page-recommend-list .results-hero {
    border-bottom-color: rgba(20, 33, 29, 0.08);
}

.page-recommend-list .section-lead,
.page-laptop-detail .section-lead,
.page-laptop-detail .detail-copy,
.page-laptop-detail .spec-term,
.page-laptop-detail .metric-label,
.page-recommend-list .toolbar-meta {
    color: rgba(20, 33, 29, 0.66);
}

.page-recommend-list .criteria-pill,
.page-laptop-detail .usage-chip {
    border-color: rgba(20, 33, 29, 0.08);
    background: rgba(255, 255, 255, 0.76);
    color: rgba(20, 33, 29, 0.72);
}

.page-recommend-list .sort-button {
    border-color: rgba(20, 33, 29, 0.1);
    background: rgba(255, 255, 255, 0.76);
    color: rgba(20, 33, 29, 0.72);
}

.page-recommend-list .sort-button.is-active {
    background: rgba(29, 41, 35, 0.92);
    border-color: rgba(29, 41, 35, 0.92);
    color: #fff8f2;
}

.page-recommend-list .empty-state {
    border-color: rgba(20, 33, 29, 0.08);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 44px rgba(20, 33, 29, 0.08);
}

.laptop-tile {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    gap: 1.2rem;
    align-items: center;
    padding: 1.1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(17, 30, 26, 0.88), rgba(12, 23, 20, 0.95));
    box-shadow: var(--shadow-soft);
}

.page-recommend-list .laptop-tile {
    border: 1px solid rgba(20, 33, 29, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 241, 234, 0.96));
    box-shadow: 0 18px 38px rgba(20, 33, 29, 0.07);
}

.tile-media {
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 248, 242, 0.98), rgba(242, 231, 219, 0.9));
    aspect-ratio: 1.22;
    padding: 0.75rem;
}

.page-recommend-list .tile-media {
    border-radius: 14px;
    border: 1px solid rgba(20, 33, 29, 0.08);
    background: #ffffff;
    padding: 0.35rem;
    box-shadow: inset 0 0 0 1px rgba(20, 33, 29, 0.03);
}

.tile-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tile-main {
    display: grid;
    gap: 0.8rem;
}

.tile-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: space-between;
    align-items: center;
}

.tile-manufacturer {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-soft);
}

.page-recommend-list .tile-manufacturer {
    color: var(--accent-deep);
}

.tile-score {
    padding: 0.42rem 0.76rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.92rem;
}

.page-recommend-list .tile-score {
    background: rgba(20, 33, 29, 0.08);
    color: var(--text-strong);
}

.tile-title {
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    line-height: 1.12;
    font-weight: 800;
}

.tile-title:hover {
    color: var(--accent-soft);
}

.page-recommend-list .tile-title:hover {
    color: var(--accent-deep);
}

.reason-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.reason-pill {
    padding: 0.45rem 0.76rem;
    background: rgba(202, 107, 69, 0.14);
    color: #ffd9c6;
    font-size: 0.84rem;
}

.page-recommend-list .reason-pill {
    border-color: rgba(202, 107, 69, 0.14);
    background: rgba(202, 107, 69, 0.1);
    color: var(--accent-deep);
}

.tile-tech-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.72rem;
}

.tile-tech {
    display: grid;
    gap: 0.2rem;
    padding: 0.82rem 0.9rem;
    border-radius: 16px;
    border: 1px solid rgba(20, 33, 29, 0.08);
    background: rgba(255, 255, 255, 0.82);
}

.tile-tech-label {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(20, 33, 29, 0.48);
}

.tile-tech-value {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--text-strong);
}

.tile-specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.tile-specs-primary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tile-spec {
    display: grid;
    gap: 0.16rem;
    padding-top: 0.82rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-recommend-list .tile-spec {
    border-top-color: rgba(20, 33, 29, 0.08);
}

.tile-label {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.page-recommend-list .tile-label {
    color: rgba(20, 33, 29, 0.48);
}

.tile-value {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text);
}

.page-recommend-list .tile-value {
    color: var(--text-strong);
}

.tile-action {
    display: flex;
    align-items: center;
}

.page-recommend-list .ghost-button,
.page-recommend-list .secondary-button,
.page-laptop-detail .secondary-button {
    border-color: rgba(20, 33, 29, 0.1);
    background: rgba(255, 255, 255, 0.76);
    color: var(--text-strong);
}

.pagination-shell {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
    padding-top: 0.6rem;
}

.page-chip {
    min-width: 2.9rem;
    min-height: 2.9rem;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    color: var(--text-soft);
    font-weight: 700;
}

.page-chip.is-active {
    background: linear-gradient(135deg, var(--accent), #e58d60);
    border-color: transparent;
    color: #fff8f2;
}

.page-recommend-list .page-chip {
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(20, 33, 29, 0.08);
    color: rgba(20, 33, 29, 0.64);
}

.page-chip:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    transform: none;
}

.return-row {
    display: flex;
    justify-content: center;
}

.detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.4rem;
    align-items: stretch;
}

.detail-media-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 1.4rem;
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: none;
}

.page-laptop-detail .detail-title,
.page-laptop-detail .detail-price,
.page-laptop-detail .metric-value,
.page-laptop-detail .spec-desc {
    color: var(--text-strong);
}

.page-laptop-detail .detail-media-stage {
    border: 1px solid rgba(20, 33, 29, 0.08);
    background: #ffffff;
    box-shadow: none;
    border-radius: 18px;
}

.detail-media-stage img {
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.14));
}

.page-laptop-detail .detail-media-stage img {
    filter: none;
}

.detail-copy {
    display: grid;
    align-content: center;
    gap: 1rem;
}

.detail-title {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    line-height: 0.94;
    letter-spacing: -0.05em;
}

.usage-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.usage-chip {
    padding: 0.55rem 0.82rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-soft);
    font-size: 0.85rem;
}

.detail-price {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--accent-soft);
}

.detail-summary {
    margin: 0;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--text-soft);
}

.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.metric-band {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.metric-card {
    padding: 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
}

.page-laptop-detail .metric-card,
.page-laptop-detail .spec-panel {
    border-color: rgba(20, 33, 29, 0.08);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 20px 40px rgba(20, 33, 29, 0.06);
}

.metric-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.metric-value {
    display: block;
    font-size: 1.18rem;
    font-weight: 700;
}

.detail-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.spec-panel {
    padding: 1.35rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
}

.spec-panel-title {
    margin: 0 0 1rem;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.35rem;
}

.spec-list {
    display: grid;
    gap: 0.75rem;
}

.spec-row {
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr);
    gap: 0.9rem;
    padding-top: 0.78rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-laptop-detail .spec-row {
    border-top-color: rgba(20, 33, 29, 0.08);
}

.spec-row:first-child {
    padding-top: 0;
    border-top: 0;
}

.spec-term {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.spec-desc {
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.7;
    color: var(--text);
}

@keyframes drift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(1.5rem, -1.25rem, 0) scale(1.08);
    }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .hero-layout,
    .detail-hero,
    .results-hero {
        grid-template-columns: 1fr;
    }

    .criteria-strip {
        justify-content: flex-start;
    }

    .laptop-tile {
        grid-template-columns: 180px minmax(0, 1fr);
    }

    .tile-action {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .tile-tech-grid,
    .tile-specs,
    .metric-band,
    .detail-spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(100%, calc(100% - 1rem));
        padding-bottom: 3rem;
    }

    .site-header {
        padding-inline: 1rem;
    }

    .hero-rail,
    .usecase-card-grid,
    .mode-chip-grid,
    .tile-tech-grid,
    .tile-specs,
    .metric-band,
    .detail-spec-grid {
        grid-template-columns: 1fr;
    }

    .laptop-tile {
        grid-template-columns: 1fr;
    }

    .tile-media {
        aspect-ratio: 1.35;
    }

    .spec-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .hero-title,
    .section-title,
    .detail-title {
        max-width: 12ch;
    }
}
