/* somebodyasks.com landing page */

:root {
  --ink: #0f1222;
  --ink-2: #1a1f38;
  --text: #3a3f55;
  --muted: #6b7086;
  --cream: #f7f4ee;
  --line: #e6e2d9;
  --white: #ffffff;
  --accent: #ff6a3d;
  --accent-dark: #e4542a;
  --accent-soft: #fff0ea;
  --radius: 14px;
  --font: "Manrope Variable", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.2, 1.3, 0.35, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}

.wrap--narrow {
  width: min(760px, 100% - 32px);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-height: 46px;
  padding: 0 1.3em;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 106, 61, 0.45);
  outline-offset: 3px;
}

.btn--small {
  min-height: 38px;
  font-size: 15px;
}

.btn--big {
  min-height: 54px;
  padding: 0 1.6em;
  font-size: 17px;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn--ghost-dark:hover {
  background: var(--ink);
  color: var(--white);
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 18, 34, 0.85);
  backdrop-filter: blur(12px);
  color: var(--white);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo svg {
  width: 28px;
  height: 28px;
}

.logo svg path {
  fill: var(--accent);
}

.logo svg circle {
  fill: var(--white);
}

.nav__links {
  display: flex;
  gap: 26px;
  font-size: 15px;
  font-weight: 600;
}

.nav__links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.nav__links a:hover {
  color: var(--white);
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
  padding: clamp(72px, 12vw, 140px) 0 clamp(80px, 12vw, 150px);
}

.hero__glow {
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(35% 40% at 75% 30%, rgba(255, 106, 61, 0.35), transparent 70%),
    radial-gradient(30% 35% at 20% 70%, rgba(124, 92, 255, 0.3), transparent 70%),
    radial-gradient(25% 30% at 55% 85%, rgba(45, 212, 191, 0.18), transparent 70%);
  animation: glow 22s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glow {
  from { transform: translate(-3%, -2%) rotate(0deg); }
  to { transform: translate(3%, 3%) rotate(6deg); }
}

.hero__inner {
  position: relative;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 22px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.hero h1 {
  max-width: 15ch;
  margin: 0 auto;
  color: var(--white);
  font-size: clamp(40px, 7.4vw, 86px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.accent {
  color: var(--accent);
}

.lead {
  max-width: 40rem;
  margin: 26px auto 0;
  font-size: clamp(17px, 2vw, 20px);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.trust li::before {
  content: "✓ ";
  color: var(--accent);
}

/* ---------- Sections ---------- */

section {
  scroll-margin-top: 72px;
}

.section-head {
  max-width: 44rem;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 800;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.demo-section,
.how,
.features,
.packages,
.faq {
  padding: clamp(64px, 9vw, 110px) 0;
}

.how,
.packages {
  background: var(--white);
}

/* ---------- Demo ---------- */

.themes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px 0 10px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 0 0 1.5px var(--line);
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.15s;
}

.theme-chip:hover {
  transform: translateY(-1px);
}

.theme-chip[aria-checked="true"] {
  box-shadow: 0 0 0 2.5px var(--ink);
}

.theme-chip__swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.demo {
  --d-hero: #0b1d3a;
  --d-text: #ffffff;
  --d-primary: #f59e0b;
  --d-bg: #0b1d3a;
  --d-font: var(--font);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .demo {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

.demo figure {
  margin: 0;
  width: 100%;
}

.demo figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* Big-screen mock: sized in container units so it scales as one picture. */
.mock-screen {
  container-type: inline-size;
}

.ms {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  grid-template-columns: 34% 1fr;
  overflow: hidden;
  border-radius: 1.4cqw;
  background: var(--d-bg);
  color: var(--d-text);
  font-family: var(--d-font);
  box-shadow: 0 2cqw 5cqw rgba(15, 18, 34, 0.28), 0 0 0 0.6cqw var(--ink);
  transition: background 0.6s, color 0.6s;
}

.ms::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 80% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.ms__stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 3cqw 2.4cqw 2.6cqw 3cqw;
  border-right: 1px solid color-mix(in srgb, var(--d-text) 18%, transparent);
}

.ms__brand {
  display: flex;
  align-items: center;
  gap: 0.7cqw;
  font-weight: 800;
  font-size: 1.3cqw;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 2.2cqw;
}

.ms__mark {
  width: 1.8cqw;
  height: 1.8cqw;
  border-radius: 50%;
  border: 0.35cqw solid var(--d-text);
  box-shadow: inset 0 0 0 0.35cqw var(--d-primary);
}

.ms__kicker {
  align-self: flex-start;
  margin: 0 0 1.2cqw;
  padding: 0.35cqw 0.9cqw;
  border-radius: 999px;
  background: color-mix(in srgb, var(--d-text) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--d-text) 25%, transparent);
  font-size: 0.85cqw;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ms__headline {
  margin: 0 0 1cqw;
  font-size: 3cqw;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.ms__sub {
  margin: 0;
  font-size: 1.15cqw;
  line-height: 1.35;
  opacity: 0.85;
}

.ms__counter {
  align-self: flex-start;
  margin: 1.4cqw 0 0;
  padding: 0.5cqw 1.1cqw;
  border-radius: 999px;
  background: color-mix(in srgb, var(--d-text) 12%, transparent);
  font-size: 1cqw;
  font-weight: 600;
}

.ms__counter strong {
  display: inline-block;
  font-size: 1.5cqw;
}

.ms__counter strong.bump {
  animation: bump 0.6s var(--spring);
}

@keyframes bump {
  35% { transform: scale(1.5); }
}

.ms__qr {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.9cqw;
  border-radius: 1cqw;
  background: #fff;
  box-shadow: 0 1cqw 2cqw rgba(0, 0, 0, 0.25);
}

.ms__qrcode {
  display: grid;
  grid-template-columns: repeat(21, 1fr);
  width: 9cqw;
  height: 9cqw;
}

.ms__qrcode i {
  background: #1f1f1f;
}

.ms__qrcode i.o {
  background: transparent;
}

.ms__board {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: min-content;
  gap: 1.2cqw;
  padding: 3cqw 3cqw 0 2.4cqw;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent);
  mask-image: linear-gradient(to bottom, #000 80%, transparent);
}

.ms-card {
  position: relative;
  padding: 1.3cqw 1.5cqw 1.5cqw;
  border-radius: 1cqw;
  background: #fff;
  color: #1f1f1f;
  font-size: 1.35cqw;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 0.2cqw 0.4cqw rgba(0, 0, 0, 0.15), 0 1.2cqw 2.4cqw rgba(0, 0, 0, 0.22);
  cursor: pointer;
  overflow-wrap: anywhere;
  transition: transform 0.2s;
}

.ms-card:hover {
  transform: translateY(-0.2cqw);
}

.ms-card::before {
  content: "“";
  display: block;
  height: 1.6cqw;
  margin-bottom: 0.2cqw;
  color: var(--d-primary);
  font-family: Georgia, serif;
  font-size: 3.4cqw;
  font-weight: 700;
  line-height: 1;
}

.ms-card--featured {
  grid-column: 1 / -1;
  font-size: 2.1cqw;
  font-weight: 700;
  line-height: 1.18;
  padding: 1.6cqw 2cqw 2cqw;
}

.ms-card--featured::after {
  content: "Nýjast";
  position: absolute;
  top: 1.5cqw;
  right: 1.6cqw;
  padding: 0.25cqw 0.8cqw;
  border-radius: 999px;
  background: color-mix(in srgb, var(--d-primary) 14%, #fff);
  color: color-mix(in srgb, var(--d-primary) 80%, #000);
  font-size: 0.8cqw;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ms-card.is-new {
  animation: pop 0.9s var(--spring) both, glow 4s ease-out both;
}

@keyframes pop {
  from { opacity: 0; transform: perspective(60cqw) translateY(3cqw) rotateX(16deg) scale(0.9); }
  to { opacity: 1; transform: none; }
}

@keyframes glow {
  0%, 25% { box-shadow: 0 0 0 0.35cqw rgba(255, 255, 255, 0.7), 0 0 4cqw rgba(255, 255, 255, 0.5); }
}

.ms__spot {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  padding: 0 10cqw;
  text-align: center;
  background: var(--d-bg);
  color: var(--d-text);
  cursor: pointer;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 0.8s var(--ease);
}

.ms__spot.is-open {
  clip-path: circle(150% at 50% 50%);
}

.ms__spotlabel {
  margin: 0 0 1.6cqw;
  font-size: 1.1cqw;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
}

.ms__spottext {
  margin: 0;
  font-size: 4cqw;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.ms__toast {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 2cqw;
  padding: 0.7cqw 1.4cqw;
  border-radius: 999px;
  background: rgba(15, 18, 34, 0.88);
  color: #fff;
  font-family: var(--font);
  font-size: 1.05cqw;
  font-weight: 600;
  transform: translateX(-50%);
  animation: toast 2.2s var(--ease) both;
}

@keyframes toast {
  0% { opacity: 0; transform: translate(-50%, 1cqw); }
  15%, 80% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 0); }
}

/* Phone mock */
.mock-phone {
  max-width: 300px;
}

.mp {
  position: relative;
  overflow: hidden;
  height: 560px;
  border-radius: 38px;
  background: #fafafa;
  box-shadow: 0 0 0 10px var(--ink), 0 24px 50px rgba(15, 18, 34, 0.3);
  font-family: var(--d-font);
}

.mp__hero {
  position: relative;
  padding: 40px 22px 44px;
  background: var(--d-bg);
  color: var(--d-text);
  transition: background 0.6s, color 0.6s;
}

.mp__hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 26px;
  background: #fafafa;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.mp__kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--d-text) 14%, transparent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mp__title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.mp__form {
  padding: 4px 18px 18px;
}

.mp textarea {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  background: #fff;
  color: #1f1f1f;
  font-size: 15px;
  resize: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.mp textarea:focus {
  outline: none;
  border-color: var(--d-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--d-primary) 22%, transparent);
}

.mp textarea.shake {
  animation: shake 0.4s;
}

@keyframes shake {
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.mp__send {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  border: 0;
  border-radius: 6px;
  background: var(--d-primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: filter 0.15s;
}

.mp__send:hover {
  filter: brightness(0.92);
}

.mp__note {
  margin: 12px 2px 0;
  font-size: 12px;
  color: #8a8a8a;
  text-align: center;
}

.mp__done {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 200px;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 20px;
  background: #fafafa;
  color: #1f1f1f;
  text-align: center;
  animation: rise 0.4s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
}

.mp__check {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 3px solid var(--d-primary);
  color: var(--d-primary);
  font-size: 26px;
  font-weight: 800;
}

.flyer {
  position: fixed;
  z-index: 60;
  padding: 10px 12px;
  border-radius: 14px 14px 14px 4px;
  background: #fff;
  color: #1f1f1f;
  font-family: var(--d-font);
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  overflow: hidden;
  max-height: 90px;
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 30px 28px;
  border-radius: var(--radius);
  background: var(--cream);
}

.steps__n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

.steps h3,
.feature h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.steps p,
.feature p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 2px rgba(15, 18, 34, 0.04);
}

.feature__icon {
  font-size: 28px;
  margin-bottom: 14px;
}

@media (max-width: 960px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Packages ---------- */

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.package {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--cream);
}

.package h3 {
  font-size: 26px;
}

.package__for {
  margin: 6px 0 18px;
  color: var(--muted);
}

.package ul {
  flex: 1;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.package li {
  position: relative;
  padding: 7px 0 7px 26px;
  border-top: 1px solid var(--line);
}

.package li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.package--featured {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
}

.package--featured h3 {
  color: var(--white);
}

.package--featured .package__for {
  color: rgba(255, 255, 255, 0.6);
}

.package--featured li {
  border-color: rgba(255, 255, 255, 0.12);
}

.package__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .package-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 20px 40px 20px 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 26px;
  font-weight: 600;
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  margin: 0 0 22px;
  color: var(--muted);
}

/* ---------- Contact & footer ---------- */

.contact {
  padding: clamp(70px, 10vw, 120px) 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.contact h2 {
  color: var(--white);
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
}

.contact p {
  margin: 16px 0 30px;
  font-size: 19px;
}

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 24px 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
