/*
Theme Name: World of Wide Range
Description: The World of Wide Range website.
Version: 1.3.3
Text Domain: wowr
*/
:root {
  --space: #060A24;
  --deep: #0D1542;
  --line: #3A4A8C;
  --gold: #F2C36B;
  --ice: #8FE3FF;
  --text: #EEF2FF;
  --muted: #B4BEE0;
  --display: "Unbounded", system-ui, sans-serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--space); color: var(--text); font: 400 1.0625rem/1.6 var(--sans); }
h1, h2, h3 { font-family: var(--display); font-weight: 300; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 3.3vw, 3.3rem); line-height: 1.14; }
h2 { font-size: clamp(1.6rem, 3vw, 2.75rem); line-height: 1.18; max-width: 20ch; }
h3 { font-size: 1.125rem; font-weight: 400; line-height: 1.35; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.wrap { max-width: 1360px; margin: 0 auto; padding-inline: var(--gutter); }
section { padding-block: clamp(64px, 9vw, 128px); }

.button {
  display: inline-block; padding: 14px 28px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 1.0625rem/1.3 var(--sans); text-decoration: none; text-align: center;
  background: var(--gold); color: var(--space);
  transition: box-shadow .2s;
}
.button:hover { box-shadow: 0 0 32px #F2C36B99; }
.button.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--muted); }
.button.ghost:hover { box-shadow: inset 0 0 0 1px var(--ice), 0 0 24px #8FE3FF55; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; text-decoration: none; line-height: 1.2; }
.brand img { height: 40px; width: auto; display: block; }
.top-link { font-weight: 500; text-underline-offset: 4px; white-space: nowrap; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: auto auto;
  grid-template-areas: "copy stage" "try stage";
  column-gap: clamp(24px, 4vw, 64px); row-gap: 32px; align-content: center;
  min-height: calc(100svh - 80px); padding-bottom: 48px;
}
.copy { grid-area: copy; align-self: end; }
.copy p { margin-top: 20px; font-size: 1.1875rem; color: var(--muted); max-width: 44ch; }
.stage { grid-area: stage; position: relative; min-width: 0; height: clamp(320px, 74svh, 760px); align-self: center; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.try { grid-area: try; align-self: start; }
.try label { display: block; font-weight: 600; margin-bottom: 8px; }
.field { display: flex; align-items: center; gap: 10px; max-width: 460px; padding-inline: 18px; border: 1px solid var(--muted); border-radius: 999px; background: var(--deep); transition: box-shadow .2s, border-color .2s; }
.field:focus-within { border-color: var(--ice); box-shadow: 0 0 28px #8FE3FF55; }
.field svg { flex: none; color: var(--gold); }
.field input { flex: 1; min-width: 0; padding: 14px 0; border: 0; border-radius: 0; background: none; }
.field input:focus { outline: none; }
.domain { margin-top: 12px; color: var(--muted); max-width: 460px; }
.domain output { color: var(--gold); font-weight: 600; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.button:disabled { opacity: .6; cursor: progress; }
#results { max-width: 460px; margin-top: 16px; }
#results:empty { display: none; }
#results ul { list-style: none; margin: 0 0 10px; padding: 0; }
#results li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding-block: 8px; border-top: 1px solid var(--line); }
#results b { font-weight: 600; overflow-wrap: anywhere; }
#results .free { color: var(--gold); font-weight: 600; }
#results .taken, #results .unknown, #results p { color: var(--muted); }
#results p { font-size: .9375rem; }

input, textarea {
  display: block; width: 100%; padding: 14px 16px; border: 1px solid var(--muted); border-radius: 12px;
  background: var(--deep); color: var(--text); font: 400 1.0625rem/1.4 var(--sans);
}
input::placeholder { color: var(--muted); }

/* The offer */
.offer { background: var(--deep); }
.offer .lead { margin-top: 20px; font-size: 1.1875rem; color: var(--muted); max-width: 58ch; }
.signal { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: auto 6fr 1fr; gap: 24px 20px; align-items: center; }
.signal h3 { font-size: 1.25rem; }
.lit { height: 18px; background: repeating-linear-gradient(90deg, var(--gold) 0 calc(100% / 12 - 5px), transparent calc(100% / 12 - 5px) calc(100% / 12)); filter: drop-shadow(0 0 8px #F2C36B88); }
.off { height: 18px; border: 1px dashed var(--muted); border-radius: 2px; }
.scale { grid-column: 2 / -1; display: grid; grid-template-columns: 6fr 1fr; gap: 20px; margin-top: -12px; font-size: .9375rem; color: var(--muted); }

/* Lists */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.items > div { padding-block: 24px; border-top: 1px solid var(--line); }
.items > div:first-child { border-top: 0; padding-top: 0; }
.items p { margin-top: 8px; max-width: 56ch; color: var(--muted); }

/* Steps: one lit line running through each stage */
.steps { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); counter-reset: step; background: linear-gradient(90deg, var(--gold), var(--ice)) 0 21px / 100% 1px no-repeat; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border: 1px solid var(--gold); border-radius: 50%; background: var(--space); font: 400 1rem/1 var(--display); color: var(--gold); box-shadow: 0 0 18px #F2C36B55; }
.steps li:nth-child(n+3)::before { border-color: var(--ice); color: var(--ice); box-shadow: 0 0 18px #8FE3FF55; }
.steps p { margin-top: 8px; color: var(--muted); }

/* FAQ */
.faq { background: var(--deep); }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { padding-block: 20px; cursor: pointer; font: 400 1.125rem/1.35 var(--display); letter-spacing: -.01em; }
details p { padding-bottom: 24px; max-width: 58ch; color: var(--muted); }

/* Contact: the edge of the planet rising behind the form */
.contact { position: relative; overflow: hidden; padding-bottom: clamp(96px, 12vw, 180px); }
.contact::before { content: ""; position: absolute; left: 50%; top: 62%; width: max(1800px, 170vw); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--deep); box-shadow: 0 -2px 2px #8FE3FF, 0 -12px 60px #8FE3FF88, 0 -40px 180px #8FE3FF44; }
.contact .wrap { position: relative; }
.contact address { margin-top: 24px; font-style: normal; color: var(--muted); }
.contact address a { color: var(--text); font-weight: 600; text-underline-offset: 3px; }
.contact address p + p { margin-top: 16px; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); border-radius: 20px; background: #0D1542E6; }
form label { font-weight: 600; display: block; margin-bottom: 6px; }
.full { grid-column: 1 / -1; }
.send { display: flex; flex-wrap: wrap; gap: 12px; }
#status { font-weight: 500; }
#status:empty { display: none; }

footer { background: var(--deep); padding-block: 32px; color: var(--muted); font-size: .9375rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "copy" "stage" "try"; min-height: 0; row-gap: 16px; }
  .stage { height: min(92vw, 520px); }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; background: linear-gradient(180deg, var(--gold), var(--ice)) 21px 0 / 1px 100% no-repeat; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; }
  .steps li::before { grid-row: span 2; margin: 0; }
}
@media (max-width: 560px) {
  .brand span { max-width: 9ch; }
  .signal { grid-template-columns: 1fr; gap: 10px; }
  .lit { background-image: repeating-linear-gradient(90deg, var(--gold) 0 calc(100% / 12 - 3px), transparent calc(100% / 12 - 3px) calc(100% / 12)); }
  .signal h3:not(:first-child) { margin-top: 16px; }
  .scale { display: none; }
  .signal .off::after { content: "Then renews yearly"; display: block; margin-top: 22px; font-size: .9375rem; color: var(--muted); }
  .signal .lit::after { content: "First 12 months free"; display: block; margin-top: 22px; font-size: .9375rem; color: var(--muted); filter: none; }
  .signal .lit, .signal .off { margin-bottom: 36px; }
  form { grid-template-columns: 1fr; }
  .send .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .field { transition: none; }
}

/* Header links */
.top-nav { display: flex; gap: clamp(14px, 3vw, 28px); }

/* Pricing page */
.price-top { padding-block: clamp(32px, 5vw, 72px) 0; }
.price-top h1 { max-width: 22ch; }
.price-top p { margin-top: 20px; font-size: 1.1875rem; color: var(--muted); max-width: 58ch; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); margin-top: clamp(40px, 5vw, 64px); align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: 20px; background: var(--deep); }
.plan.pick { border-color: var(--gold); box-shadow: 0 0 40px #F2C36B33; }
.plan h2 { font-size: 1.375rem; font-weight: 400; }
.plan .for { margin-top: 8px; color: var(--muted); min-height: 3.2em; }
.plan .amount { margin-top: 24px; font: 300 clamp(2rem, 3.2vw, 2.75rem)/1.1 var(--display); letter-spacing: -.03em; color: var(--gold); }
.plan .tax { margin-top: 6px; font-size: .9375rem; color: var(--muted); }
.plan ul { list-style: none; margin: 24px 0; padding: 0; flex: 1; }
.plan li { padding-block: 10px; border-top: 1px solid var(--line); }
.plan li.lead-in { font-weight: 600; }
.plan .button { display: block; }
.pay-note { margin-top: 20px; color: var(--muted); max-width: 70ch; }
.renewal { background: var(--deep); }
.renewal .amount { font: 300 clamp(2rem, 3.2vw, 2.75rem)/1.1 var(--display); letter-spacing: -.03em; color: var(--gold); }
.renewal .tax { margin: 6px 0 20px; font-size: .9375rem; color: var(--muted); }
.renewal ul { margin: 0 0 28px; padding-left: 20px; color: var(--muted); max-width: 60ch; }
.renewal li + li { margin-top: 8px; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .plan .for { min-height: 0; }
}

/* Client account */
.account { display: grid; gap: clamp(32px, 4vw, 56px); padding-block: clamp(24px, 4vw, 56px) clamp(64px, 8vw, 112px); }
.account h2 { font-size: 1.375rem; font-weight: 400; max-width: none; margin-bottom: 12px; }
.account a:not(.button) { text-underline-offset: 3px; }
.account-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.account-forms { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.account-forms section { padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); border-radius: 20px; background: var(--deep); }
.account-forms p { color: var(--muted); }
.account-forms form { display: block; padding: 0; border: 0; background: none; border-radius: 0; margin-block: 16px; }
.account-forms form > p, .account-forms form > div { margin: 0 0 16px; }
.account-forms label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.account-forms .login-remember label { display: inline; font-weight: 400; }
.account-forms input[type="checkbox"] { display: inline-block; width: auto; margin-right: 6px; }
.account-forms #wp-submit { width: auto; padding: 14px 28px; border: 0; border-radius: 999px; background: var(--gold); color: var(--space); font-weight: 600; cursor: pointer; }
.hp { position: absolute; left: -9999px; }
.account-notice { padding: 14px 18px; border: 1px solid var(--ice); border-radius: 12px; }
.account-empty { padding-block: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.account-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto minmax(190px, auto); gap: 8px 20px; align-items: center; padding-block: 16px; border-top: 1px solid var(--line); }
.account-row b { display: block; font-weight: 600; overflow-wrap: anywhere; }
.account-row span:not(.pill) { color: var(--muted); font-size: .9375rem; }
.pill { justify-self: start; padding: 3px 12px; border-radius: 999px; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.pill.ok { background: #123A4A; color: var(--ice); }
.pill.soon { background: #4A3A16; color: var(--gold); }
.pill.late { background: #4A1A2C; color: #FF9C8F; }
.account-packs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.account-table { overflow-x: auto; }
.account-table table { width: 100%; min-width: 520px; border-collapse: collapse; }
.account-table th, .account-table td { padding: 12px 16px 12px 0; border-top: 1px solid var(--line); text-align: left; }
.account-table th { font-size: .9375rem; color: var(--muted); font-weight: 500; }
@media (max-width: 900px) {
  .account-forms, .account-row { grid-template-columns: 1fr; }
}

/* Menu login button */
.top-nav { align-items: center; }
.menu-login { padding: 9px 18px; font-size: .9375rem; white-space: nowrap; }
@media (max-width: 560px) {
  .top { flex-wrap: wrap; }
  .top-nav { width: 100%; justify-content: space-between; }
}
