/* ============================================================
   NameWise marketing site
   ============================================================ */

:root {
  --page: #f1faf8;            /* fresh light cyan-tinted background */
  --bg: #103330;             /* deep teal (footer) */
  --bg-soft: #16413c;
  --surface: #ffffff;
  --surface-soft: #e4f6f1;   /* soft teal tint for alt sections */
  --ink: #14302b;            /* dark teal-charcoal */
  --ink-soft: #4f6b65;
  --ink-mute: #9bb3ad;
  --line: #d4ebe5;
  --brand: #14b8a6;          /* lake teal (primary) */
  --brand-dark: #0e9488;
  --brand-soft: #d2f3ee;
  --accent: #ff6a4d;         /* coral pop (accent) */
  --accent-soft: #ffe3db;
  --amber: #ffb22e;
  --amber-soft: #ffeccb;
  --lavender: #9d8cf0;
  --lavender-soft: #eae5ff;
  --sky: #4cc4e0;
  --sky-soft: #d8f3fb;
  --red: #f25c54;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow-sm: 0 2px 4px rgba(15, 80, 72, 0.06), 0 3px 10px rgba(15, 80, 72, 0.06);
  --shadow-md: 0 14px 34px rgba(15, 80, 72, 0.13);
  --shadow-lg: 0 30px 64px rgba(15, 80, 72, 0.18);
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --display: "Fredoka", "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand__name {
  font-family: var(--display);
  letter-spacing: -0.01em;
}

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

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: rgba(148, 163, 184, 0.18);
  padding: 0.1em 0.4em;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-weight: 700;
  border-radius: 999px;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(20, 184, 166, 0.4);
}
.btn--primary:hover {
  background: var(--brand-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 28px rgba(20, 184, 166, 0.45);
}
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.btn--sm { padding: 10px 20px; font-size: 0.92rem; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn__meta {
  font-weight: 500;
  font-size: 0.74rem;
  opacity: 0.82;
  letter-spacing: 0.01em;
}

/* ----------------------------- Nav ----------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.brand__name { font-size: 1.12rem; }
.nav__links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 8px;
}
.nav__links a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--ink); }

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative;
  padding: 78px 0 60px;
  text-align: center;
  background:
    radial-gradient(820px 420px at 12% -8%, var(--amber-soft), transparent 60%),
    radial-gradient(820px 460px at 88% -4%, var(--lavender-soft), transparent 62%),
    radial-gradient(900px 520px at 50% 120%, var(--accent-soft), transparent 60%);
  overflow: hidden;
}
/* slowly drifting gradient wash */
.hero::after {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(20, 184, 166, 0.16), transparent),
    radial-gradient(closest-side, rgba(255, 106, 77, 0.14), transparent);
  background-size: 55% 55%, 50% 50%;
  background-position: 15% 25%, 80% 70%;
  background-repeat: no-repeat;
  animation: gradient-drift 18s ease-in-out infinite alternate;
}
.hero .container { position: relative; z-index: 1; }
@keyframes gradient-drift {
  0% { background-position: 12% 20%, 82% 72%; }
  50% { background-position: 30% 38%, 62% 56%; }
  100% { background-position: 18% 28%, 78% 66%; }
}

/* ----------------------------- Floating cute icons ----------------------------- */
.decos {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.deco {
  position: absolute;
  opacity: 0.42;
  will-change: transform;
}
.deco svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* keep icons out of the central reading column, toward the edges */
.deco--1 {
  width: 58px; height: 58px; color: var(--brand);
  top: 15%; left: 4%; animation: float-soft 8s ease-in-out infinite;
}
.deco--2 {
  width: 44px; height: 44px; color: var(--accent);
  top: 13%; right: 6%; animation: drift 11s ease-in-out infinite;
}
.deco--3 {
  width: 40px; height: 40px; color: var(--amber);
  top: 64%; left: 8%; animation: float-soft 7s ease-in-out infinite 0.6s;
}
.deco--4 {
  width: 48px; height: 48px; color: var(--sky);
  top: 66%; right: 9%; animation: drift 9s ease-in-out infinite reverse;
}
.deco--5 {
  width: 34px; height: 34px; color: var(--lavender);
  top: 40%; left: 2.5%; animation: pulse 6s ease-in-out infinite;
}
.deco--6 {
  width: 30px; height: 30px; color: var(--brand);
  top: 78%; right: 3%; animation: pulse 5s ease-in-out infinite 1s;
}
@keyframes float-soft {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(8deg); }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-14px, 12px) rotate(-6deg); }
  66% { transform: translate(10px, -8px) rotate(5deg); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1) rotate(-4deg); opacity: 0.36; }
  50% { transform: scale(1.18) rotate(4deg); opacity: 0.55; }
}
@media (prefers-reduced-motion: reduce) {
  .deco, .hero::after { animation: none; }
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  background: #fff;
  border: 2px solid var(--brand);
  padding: 6px 16px;
  border-radius: 999px;
}
.eyebrow--center { display: block; width: fit-content; margin: 0 auto 14px; }
.hero__title {
  margin: 24px 0 18px;
  font-size: clamp(2.3rem, 5.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.hero__sub {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
}
.hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 34px 0 8px;
}

/* ----------------------------- Demo ----------------------------- */
.demo {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  max-width: 980px;
  margin: 54px auto 0;
  text-align: left;
}
.demo__col {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.demo__col--after {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.18);
}
.demo__head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot--red { background: var(--red); }
.dot--amber { background: var(--amber); }
.dot--green { background: #28c840; }
.demo__label {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.demo__label--ai {
  margin-left: 0;
  color: var(--accent);
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
}
.filelist { list-style: none; margin: 0; padding: 8px; }
.filelist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  font-size: 0.9rem;
  font-family: var(--mono);
  color: var(--ink-soft);
  border-radius: 8px;
}
.filelist--after li { color: var(--ink); }
.filelist li + li { margin-top: 2px; }
.fi { font-size: 0.95rem; }
.demo__arrow {
  font-size: 1.8rem;
  color: var(--brand);
  font-weight: 700;
}

/* ----------------------------- Supported file types ----------------------------- */
.filetypes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  margin: 22px 0 2px;
}
.filetypes__lead { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
.filetypes ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.filetypes li {
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid rgba(20, 184, 166, 0.28);
  border-radius: 999px;
}
.filetypes li.filetypes__more {
  color: var(--ink-mute);
  background: rgba(148, 163, 184, 0.14);
  border-color: var(--line);
}

/* ----------------------------- Hero "more below" teaser ----------------------------- */
.hero__more { margin: 24px auto 0; font-size: 0.95rem; color: var(--ink-soft); }
.hero__more a { color: var(--brand); font-weight: 600; }
.hero__more a:hover { text-decoration: underline; }

/* ----------------------------- Auto-playing demo ----------------------------- */
.autodemo {
  width: 100%;
  max-width: 460px;
  margin: 40px auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}
.autodemo__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}
.autodemo__loc {
  margin-left: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-mute);
}
.autodemo__stage {
  position: relative;
  padding: 38px 26px;
  min-height: 150px;
}
.adfile {
  display: flex;
  align-items: center;
  gap: 16px;
}
.adfile__icon {
  position: relative;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.adscan {
  position: absolute;
  left: 0;
  right: 0;
  height: 26px;
  background: linear-gradient(180deg, transparent, rgba(20, 184, 166, 0.45), transparent);
  opacity: 0;
  animation: ad-scan 9s linear infinite;
}
.adfile__names {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 1.5em;
}
.adname {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  font-family: inherit;
  font-size: 0.86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.adname--old {
  color: var(--ink-soft);
  right: auto;
  max-width: 100%;
  animation: ad-oldname 9s ease infinite;
}
.adname--old::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  animation: ad-strike 9s ease infinite;
}
@keyframes ad-strike {
  0%, 18% { transform: scaleX(0); }
  26%, 32% { transform: scaleX(1); }
  36%, 100% { transform: scaleX(0); }
}
.adname--reading { color: var(--brand); opacity: 0; animation: ad-reading 9s ease infinite; }
.adname--new {
  color: var(--ink);
  font-weight: 600;
  opacity: 0;
  left: -7px;
  padding: 2px 7px;
  border-radius: 6px;
  animation: ad-newname 9s ease infinite;
}
.addots i { animation: ad-dots 1.2s steps(1) infinite; opacity: 0; }
.addots i:nth-child(2) { animation-delay: 0.4s; }
.addots i:nth-child(3) { animation-delay: 0.8s; }
.adcheck {
  display: inline-block;
  margin-left: 6px;
  color: var(--brand);
  font-weight: 800;
}

/* Floating context menu */
.admenu {
  position: absolute;
  top: 58px;
  left: 64px;
  width: 220px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 11px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform-origin: top left;
  animation: ad-menu 9s ease infinite;
  z-index: 3;
}
.admenu__item {
  padding: 7px 11px;
  border-radius: 7px;
  font-size: 0.92rem;
  color: var(--ink);
}
.admenu__item--hl { animation: ad-hl 9s ease infinite; }
.adcursor {
  position: absolute;
  top: 70px;
  left: 92px;
  opacity: 0;
  animation: ad-cursor 9s ease infinite;
  z-index: 4;
}

@keyframes ad-oldname {
  0%, 30% { opacity: 1; }
  36%, 92% { opacity: 0; }
  98%, 100% { opacity: 1; }
}
@keyframes ad-menu {
  0%, 6% { opacity: 0; transform: translateY(8px) scale(0.95); }
  11%, 28% { opacity: 1; transform: translateY(0) scale(1); }
  34%, 100% { opacity: 0; transform: translateY(4px) scale(0.97); }
}
@keyframes ad-hl {
  0%, 12% { background: transparent; color: var(--ink); }
  16%, 26% { background: var(--brand); color: #fff; }
  30%, 100% { background: transparent; color: var(--ink); }
}
@keyframes ad-cursor {
  0%, 7% { opacity: 0; transform: translate(4px, 4px); }
  12% { opacity: 1; transform: translate(0, 0); }
  18% { transform: translate(-2px, -2px) scale(0.82); }
  24%, 28% { transform: translate(0, 0) scale(1); opacity: 1; }
  33%, 100% { opacity: 0; }
}
@keyframes ad-scan {
  0%, 35% { opacity: 0; top: -28px; }
  38% { opacity: 1; }
  47% { opacity: 1; top: 56px; }
  49%, 100% { opacity: 0; top: 56px; }
}
@keyframes ad-reading {
  0%, 36% { opacity: 0; }
  40%, 47% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@keyframes ad-newname {
  0%, 49% { opacity: 0; transform: translateY(6px); background: rgba(20, 184, 166, 0); }
  54% { opacity: 1; transform: translateY(0); background: rgba(20, 184, 166, 0.3); }
  64%, 92% { opacity: 1; background: rgba(20, 184, 166, 0); }
  98%, 100% { opacity: 0; }
}
@keyframes ad-dots {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* Before / After badges */
.adbadge {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 3px 10px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  z-index: 5;
}
.adbadge--before {
  color: var(--ink-mute);
  background: rgba(148, 163, 184, 0.2);
  animation: ad-badge-before 9s ease infinite;
}
.adbadge--after {
  color: var(--brand-dark);
  background: rgba(20, 184, 166, 0.16);
  opacity: 0;
  animation: ad-badge-after 9s ease infinite;
}
@keyframes ad-badge-before {
  0%, 32% { opacity: 1; }
  38%, 100% { opacity: 0; }
}
@keyframes ad-badge-after {
  0%, 49% { opacity: 0; }
  55%, 92% { opacity: 1; }
  98%, 100% { opacity: 0; }
}

/* Demo caption (centered) */
.autodemo__caption {
  margin: 0;
  padding: 14px 18px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

/* Template format placeholder text (e.g. {ClientName}) */
.tpph { color: var(--brand); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .adscan, .admenu, .adcursor, .adname--reading, .adbadge--before { display: none; }
  .adname--old { animation: none; opacity: 0; }
  .adname--old::after { display: none; }
  .adname--new { animation: none; opacity: 1; transform: none; }
  .adbadge--after { animation: none; opacity: 1; }
}

/* ----------------------------- Strip ----------------------------- */
.strip {
  background: linear-gradient(100deg, var(--accent), var(--amber));
  color: #fff;
  padding: 42px 0;
}
.strip__inner { text-align: center; }
.strip__lead {
  margin: 0 0 18px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
}
.strip__roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.strip__roles li {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(180, 70, 40, 0.22);
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.strip__roles li:hover { transform: translateY(-3px) rotate(-2deg); }

/* ----------------------------- Sections ----------------------------- */
.section { padding: 76px 0; }
.section__title {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 16px;
}
.section__title--center { text-align: center; }
.section__lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 0 14px;
}
.section__lead--center { margin-left: auto; margin-right: auto; text-align: center; }

.problem { background: var(--surface-soft); text-align: center; }
.problem .section__lead { margin-left: auto; margin-right: auto; }

/* ----------------------------- Feature grid ----------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
.card--accent {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--brand-soft), #fff);
}
.card__icon {
  font-size: 1.65rem;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--surface-soft);
  border-radius: 16px;
  margin-bottom: 16px;
}
.grid .card:nth-child(6n + 1) .card__icon { background: var(--brand-soft); }
.grid .card:nth-child(6n + 2) .card__icon { background: var(--accent-soft); }
.grid .card:nth-child(6n + 3) .card__icon { background: var(--amber-soft); }
.grid .card:nth-child(6n + 4) .card__icon { background: var(--lavender-soft); }
.grid .card:nth-child(6n + 5) .card__icon { background: var(--sky-soft); }
.grid .card:nth-child(6n + 6) .card__icon { background: var(--accent-soft); }
.card h3 { margin: 0 0 8px; font-size: 1.18rem; }
.card p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* ----------------------------- Steps ----------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.step {
  text-align: center;
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.step__num {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(20, 184, 166, 0.35);
}
.step h3 { margin: 0 0 8px; font-size: 1.12rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

/* ----------------------------- In Finder (real UI) ----------------------------- */
.finder { background: var(--surface-soft); }
.finder__row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}
.finder__row--reverse .finder__visual { order: 2; }
.finder__visual { display: flex; flex-direction: column; align-items: center; }
.finder__caption {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.finder__lead { font-size: 1.1rem; color: var(--ink-soft); margin: 0 0 18px; }

/* macOS context menu */
.ctxmenu {
  width: 100%;
  max-width: 360px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
}
.ctxmenu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 0.98rem;
  color: var(--ink);
}
.ctxmenu__item--hl { background: var(--brand); color: #fff; }
.ctxmenu__item--muted { color: var(--ink-mute); }
.ctxmenu__ic { font-size: 1rem; width: 1.2em; text-align: center; }
.ctxmenu__sep { height: 1px; background: rgba(15, 23, 42, 0.1); margin: 6px 8px; }

/* macOS dialog window */
.macwin {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.macwin__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.tl { width: 12px; height: 12px; border-radius: 50%; }
.tl--r { background: #ff5f57; }
.tl--y { background: #febc2e; }
.tl--g { background: #28c840; }
.macwin__title {
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  pointer-events: none;
}
.macwin__body { padding: 22px; }
.macwin__label { margin: 0 0 12px; font-size: 0.98rem; color: var(--ink); }
.macwin__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}
.macwin__list li {
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 0.96rem;
  color: var(--ink);
}
.macwin__list li.is-sel { background: var(--brand); color: #fff; }
.macwin__actions { display: flex; justify-content: flex-end; gap: 10px; }
.macbtn {
  padding: 8px 20px;
  font-size: 0.92rem;
  font-family: inherit;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: default;
}
.macbtn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.macbtn--primary:disabled { opacity: 0.5; }

/* Function blurbs */
.func { margin-bottom: 22px; }
.func:last-child { margin-bottom: 0; }
.func__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 6px;
  font-size: 1.12rem;
}
.func__ic { font-size: 1.05rem; }
.func p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }

/* Template action list */
.actionlist { list-style: none; margin: 0; padding: 0; }
.actionlist li {
  position: relative;
  padding: 0 0 0 18px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.actionlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}
.actionlist b { color: var(--ink); }
.actionlist em { font-style: italic; color: var(--ink); }

/* ----------------------------- Pricing ----------------------------- */
.pricing { background: var(--surface-soft); }
.trialbar {
  width: fit-content;
  max-width: 100%;
  margin: 24px auto 0;
  padding: 11px 24px;
  background: linear-gradient(100deg, var(--accent), var(--amber));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(180, 70, 40, 0.22);
  text-align: center;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.2s ease, border-color 0.2s ease;
}
.plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
.plan--featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(20, 184, 166, 0.4);
}
.plan__name { margin: 0 0 12px; font-size: 1.25rem; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.plan__amt { font-family: var(--display); font-size: 2.1rem; font-weight: 700; color: var(--ink); }
.plan__per { color: var(--ink-soft); font-size: 0.9rem; font-weight: 600; }
.plan__note { margin: 0 0 18px; font-size: 0.86rem; color: var(--accent); font-weight: 700; }
.plan__list { list-style: none; margin: 0 0 24px; padding: 0; }
.plan__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.plan__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 800;
}
.plan .btn { margin-top: auto; width: 100%; }
.pricing__foot { margin: 28px 0 0; text-align: center; font-size: 0.9rem; color: var(--ink-mute); }

/* ----------------------------- Privacy ----------------------------- */
.privacy { background: var(--surface); }
.privacy__inner { text-align: center; max-width: 760px; margin: 0 auto; }
.privacy__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 20px;
}
.privacy .section__lead { margin-left: auto; margin-right: auto; }

/* ----------------------------- Download ----------------------------- */
.download { background: var(--surface-soft); position: relative; overflow: hidden; }
.download__inner { text-align: center; position: relative; z-index: 1; }
.download__cta { margin: 34px 0 16px; }
.download__note { color: var(--ink-mute); font-size: 0.92rem; }

/* Windows email capture */
.winlink {
  display: inline-block;
  margin-top: 18px;
  background: none;
  border: none;
  color: var(--brand);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 6px;
}
.winlink:hover { text-decoration: underline; }
.winbox {
  max-width: 560px;
  margin: 32px auto 0;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.winbox__lead {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 1rem;
}
.winbox__form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.winbox__input {
  flex: 1 1 240px;
  min-width: 0;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.winbox__input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.winbox__input.is-error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14);
}
.winbox__form .btn { padding: 14px 24px; flex: 0 0 auto; }
.winbox__msg {
  min-height: 1.2em;
  margin: 14px 0 0;
  font-size: 0.92rem;
  font-weight: 500;
}
.winbox__msg.is-ok { color: var(--accent); }
.winbox__msg.is-err { color: var(--red); }
.winbox .winlink { margin-top: 22px; }

/* ----------------------------- Footer ----------------------------- */
.footer {
  background: var(--bg);
  color: #cbd5e1;
  padding: 48px 0 28px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.footer .brand__name { color: #fff; font-size: 1.2rem; font-weight: 700; }
.footer__tag { margin: 8px 0 0; color: var(--ink-mute); font-size: 0.92rem; }
.footer__contact { margin: 6px 0 0; color: var(--ink-mute); font-size: 0.92rem; }
.footer__contact a { color: #fff; font-weight: 500; }
.footer__contact a:hover { text-decoration: underline; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: #cbd5e1; font-size: 0.95rem; }
.footer__links a:hover { color: #fff; }
.footer__legal { padding-top: 22px; font-size: 0.86rem; color: var(--ink-mute); }

/* ----------------------------- Reveal animation ----------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .finder__row { grid-template-columns: 1fr; gap: 32px; }
  .finder__row--reverse .finder__visual { order: 0; }
}
@media (max-width: 680px) {
  .nav__links { display: none; }
  .demo { grid-template-columns: 1fr; }
  .demo__arrow { transform: rotate(90deg); justify-self: center; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 40px; }
}
@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
