:root {
  --paper: #f1eddf;
  --ink: #101b1b;
  --muted: #596562;
  --coral: #ff6846;
  --blue: #0f59db;
}

* { box-sizing: border-box; }
html { font-family: "Avenir Next", "Trebuchet MS", sans-serif; }
body { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 4px solid #0f59db; outline-offset: 4px; }

.selector-page {
  position: relative;
  min-height: 100svh;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  isolation: isolate;
}

.selector-page::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: .48;
  background-image: radial-gradient(rgba(16, 27, 27, .14) .8px, transparent .8px);
  background-size: 18px 18px;
  content: "";
}

.orbit { position: fixed; z-index: -2; border-radius: 50%; }
.orbit-one { width: 440px; height: 440px; top: -260px; right: -100px; border: 72px solid var(--coral); }
.orbit-two { width: 330px; height: 330px; bottom: -230px; left: -140px; border: 64px solid var(--blue); }
.selector-shell { width: min(1240px, calc(100% - 64px)); margin-inline: auto; padding: 34px 0 30px; }
.selector-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.selector-header > p { margin: 0; color: #53605e; font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 1.1rem; font-weight: 900; }
.brand strong { font-size: 1.05rem; letter-spacing: .14em; }
.selector-intro { max-width: 850px; padding: 70px 0 42px; }
.kicker { margin: 0 0 14px; color: #d94326; font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.selector-intro h1 { margin: 0; font-size: clamp(3.4rem, 8vw, 7.8rem); line-height: .86; letter-spacing: -.065em; }
.selector-intro > p:last-child { max-width: 620px; margin: 28px 0 0; color: #52605e; font-size: 1.05rem; }
.selector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-card { --accent: var(--coral); position: relative; min-height: 430px; padding: 12px; display: flex; flex-direction: column; border: 2px solid var(--ink); border-radius: 22px; background: #faf8f1; box-shadow: 6px 6px 0 var(--ink); text-decoration: none; transition: transform .22s ease, box-shadow .22s ease; }
.guide-card:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); }
.card-coral { --accent: var(--coral); }
.card-cyan { --accent: #46d7e8; }
.card-lime { --accent: #b9ee5a; }
.card-amber { --accent: #ffc857; }
.card-pink { --accent: #ff7b99; }
.card-wireguard { --accent: #f4b1b7; }
.card-extreme { --accent: #2f79c8; }
.card-iphone { --accent: #0a84ff; }
.card-samsung { --accent: #56d6ff; }
.card-selling { --accent: #e50945; }
.card-lg { --accent: #a50034; }
.card-quick { --accent: #9becbe; }
.card-iphone .card-visual { background: linear-gradient(145deg, #0a84ff, #30d158); }
.card-iphone .card-visual > span { right: 18px; bottom: 14px; font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.06em; }
.card-samsung .card-visual { background: linear-gradient(145deg, #123a61, #56d6ff); }
.card-samsung .card-visual > span { right: 18px; bottom: 14px; font-size: clamp(1.8rem, 3.8vw, 3.1rem); letter-spacing: -.05em; }
.card-selling .card-visual { background: linear-gradient(145deg, #101828 12%, #e50945); }
.card-selling .card-visual > span { right: 18px; bottom: 10px; font-size: clamp(3.5rem, 7vw, 6.4rem); letter-spacing: -.09em; }
.card-lg .card-visual { background: radial-gradient(circle at 25% 25%, #ff5a7d, transparent 32%), linear-gradient(145deg, #650020, #a50034); }
.card-lg .card-visual > span { right: 18px; bottom: 10px; font-size: clamp(4rem, 8vw, 7rem); letter-spacing: -.1em; }
.card-quick .card-visual { background: #102734; }
.card-quick .card-visual img { object-position: center 24%; }
.card-visual { position: relative; height: 158px; overflow: hidden; border-radius: 13px; background: var(--accent); }
.card-visual::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .28)); content: ""; }
.card-visual img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.86) contrast(1.03); }
.card-visual > span { position: absolute; right: 12px; bottom: 8px; z-index: 1; color: white; font-size: 2.8rem; font-weight: 900; line-height: 1; letter-spacing: -.08em; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.card-copy { padding: 22px 9px 12px; }
.card-copy p { margin: 0 0 8px; color: var(--muted); font-size: .65rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.card-copy h2 { margin: 0; font-size: clamp(1.6rem, 2.5vw, 2.5rem); line-height: .98; letter-spacing: -.04em; }
.card-copy small { margin-top: 14px; display: block; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.guide-card > b { margin-top: auto; padding: 13px 10px 5px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #c9c6bb; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.guide-card > b span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); font-size: 1.15rem; transition: transform .22s ease; }
.guide-card:hover > b span { transform: rotate(-25deg); }
.selector-footer { padding: 34px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #65706e; font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.selector-footer p { margin: 0; }

@media (max-width: 1050px) {
  .selector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-card { min-height: 390px; }
}

@media (max-width: 600px) {
  .selector-shell { width: calc(100% - 28px); padding-top: 22px; }
  .selector-header > p { display: none; }
  .selector-intro { padding: 54px 0 32px; }
  .selector-intro h1 { font-size: clamp(3.4rem, 17vw, 5rem); }
  .selector-intro > p:last-child { margin-top: 22px; font-size: .96rem; }
  .selector-grid { grid-template-columns: 1fr; gap: 18px; }
  .guide-card { min-height: 0; padding: 10px; box-shadow: 4px 4px 0 var(--ink); }
  .card-visual { height: 150px; }
  .card-copy { padding: 18px 8px 10px; }
  .card-copy h2 { font-size: 2.1rem; }
  .card-copy small { font-size: .82rem; }
  .selector-footer { align-items: flex-start; flex-direction: column; }
}
