:root {
    --ink: #14211d;
    --muted: #66736d;
    --paper: #f4f5ef;
    --white: #ffffff;
    --line: #dce1da;
    --green: #0b6b4f;
    --green-dark: #084a39;
    --lime: #c8ef56;
    --coral: #ef6a51;
    --shadow: 0 18px 50px rgba(20, 33, 29, 0.09);
    --shell: min(1180px, calc(100% - 40px));
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: .24;
    pointer-events: none;
    background-image: radial-gradient(#77827d 0.7px, transparent 0.7px);
    background-size: 18px 18px;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.topbar {
    width: var(--shell);
    height: 78px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 220px minmax(300px, 600px) 1fr;
    align-items: center;
    gap: 28px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
}

.brand-mark>span:last-child>span {
    color: var(--green);
}

.brand-glyph {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border-radius: 7px;
    color: var(--ink);
    background: var(--lime);
    transform: rotate(-4deg);
}

.site-search {
    position: relative;
    display: flex;
    align-items: center;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #f7f8f5;
    overflow: hidden;
}

.site-search:focus-within {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(11, 107, 79, .12);
}

.site-search svg {
    width: 19px;
    margin-left: 14px;
    fill: none;
    stroke: var(--muted);
    stroke-width: 2;
}

.site-search input {
    min-width: 0;
    flex: 1;
    height: 100%;
    border: 0;
    outline: 0;
    padding: 0 12px;
    background: transparent;
    color: var(--ink);
}

.site-search button {
    height: 100%;
    border: 0;
    padding: 0 20px;
    color: white;
    background: var(--green);
    cursor: pointer;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--ink);
}

.main-nav {
    width: var(--shell);
    min-height: 43px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 14px;
    font-weight: 700;
}

.main-nav a {
    height: 43px;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--green);
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--green);
}

.nav-note {
    margin-left: auto;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.hero {
    position: relative;
    min-height: 610px;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: white;
    background: #15211e;
}

.hero-image {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1555774698-0b77e0d5fac6?auto=format&fit=crop&w=2000&q=88") center 48% / cover no-repeat;
    animation: reveal-image 900ms ease-out both;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 25, 20, .92) 0%, rgba(10, 25, 20, .66) 42%, rgba(10, 25, 20, .08) 78%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-bottom: 60px;
}

.eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--green);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: var(--lime);
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.08;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 680px;
    font-size: clamp(52px, 7vw, 88px);
    animation: rise-in 700ms 120ms ease-out both;
}

.hero-content>p {
    max-width: 600px;
    margin: 24px 0 32px;
    color: #e7ece8;
    font-size: 19px;
    animation: rise-in 700ms 220ms ease-out both;
}

.primary-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 5px;
    padding: 0 23px;
    color: #10201a;
    background: var(--lime);
    cursor: pointer;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.primary-button:hover {
    background: #d6f775;
    transform: translateY(-1px);
}

.hero .primary-button {
    animation: rise-in 700ms 320ms ease-out both;
}

.hero-trends {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-size: 14px;
    scrollbar-width: none;
}

.hero-trends::-webkit-scrollbar {
    display: none;
}

.hero-trends span {
    color: var(--lime);
    font-weight: 700;
    text-transform: uppercase;
}

.hero-trends a {
    color: #e7ece8;
}

.hero-trends a:hover {
    color: white;
    text-decoration: underline;
}

.brand-strip {
    border-bottom: 1px solid var(--line);
    background: white;
}

.brand-row {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.brand-row>span {
    margin-right: 12px;
    color: var(--muted);
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.brand-row a {
    white-space: nowrap;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.brand-row a:hover,
.brand-row a.selected {
    color: white;
    border-color: var(--green);
    background: var(--green);
}

.brand-row a.clear-filter {
    border: 0;
    color: var(--coral);
    background: transparent;
}

.catalog-section,
.news-section {
    padding-block: 76px;
}

.section-heading {
    margin-bottom: 28px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
}

.section-heading h2,
.spec-panel h2 {
    font-size: clamp(32px, 4vw, 46px);
}

.section-heading p,
.section-heading>a {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.section-heading>a:hover {
    color: var(--green);
}

.phone-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.phone-card {
    min-width: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 7px;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.phone-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.phone-image {
    position: relative;
    height: 270px;
    display: block;
    overflow: hidden;
    background: #e5e8e1;
}

.phone-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.phone-card:hover .phone-image img {
    transform: scale(1.035);
}

.card-badge {
    position: absolute;
    z-index: 2;
    top: 14px;
    left: 14px;
    padding: 6px 9px;
    border-radius: 3px;
    color: white;
    background: var(--green);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.score {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 3px solid var(--lime);
    border-radius: 50%;
    color: white;
    background: rgba(20, 33, 29, .9);
    font-weight: 800;
}

.phone-body {
    padding: 22px;
}

.phone-brand {
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.phone-body h3 {
    margin: 5px 0 10px;
    font-size: 23px;
}

.phone-body h3 a:hover {
    color: var(--green);
}

.phone-body>p {
    min-height: 48px;
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
}

.phone-price {
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.phone-price strong {
    font-size: 20px;
}

.phone-price del {
    color: #929b96;
    font-size: 13px;
}

.card-actions {
    margin-top: 18px;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    font-size: 13px;
    font-weight: 800;
}

.card-actions a {
    color: var(--green);
}

.card-actions button {
    border: 0;
    background: none;
    cursor: pointer;
    font-weight: 800;
}

.card-actions button:hover {
    color: var(--coral);
}

.empty-state {
    padding: 70px;
    text-align: center;
    border: 1px solid var(--line);
    background: white;
}

.empty-state h3 {
    font-size: 30px;
}

.empty-state a {
    color: var(--green);
    font-weight: 700;
}

.compare-band {
    padding-block: 74px;
    color: white;
    background: var(--green-dark);
}

.compare-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 80px;
    align-items: center;
}

.compare-band .eyebrow {
    color: var(--lime);
}

.compare-band h2 {
    max-width: 450px;
    font-size: clamp(36px, 5vw, 56px);
}

.compare-band p {
    max-width: 490px;
    color: #cad9d3;
}

.compare-slots {
    display: grid;
    grid-template-columns: 1fr 42px 1fr;
    align-items: center;
}

.compare-slot {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, .45);
    border-radius: 7px;
    color: white;
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
}

.compare-slot span {
    display: grid;
    width: 34px;
    height: 34px;
    margin-bottom: 16px;
    place-items: center;
    border-radius: 50%;
    color: var(--ink);
    background: var(--lime);
    font-weight: 800;
}

.compare-slot strong {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compare-slot small {
    margin-top: 5px;
    color: #a8bdb5;
}

.compare-slot.filled {
    border-style: solid;
    background: rgba(255, 255, 255, .13);
}

.versus {
    text-align: center;
    color: var(--lime);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
}

.news-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: repeat(2, 190px);
    gap: 22px;
}

.news-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: white;
}

.news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card>div {
    padding: 24px;
}

.news-card span {
    color: var(--coral);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.news-card h3 {
    margin: 8px 0 18px;
    font-size: 20px;
}

.news-card time {
    color: var(--muted);
    font-size: 12px;
}

.news-featured {
    grid-row: 1 / 3;
    display: block;
    position: relative;
    min-height: 400px;
    color: white;
    border: 0;
}

.news-featured::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 28%, rgba(8, 24, 18, .94));
}

.news-featured img {
    position: absolute;
    inset: 0;
}

.news-featured>div {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 36px;
}

.news-featured h3 {
    max-width: 570px;
    font-size: 34px;
}

.news-featured time {
    color: #d7dfdb;
}

.product-detail {
    padding-block: 42px 80px;
}

.breadcrumbs {
    display: flex;
    gap: 9px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs a:hover {
    color: var(--green);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    min-height: 580px;
    border: 1px solid var(--line);
    background: white;
    box-shadow: var(--shadow);
}

.detail-gallery {
    position: relative;
    height: 580px;
    overflow: hidden;
    background: #e1e4dc;
}

.gallery-stage,
.gallery-stage img {
    width: 100%;
    height: 100%;
}

.gallery-stage img {
    object-fit: cover;
    transition: opacity 180ms ease;
}

.gallery-stage img.is-changing {
    opacity: .35;
}

.gallery-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid rgb(255 255 255 / 45%);
    border-radius: 50%;
    color: white;
    background: rgb(20 33 29 / 78%);
    box-shadow: 0 8px 24px rgb(0 0 0 / 18%);
    font: 500 30px/1 "DM Sans";
    transform: translateY(-50%);
    cursor: pointer;
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
    color: var(--ink);
    background: var(--lime);
}

.gallery-prev {
    left: 18px;
}

.gallery-next {
    right: 18px;
}

.gallery-count {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 92px;
    padding: 5px 9px;
    border-radius: 999px;
    color: white;
    background: rgb(20 33 29 / 78%);
    font-size: 11px;
    font-weight: 700;
}

.gallery-thumbs {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 18px;
    left: 18px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.gallery-thumbs button {
    width: 68px;
    height: 54px;
    padding: 2px;
    overflow: hidden;
    border: 2px solid transparent;
    background: rgb(255 255 255 / 75%);
    cursor: pointer;
}

.gallery-thumbs button.is-active {
    border-color: var(--lime);
    background: white;
}

.gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-score {
    position: absolute;
    z-index: 2;
    top: 24px;
    left: 24px;
    display: grid;
    width: 74px;
    height: 74px;
    place-items: center;
    border: 4px solid var(--lime);
    border-radius: 50%;
    color: white;
    background: var(--ink);
    font: 700 23px "Space Grotesk";
}

.review-score small {
    margin-top: -18px;
    font: 500 8px "DM Sans";
    text-transform: uppercase;
}

.detail-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 4.5vw, 58px);
}

.detail-copy h1 {
    margin: 12px 0 0;
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.02;
}

.detail-copy .lead {
    max-width: 520px;
    margin: 12px 0 18px;
    color: var(--muted);
    font-size: 15px;
}

.detail-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.detail-status span {
    color: var(--green);
}

.detail-status b,
.detail-status em {
    padding: 4px 7px;
    font-style: normal;
}

.detail-status b {
    color: #28704f;
    background: #e8f5ed;
}

.detail-status em {
    color: #68746f;
    background: #f0f2ef;
}

.price-line {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--green);
    background: #fafbf9;
}

.price-line>div {
    display: grid;
}

.price-line small {
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.price-line strong {
    font: 700 26px "Space Grotesk";
}

.price-line del {
    color: #8a938f;
}

.price-saving span {
    padding: 4px 7px;
    color: var(--coral);
    background: #fff0ec;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.price-saving {
    gap: 3px;
    justify-items: start;
}

.detail-highlights {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 14px 0;
    border: 1px solid var(--line);
}

.detail-highlights>div {
    min-width: 0;
    padding: 11px 10px;
    border-right: 1px solid var(--line);
}

.detail-highlights>div:last-child {
    border-right: 0;
}

.detail-highlights small,
.detail-highlights span {
    display: block;
    overflow: hidden;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detail-highlights small {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.detail-highlights strong {
    display: block;
    margin: 2px 0;
    font: 700 17px "Space Grotesk";
}

.detail-highlights span {
    font-size: 9px;
}

.detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px 14px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 10px;
}

.detail-chipset {
    overflow: hidden;
    max-width: 210px;
    color: var(--ink);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.color-line {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 13px;
}

.color-line span {
    margin-right: 7px;
}

.color-line i {
    width: 16px;
    height: 16px;
    border: 3px solid white;
    border-radius: 50%;
    background: var(--swatch);
    box-shadow: 0 0 0 1px #cbd0cc;
}

.detail-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.text-button {
    color: var(--green);
    font-weight: 700;
}

.spec-panel {
    margin-top: 34px;
    border: 1px solid var(--line);
    border-radius: 7px;
    overflow: hidden;
    background: white;
    box-shadow: 0 18px 45px rgba(20, 33, 29, .07);
}

.spec-panel-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 32px 26px;
    border-bottom: 1px solid var(--line);
    background: #f7f9f6;
}

.spec-panel-header h2 {
    margin: 5px 0 0;
    font-size: 32px;
}

.spec-count {
    flex: 0 0 auto;
    padding: 6px 10px;
    color: var(--green);
    border: 1px solid #bed6ca;
    background: white;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.spec-table {
    display: grid;
}

.spec-group {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr);
    border-bottom: 1px solid var(--line);
}

.spec-group:last-child {
    border-bottom: 0;
}

.spec-group h3 {
    margin: 0;
    padding: 19px 22px;
    color: white;
    background: var(--green);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.spec-group dl {
    margin: 0;
}

.spec-group dl div {
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    border-bottom: 1px solid var(--line);
}

.spec-group dl div:last-child {
    border-bottom: 0;
}

.spec-group dt,
.spec-group dd {
    padding: 17px 22px;
}

.spec-group dt {
    color: #68746f;
    border-right: 1px solid var(--line);
    background: #fbfcfa;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.spec-group dd {
    margin: 0;
    color: var(--ink);
    font-weight: 650;
}

.site-footer {
    padding-top: 64px;
    color: #d7dfdb;
    background: #101b17;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .7fr .7fr 1.2fr;
    gap: 55px;
    padding-bottom: 54px;
}

.footer-brand {
    color: white;
}

.footer-grid p {
    max-width: 320px;
    color: #94a49d;
    font-size: 14px;
}

.footer-grid>div:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-grid strong {
    margin-bottom: 5px;
    color: white;
    font-family: "Space Grotesk";
}

.footer-grid a:not(.brand-mark) {
    color: #94a49d;
    font-size: 14px;
}

.footer-grid a:hover {
    color: white;
}

.newsletter {
    display: flex;
    height: 44px;
}

.newsletter input {
    min-width: 0;
    flex: 1;
    padding: 0 12px;
    border: 1px solid #41504a;
    color: white;
    background: transparent;
    outline: 0;
}

.newsletter button {
    border: 0;
    padding: 0 18px;
    color: var(--ink);
    background: var(--lime);
    cursor: pointer;
    font-weight: 800;
}

.footer-bottom {
    padding: 20px 0 25px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #2b3833;
    color: #71827a;
    font-size: 12px;
}

.toast {
    position: fixed;
    z-index: 100;
    right: 24px;
    bottom: 24px;
    max-width: min(360px, calc(100% - 40px));
    padding: 14px 18px;
    border-radius: 5px;
    color: white;
    background: var(--ink);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    transition: .25s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.compare-popup {
    position: fixed;
    z-index: 110;
    right: 24px;
    bottom: 24px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto 28px;
    align-items: center;
    width: min(520px, calc(100% - 40px));
    min-height: 72px;
    padding: 9px 10px;
    color: white;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 7px;
    background: #101b17;
    box-shadow: 0 22px 55px rgba(7, 23, 19, .3);
    opacity: 0;
    transform: translateY(18px) scale(.96);
    transform-origin: right bottom;
    pointer-events: none;
    transition: width .28s ease, opacity .24s ease, transform .28s ease;
}

.compare-popup.has-items {
    width: 64px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.compare-popup.show {
    width: min(520px, calc(100% - 40px));
}

.compare-popup-toggle {
    position: relative;
    display: grid;
    width: 52px;
    height: 52px;
    padding: 0;
    place-items: center;
    color: #13221d;
    border: 0;
    border-radius: 5px;
    background: var(--lime);
    cursor: pointer;
}

.compare-popup-toggle svg {
    width: 29px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.compare-popup-toggle>span {
    position: absolute;
    top: -6px;
    right: -6px;
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    color: white;
    border: 2px solid #101b17;
    border-radius: 50%;
    background: var(--coral);
    font-size: 10px;
    font-weight: 800;
}

.compare-popup-copy {
    min-width: 0;
    padding: 0 16px;
}

.compare-popup-copy small,
.compare-popup-copy span {
    display: block;
    color: #aab8b2;
    font-size: 10px;
}

.compare-popup-copy small {
    color: var(--lime);
    font-weight: 800;
    text-transform: uppercase;
}

.compare-popup-copy strong {
    display: block;
    overflow: hidden;
    margin: 2px 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.compare-popup-action {
    padding: 11px 14px;
    color: #11211b;
    border-radius: 4px;
    background: white;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.compare-popup-close {
    width: 28px;
    height: 28px;
    padding: 0;
    color: #9aacA4;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 21px;
}

.compare-popup:not(.show) .compare-popup-copy,
.compare-popup:not(.show) .compare-popup-action,
.compare-popup:not(.show) .compare-popup-close {
    display: none;
}

.compare-trigger.is-selected {
    color: white;
    border-color: var(--green);
    background: var(--green);
}

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes reveal-image {
    from {
        opacity: .5;
        transform: scale(1.04);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 900px) {
    .topbar {
        grid-template-columns: auto 1fr auto;
        height: 70px;
    }

    .site-search {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-bottom: 14px;
    }

    .site-header {
        padding-bottom: 60px;
    }

    .menu-toggle {
        display: block;
        justify-self: end;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 130px;
        left: 0;
        right: 0;
        width: 100%;
        padding: 14px 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: white;
        border-top: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        height: 44px;
    }

    .main-nav a.active::after,
    .nav-note {
        display: none;
    }

    .hero {
        min-height: 560px;
    }

    .phone-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .compare-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-gallery {
        height: 450px;
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

@media (max-width: 620px) {
    :root {
        --shell: min(100% - 28px, 1180px);
    }

    .brand-mark {
        font-size: 21px;
    }

    .brand-glyph {
        width: 34px;
        height: 34px;
    }

    .site-search button {
        padding: 0 13px;
    }

    .hero {
        min-height: 600px;
        align-items: start;
    }

    .hero-image {
        background-position: 63% center;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(8, 24, 18, .93), rgba(8, 24, 18, .38)), linear-gradient(0deg, rgba(8, 24, 18, .7), transparent);
    }

    .hero-content {
        padding-top: 92px;
    }

    .hero h1 {
        font-size: 49px;
    }

    .hero-content>p {
        font-size: 17px;
    }

    .hero-trends {
        height: 88px;
        gap: 13px;
        overflow-x: auto;
    }

    .hero-trends a {
        white-space: nowrap;
    }

    .catalog-section,
    .news-section {
        padding-block: 56px;
    }

    .section-heading {
        align-items: start;
    }

    .community-page>.section-heading {
        flex-direction: column;
    }

    .phone-grid {
        grid-template-columns: 1fr;
    }

    .phone-image {
        height: 310px;
    }

    .compare-band {
        padding-block: 56px;
    }

    .compare-slots {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .compare-slot {
        min-height: 135px;
    }

    .versus {
        height: 28px;
    }

    .news-grid {
        display: flex;
        flex-direction: column;
    }

    .news-card {
        grid-template-columns: 125px 1fr;
        min-height: 160px;
    }

    .news-card>div {
        padding: 18px;
    }

    .news-card h3 {
        font-size: 17px;
    }

    .news-featured {
        min-height: 390px;
        display: block;
    }

    .news-featured h3 {
        font-size: 27px;
    }

    .detail-gallery {
        height: 390px;
    }

    .detail-copy {
        padding: 34px 24px;
    }

    .detail-copy h1 {
        font-size: 38px;
    }

    .detail-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-highlights>div:nth-child(2) {
        border-right: 0;
    }

    .detail-highlights>div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .detail-actions {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .compare-popup {
        right: 14px;
        bottom: 14px;
        grid-template-columns: 48px minmax(0, 1fr) 30px;
        width: min(430px, calc(100% - 28px));
        min-height: 64px;
    }

    .compare-popup.has-items {
        width: 58px;
    }

    .compare-popup.show {
        width: min(430px, calc(100% - 28px));
    }

    .compare-popup-toggle {
        width: 46px;
        height: 46px;
    }

    .compare-popup-copy {
        padding: 0 11px;
    }

    .compare-popup-copy span {
        display: none;
    }

    .compare-popup-action {
        grid-column: 1 / -1;
        grid-row: 2;
        margin-top: 8px;
        text-align: center;
    }

    .compare-popup-close {
        grid-column: 3;
        grid-row: 1;
    }

    .spec-panel {
        border-radius: 0;
    }

    .spec-panel-header {
        align-items: start;
        padding: 22px 20px;
        flex-direction: column;
        gap: 12px;
    }

    .spec-panel-header h2 {
        font-size: 28px;
    }

    .spec-group {
        grid-template-columns: 1fr;
    }

    .spec-group h3 {
        padding: 10px 16px;
    }

    .spec-group dl div {
        grid-template-columns: 105px minmax(0, 1fr);
    }

    .spec-group dt,
    .spec-group dd {
        padding: 14px 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-bottom {
        gap: 14px;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Application views */
select,
textarea {
    font: inherit;
}

.flash {
    position: fixed;
    z-index: 90;
    top: 132px;
    right: 22px;
    max-width: 420px;
    padding: 13px 18px;
    border-left: 4px solid var(--lime);
    color: white;
    background: var(--green-dark);
    box-shadow: var(--shadow);
}

.flash.error {
    border-color: var(--coral);
}

.language-switch {
    margin-left: auto;
    color: var(--green);
}

.page-section {
    padding-block: 64px 90px;
}

.page-section h1,
.dashboard-heading h1 {
    font-size: clamp(42px, 6vw, 68px);
}

.muted {
    color: var(--muted);
}

.bare-button {
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
}

.secondary-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: white;
    cursor: pointer;
    font-weight: 700;
}

.content-panel {
    padding: clamp(25px, 4vw, 42px);
    border: 1px solid var(--line);
    background: white;
}

.content-panel h2 {
    margin-bottom: 18px;
    font-size: clamp(26px, 3vw, 38px);
}

.finder-section {
    padding-top: 70px;
}

.finder-form {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--line);
    background: white;
}

.finder-form label,
.stack-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.finder-form input,
.finder-form select,
.stack-form input,
.stack-form select,
.stack-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--ink);
    background: #fafbf8;
    outline: none;
}

.finder-form input:focus,
.finder-form select:focus,
.stack-form input:focus,
.stack-form select:focus,
.stack-form textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(11, 107, 79, .1);
}

.finder-form .check-label,
.form-grid .check-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.finder-form .check-label input,
.form-grid .check-label input {
    width: 18px;
    min-height: 18px;
}

.finder-form .primary-button {
    align-self: end;
}

.sort-form {
    display: flex;
    align-items: center;
    gap: 13px;
}

.sort-form select {
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid var(--line);
    background: white;
}

.sort-form span {
    color: var(--muted);
    font-size: 13px;
}

.mini-form {
    margin-top: 12px;
}

.mini-form button {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--green);
    background: white;
    cursor: pointer;
    font-weight: 700;
}

.compare-link {
    margin-top: 16px;
}

.review-verdict {
    margin-top: 34px;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 55px;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.pros-cons>div:first-child h3 {
    color: var(--green);
}

.pros-cons>div:last-child h3 {
    color: var(--coral);
}

.pros-cons p {
    margin: 8px 0;
    color: var(--muted);
}

.detail-columns {
    margin-top: 34px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
}

.metric-list {
    margin: 0;
}

.metric-list div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.metric-list dt {
    color: var(--muted);
}

.metric-list dd {
    margin: 0;
    font-weight: 800;
}

.price-chart {
    height: 210px;
    display: flex;
    align-items: end;
    justify-content: space-around;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}

.price-chart div {
    height: 100%;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}

.price-chart div>span {
    width: min(64px, 70%);
    height: var(--bar);
    min-height: 30px;
    background: var(--green);
}

.price-chart strong {
    margin-top: 8px;
    font-size: 12px;
}

.price-chart small {
    color: var(--muted);
}

.retailer-panel {
    margin-top: 34px;
}

.retailer-list>div {
    display: grid;
    grid-template-columns: 1fr 120px 140px 100px;
    align-items: center;
    gap: 20px;
    padding: 17px 0;
    border-top: 1px solid var(--line);
}

.retailer-list b {
    font-size: 18px;
}

.retailer-list a {
    color: var(--green);
    font-weight: 700;
}

.stock {
    width: max-content;
    padding: 4px 7px;
    color: var(--green);
    background: #e8f5ef;
    font-size: 11px;
    font-weight: 800;
}

.stack-form {
    display: grid;
    gap: 16px;
}

.stack-form textarea {
    min-height: 110px;
    resize: vertical;
}

.stack-form .primary-button {
    justify-self: start;
}

.user-review {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.user-review>div {
    display: flex;
    justify-content: space-between;
}

.user-review span {
    color: #c78b0c;
}

.user-review p {
    margin: 8px 0;
}

.user-review small {
    color: var(--muted);
}

.auth-intro {
    max-width: 720px;
    margin-bottom: 38px;
}

.auth-intro p,
.dashboard-heading p {
    color: var(--muted);
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.auth-grid small {
    color: var(--muted);
}

.dashboard-heading {
    margin-bottom: 42px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.account-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1.5fr .5fr;
    gap: 28px;
}

.alert-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.alert-row div {
    display: grid;
}

.alert-row small {
    color: var(--muted);
}

.alert-row>span {
    color: var(--coral);
    font-weight: 700;
}

.alert-row>span.reached {
    color: var(--green);
}

.big-stat {
    margin: 0;
    font: 700 64px "Space Grotesk";
}

.compare-page>.section-heading {
    align-items: end;
}

.compare-heading p {
    max-width: 560px;
    margin: 8px 0 0;
    color: var(--muted);
}

.compare-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 15px;
    margin: 28px 0 34px;
    padding: 20px;
    border: 1px solid var(--line);
    background: white;
}

.compare-picker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: left;
}

.device-picker {
    position: relative;
    min-width: 0;
}

.device-picker>label {
    display: grid;
    gap: 5px;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.device-picker-input {
    position: relative;
}

.device-picker-input svg {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 18px;
    fill: none;
    stroke: #77837e;
    stroke-linecap: round;
    stroke-width: 1.8;
    transform: translateY(-50%);
    pointer-events: none;
}

.device-picker-input input {
    width: 100%;
    height: 50px;
    padding: 0 38px 0 40px;
    border: 1px solid var(--line);
    background: white;
    font-weight: 700;
    outline: 0;
}

.device-picker-input input:focus,
.device-picker.is-open .device-picker-input input {
    border-color: var(--green);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 12%, transparent);
}

.device-picker-input button {
    position: absolute;
    top: 50%;
    right: 8px;
    display: none;
    width: 28px;
    height: 28px;
    padding: 0;
    color: var(--muted);
    border: 0;
    border-radius: 50%;
    background: #f0f3ef;
    cursor: pointer;
    transform: translateY(-50%);
}

.device-picker.has-value .device-picker-input button {
    display: block;
}

.device-suggestions {
    position: absolute;
    z-index: 40;
    top: calc(100% + 7px);
    left: 0;
    width: max(100%, min(320px, calc(100vw - 56px)));
    max-height: 342px;
    padding: 7px;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: white;
    box-shadow: 0 20px 45px rgba(20, 33, 29, .18);
}

.device-suggestions[hidden] {
    display: none;
}

.device-suggestions [data-device-option] {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 22px;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 8px;
    color: var(--ink);
    border: 0;
    border-bottom: 1px solid #edf0ec;
    background: white;
    text-align: left;
    cursor: pointer;
}

.device-suggestions [data-device-option][hidden] {
    display: none;
}

.device-suggestions [data-device-option]:last-of-type {
    border-bottom: 0;
}

.device-suggestions [data-device-option]:hover,
.device-suggestions [data-device-option]:focus,
.device-suggestions [data-device-option].is-selected {
    background: #f1f7f3;
    outline: 0;
}

.device-suggestions [data-device-option].is-taken {
    opacity: .42;
    cursor: not-allowed;
}

.device-suggestions img {
    width: 54px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
    background: #eef1ed;
}

.device-suggestions strong,
.device-suggestions small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.device-suggestions strong {
    font-size: 12px;
}

.device-suggestions small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.device-suggestions i {
    visibility: hidden;
    color: var(--green);
    font-style: normal;
    font-weight: 800;
}

.device-suggestions .is-selected i {
    visibility: visible;
}

.device-suggestions>p {
    margin: 0;
    padding: 22px 12px;
    color: var(--muted);
    text-align: center;
    font-size: 12px;
}

.compare-verdict {
    display: grid;
    grid-template-columns: minmax(240px, .85fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 28px;
    margin-bottom: 28px;
    padding: 28px;
    color: white;
    background: var(--green);
}

.compare-verdict h2 {
    margin: 5px 0 8px;
    color: white;
    font-size: clamp(24px, 3vw, 38px);
}

.compare-verdict p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
}

.compare-scoreboard {
    display: grid;
    grid-template-columns: repeat(var(--compare-count, 3), minmax(0, 1fr));
    gap: 8px;
}

.compare-scoreboard>div {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .07);
}

.compare-scoreboard>div.comparison-leader {
    color: var(--ink);
    background: var(--lime);
}

.compare-scoreboard span,
.compare-scoreboard small {
    display: block;
    overflow: hidden;
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compare-scoreboard strong {
    display: block;
    margin: 7px 0 1px;
    font: 700 34px "Space Grotesk";
}

.compare-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 2px 12px;
}

.compare-toolbar>div,
.compare-toolbar>div>span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.compare-toolbar>div>span {
    color: var(--muted);
    font-size: 12px;
}

.winner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
}

.difference-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.difference-toggle input {
    width: 18px;
    height: 18px;
    accent-color: var(--green);
}

.comparison-table {
    display: grid;
    grid-template-columns: 165px repeat(var(--compare-count), minmax(220px, 1fr));
    overflow-x: auto;
    border: 1px solid var(--line);
    background: white;
}

.compare-product {
    position: relative;
    padding: 22px;
    border-left: 1px solid var(--line);
}

.compare-product.is-leader {
    box-shadow: inset 0 4px var(--lime);
}

.leader-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 7px;
    color: var(--green) !important;
    background: var(--lime);
    font-size: 9px !important;
}

.compare-product img {
    width: 100%;
    height: 190px;
    margin-bottom: 18px;
    object-fit: cover;
}

.compare-product span {
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.compare-product h2 {
    margin: 5px 0 12px;
    font-size: 22px;
}

.compare-product>a {
    display: block;
    margin-top: 12px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
}

.compare-label,
.compare-row-label,
.compare-value {
    padding: 17px;
    border-top: 1px solid var(--line);
}

.compare-label,
.compare-row-label {
    color: var(--muted);
    background: #f8f9f5;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.compare-row-label {
    position: sticky;
    left: 0;
    z-index: 2;
}

.compare-row-label small {
    display: block;
    margin-top: 4px;
    color: #a4aba5;
    font-size: 9px;
}

.compare-row-label.has-difference small {
    color: var(--coral);
}

.compare-group {
    position: sticky;
    left: 0;
    z-index: 3;
    padding: 11px 16px;
    border-top: 1px solid var(--line);
    color: white;
    background: #263b34;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.compare-value {
    position: relative;
    border-left: 1px solid var(--line);
}

.compare-value.best-value {
    box-shadow: inset 4px 0 var(--lime);
    background: #f4f9e6;
    font-weight: 800;
}

.winner-label {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 6px;
    color: var(--green);
    background: var(--lime);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
}

.comparison-table.differences-only .is-identical {
    display: none;
}

.compare-again {
    margin-top: 22px;
}

.story-filters,
.story-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}

.story-filters a,
.story-tags span {
    padding: 8px 12px;
    border: 1px solid var(--line);
    color: var(--muted);
    background: white;
    font-size: 12px;
    font-weight: 800;
}

.story-filters a.active {
    color: white;
    border-color: var(--green);
    background: var(--green);
}

.story-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.story-archive-grid article {
    border-bottom: 3px solid var(--green);
    background: white;
}

.story-archive-grid img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.story-archive-grid article>a {
    display: block;
    padding-bottom: 20px;
}

.story-archive-grid article>a>*:not(img) {
    margin-right: 20px;
    margin-left: 20px;
}

.story-archive-grid span {
    display: block;
    margin-top: 18px;
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.story-archive-grid h2 {
    margin-top: 7px;
    font-size: 22px;
}

.story-archive-grid p,
.story-archive-grid small {
    color: var(--muted);
}

.story-hero {
    max-width: 900px;
    margin: 30px auto 34px;
    text-align: center;
}

.story-hero h1 {
    margin: 10px 0 18px;
    font-size: clamp(36px, 6vw, 68px);
}

.story-hero>p {
    color: var(--muted);
    font-size: 19px;
}

.story-hero>div {
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 13px;
    font-weight: 700;
}

.story-cover {
    width: 100%;
    max-height: 660px;
    object-fit: cover;
}

.related-phone-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.related-phone-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
}

.related-phone-list img {
    width: 68px;
    height: 54px;
    object-fit: cover;
}

.related-phone-list small {
    display: block;
    color: var(--muted);
}

.related-story-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.related-story-list a {
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
}

.related-story-list span {
    color: var(--green);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.community-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr);
    align-items: start;
    gap: 24px;
}

.discussion-feed {
    display: grid;
    gap: 12px;
}

.discussion-feed article {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    padding: 20px;
    border: 1px solid var(--line);
    background: white;
}

.discussion-feed h2 {
    margin: 3px 0 7px;
    font-size: 20px;
}

.discussion-feed p,
.discussion-feed small {
    color: var(--muted);
}

.discussion-feed article>div>span {
    color: var(--green);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.discussion-avatar {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: white;
    background: var(--green);
    font-weight: 800;
}

.discussion-replies {
    display: grid;
    gap: 10px;
    margin-top: 16px;
    padding-left: 14px;
    border-left: 2px solid var(--line);
}

.discussion-replies>div {
    padding: 10px 12px;
    background: var(--paper);
}

.discussion-replies p {
    margin: 4px 0;
}

.discussion-reply-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
    margin-top: 14px;
}

.discussion-reply-form textarea {
    width: 100%;
    resize: vertical;
}

.review-category-scores,
.review-rating-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    margin: 12px 0;
}

.review-category-scores span {
    padding: 7px;
    color: var(--muted);
    background: #f5f7f3;
    font-size: 10px;
}

.review-category-scores b {
    display: block;
    color: var(--ink);
    font-size: 14px;
}

.user-review footer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-review footer form {
    margin: 0;
}

.user-review footer button {
    padding: 0;
    border: 0;
    color: var(--green);
    background: transparent;
    font-weight: 700;
    cursor: pointer;
}

.review-conversations {
    margin-top: 20px;
}

.review-conversations article {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.review-conversations article form {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.review-conversations article input {
    min-width: 0;
    flex: 1;
    padding: 10px;
    border: 1px solid var(--line);
}

.news-card>a {
    display: contents;
    color: inherit;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.stats-grid div {
    padding: 22px;
    border-top: 4px solid var(--green);
    background: white;
    box-shadow: 0 8px 25px rgba(20, 33, 29, .06);
}

.stats-grid span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.stats-grid strong {
    font: 700 38px "Space Grotesk";
}

.admin-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 28px;
    margin-bottom: 28px;
    align-items: start;
}

.admin-row {
    display: grid;
    grid-template-columns: 56px 1fr auto auto;
    align-items: center;
    gap: 13px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.admin-row img {
    width: 56px;
    height: 56px;
    object-fit: cover;
}

.admin-row div {
    display: grid;
    min-width: 0;
}

.admin-row small {
    overflow: hidden;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-row a {
    color: var(--green);
    font-weight: 700;
}

.admin-row button {
    border: 0;
    color: var(--coral);
    background: none;
    cursor: pointer;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.form-grid .wide {
    grid-column: 1 / -1;
}

.news-card p {
    margin: 8px 0;
    color: var(--muted);
    font-size: 13px;
}

.news-featured p {
    color: #d7dfdb;
}

@media (max-width: 900px) {
    .language-switch {
        margin-left: 0;
    }

    .finder-form {
        grid-template-columns: repeat(3, 1fr);
    }

    .review-verdict,
    .detail-columns,
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .account-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .flash {
        top: 136px;
        left: 14px;
        right: 14px;
    }

    .page-section {
        padding-block: 45px 65px;
    }

    .finder-form,
    .auth-grid,
    .compare-picker,
    .pros-cons,
    .story-archive-grid,
    .community-layout,
    .related-phone-list,
    .related-story-list {
        grid-template-columns: 1fr;
    }

    .review-category-scores,
    .review-rating-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .compare-controls,
    .compare-verdict {
        grid-template-columns: 1fr;
    }

    .compare-controls .primary-button {
        width: 100%;
    }

    .compare-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .compare-scoreboard>div {
        padding: 12px;
    }

    .compare-scoreboard span {
        white-space: normal;
    }

    .sort-form {
        align-items: end;
        flex-direction: column;
    }

    .detail-columns {
        gap: 18px;
    }

    .retailer-list>div {
        grid-template-columns: 1fr auto;
        gap: 8px;
    }

    .retailer-list b {
        text-align: right;
    }

    .retailer-list a {
        text-align: right;
    }

    .comparison-table {
        grid-template-columns: 120px repeat(var(--compare-count), 210px);
    }

    .compare-product {
        padding: 14px;
    }

    .compare-product img {
        height: 145px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .admin-row {
        grid-template-columns: 46px 1fr auto;
    }

    .admin-row form {
        grid-column: 3;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid .wide {
        grid-column: auto;
    }

    .dashboard-heading {
        align-items: start;
        flex-direction: column;
    }
}

.maintenance-banner {
    padding: 7px 20px;
    color: #1b271f;
    background: var(--lime);
    text-align: center;
    font-size: 12px;
    font-weight: 800;
}