:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --bg-soft: #eef4fb;
  --surface: #ffffff;
  --surface-soft: #f5f7fa;
  --text: #171719;
  --muted: #626872;
  --muted-strong: #42526a;
  --line: #d8dbe2;
  --line-strong: #c4cad4;
  --blue: #0a84ff;
  --blue-dark: #0068d9;
  --green: #238146;
  --shadow-soft: 0 20px 60px rgba(27, 37, 55, 0.12);
  --shadow-stage: 0 34px 80px rgba(27, 37, 55, 0.18);
  --radius: 18px;
  --radius-small: 9px;
  --max: 1240px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 85% 6%, rgba(10, 132, 255, 0.12), transparent 25rem),
    linear-gradient(#fbfcfe, var(--bg));
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

code {
  border-radius: 5px;
  padding: 1px 5px;
  background: rgba(17, 24, 39, 0.06);
  color: #2a3341;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(var(--max), calc(100% - 48px));
  min-height: 84px;
  margin: 0 auto;
  padding-top: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: #1e2632;
  font-size: 21px;
  font-weight: 780;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset;
}

.nav-links,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a,
.site-footer nav a {
  color: #555b65;
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
}

.nav-links a:hover,
.site-footer nav a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.button-primary {
  border: 1px solid var(--blue-dark);
  background: linear-gradient(#168fff, var(--blue));
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(10, 132, 255, 0.24);
}

.button-secondary {
  border: 1px solid #bcc0c8;
  background: linear-gradient(#ffffff, #f6f7f9);
  color: var(--text);
}

.button:hover {
  transform: translateY(-1px);
}

.section-pad {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
}

.hero {
  display: grid;
  grid-template-columns: 0.84fr 1fr;
  gap: 58px;
  align-items: center;
  min-height: calc(100svh - 84px);
  padding-top: 72px;
}

.hero-copy {
  max-width: 620px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 640px;
  font-size: clamp(48px, 4.6vw, 66px);
  font-weight: 820;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 790;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 17px;
  font-weight: 760;
  line-height: 1.25;
}

.hero-subhead,
.section-copy > p:not(.section-kicker),
.privacy-panel p,
.store-copy p,
.page-lede {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.45;
}

.hero-subhead {
  margin-top: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 680;
}

.trust-line svg {
  width: 19px;
  height: 19px;
  color: var(--green);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.search-stage {
  position: relative;
  min-height: 575px;
  overflow: hidden;
  border: 1px solid #d6d9df;
  border-radius: 22px;
  background:
    radial-gradient(circle at 68% 0%, rgba(10, 132, 255, 0.28), transparent 18rem),
    radial-gradient(circle at 26% 86%, rgba(35, 129, 70, 0.13), transparent 17rem),
    linear-gradient(150deg, #eef5ff, #f8fafc 46%, #edf2f7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.stage-label {
  position: absolute;
  top: 31px;
  left: 36px;
  color: #3d4654;
  font-size: 14px;
  font-weight: 730;
}

.search-window {
  position: absolute;
  top: 86px;
  left: 50%;
  width: min(560px, calc(100% - 72px));
  overflow: hidden;
  transform: translateX(-50%);
  border: 1px solid rgba(150, 158, 172, 0.62);
  border-radius: 14px;
  background: rgba(245, 247, 250, 0.78);
  box-shadow: 0 36px 100px rgba(27, 37, 55, 0.26);
  backdrop-filter: blur(24px) saturate(1.25);
}

.search-query {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 66px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(193, 199, 210, 0.84);
  font-size: clamp(25px, 4.2vw, 30px);
  font-weight: 560;
  line-height: 1.1;
}

.search-query svg {
  width: 25px;
  height: 25px;
  color: #747b87;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  flex: 0 0 auto;
}

.search-result {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  min-height: 78px;
  padding: 12px 18px;
  background: rgba(10, 132, 255, 0.13);
  box-shadow: inset 0 0 0 1px rgba(10, 132, 255, 0.18);
}

.alias-tile,
.target-tile {
  display: grid;
  place-items: center;
  background: linear-gradient(#ffffff, #e9edf4);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  font-weight: 840;
}

.alias-tile {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  color: var(--blue);
}

.target-tile {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #3c4350;
  font-size: 14px;
}

.result-title {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.result-title strong {
  font-size: 20px;
  line-height: 1.1;
}

.result-title span {
  color: #4d5a6b;
  font-size: 13px;
}

.opens-target {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #1d2939;
  font-size: 13px;
  font-weight: 720;
  white-space: nowrap;
}

.example-grid {
  position: absolute;
  right: 36px;
  bottom: 34px;
  left: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.example-grid article {
  min-height: 88px;
  padding: 16px;
  border: 1px solid rgba(202, 207, 217, 0.78);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 28px rgba(27, 37, 55, 0.06);
}

.example-grid h2 {
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 780;
  line-height: 1.25;
}

.example-grid p,
.feature-rail p,
.mapping-row,
.app-counts,
.app-footer,
.faq-list p,
.page-card p,
.page-list p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section-copy {
  display: grid;
  gap: 16px;
}

.section-copy.narrow {
  max-width: 760px;
}

.section-kicker {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.setup-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 52px;
  align-items: center;
}

.app-proof {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.window-chrome {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 38px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  background: #f6f7f9;
}

.window-chrome span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d3d8e1;
}

.app-layout {
  display: grid;
  grid-template-columns: 156px 1fr;
  min-height: 420px;
}

.app-sidebar {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 20px;
  border-right: 1px solid var(--line);
  background: #f8fafc;
  color: #5a6370;
  font-size: 13px;
}

.app-sidebar strong {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 15px;
}

.app-sidebar span {
  border-radius: 7px;
  padding: 8px 9px;
}

.app-sidebar .is-active {
  background: #e8f2ff;
  color: #145ca6;
  font-weight: 720;
}

.app-main {
  padding: 20px;
}

.folder-strip {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(35, 129, 70, 0.24);
  border-radius: 12px;
  background: rgba(35, 129, 70, 0.08);
}

.folder-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--green);
}

.folder-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.folder-strip p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.status-pill {
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(35, 129, 70, 0.13);
  color: var(--green);
  font-size: 12px;
  font-weight: 760;
}

.app-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0 12px;
}

.app-counts strong {
  color: var(--text);
}

.mapping-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.mapping-row {
  display: grid;
  grid-template-columns: 22px minmax(120px, 1fr) minmax(130px, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 50px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.mapping-row:last-child {
  border-bottom: 0;
}

.mapping-row strong {
  color: var(--text);
}

.mapping-row em {
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(10, 132, 255, 0.1);
  color: #1964b3;
  font-size: 12px;
  font-style: normal;
  font-weight: 720;
}

.check {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.app-footer button {
  border: 1px solid var(--blue-dark);
  border-radius: 7px;
  background: var(--blue);
  color: #ffffff;
  font: inherit;
  font-size: 13px;
  font-weight: 730;
  padding: 8px 12px;
}

.switcher-section,
.faq-section {
  border-top: 1px solid rgba(216, 219, 226, 0.75);
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.feature-rail article {
  min-height: 178px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
}

.feature-rail h3 {
  margin-bottom: 10px;
}

.privacy-section {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100% - var(--max)) / 2));
  padding-left: max(24px, calc((100% - var(--max)) / 2));
  background: #eef4fb;
}

.privacy-panel {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 44px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.privacy-panel h2 {
  margin: 10px 0 18px;
}

.privacy-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  border: 1px solid rgba(196, 202, 212, 0.9);
  border-radius: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.76);
  color: #283344;
  font-size: 14px;
  font-weight: 730;
}

.app-store-section {
  text-align: center;
}

.store-copy {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 740px;
  margin: 0 auto;
}

.store-copy .button {
  margin-top: 8px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.76);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #202938;
  font-weight: 760;
}

.faq-list p {
  padding: 0 20px 20px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 24px;
  align-items: center;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 42px 0 54px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  font-size: 18px;
}

.site-footer p {
  max-width: 540px;
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.page-main {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0 100px;
}

.page-header {
  display: grid;
  gap: 18px;
  margin-bottom: 42px;
}

.page-header h1 {
  max-width: 820px;
}

.page-grid,
.page-list {
  display: grid;
  gap: 16px;
}

.page-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
}

.page-card h2,
.page-list h2 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.15;
}

.page-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.page-card li + li {
  margin-top: 7px;
}

.page-list {
  margin-top: 30px;
}

.legal-date {
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 680;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-block {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.legal-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.legal-block h2 {
  margin-bottom: 10px;
  font-size: 25px;
  line-height: 1.15;
}

.legal-block p,
.legal-block li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.legal-block p + p,
.legal-block p + ul,
.legal-block ul + p {
  margin-top: 12px;
}

.legal-block ul {
  margin: 0;
  padding-left: 20px;
}

.legal-block li + li {
  margin-top: 7px;
}

.legal-block a {
  color: var(--blue-dark);
  font-weight: 680;
}

@media (max-width: 1040px) {
  .site-header {
    flex-wrap: wrap;
    gap: 18px;
    padding-bottom: 12px;
  }

  .nav-links {
    order: 3;
    width: 100%;
  }

  .hero,
  .setup-section,
  .privacy-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .search-stage {
    min-height: 520px;
  }

  .feature-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer p {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .site-header,
  .section-pad,
  .site-footer,
  .page-main {
    width: min(100% - 32px, var(--max));
  }

  .site-header {
    align-items: flex-start;
  }

  .header-cta {
    display: none;
  }

  .nav-links,
  .site-footer nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .section-pad {
    padding: 58px 0;
  }

  .hero {
    gap: 36px;
    padding-top: 34px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .search-stage {
    min-height: 590px;
    border-radius: 18px;
  }

  .stage-label {
    top: 22px;
    left: 22px;
  }

  .search-window {
    top: 66px;
    width: calc(100% - 36px);
  }

  .search-result {
    grid-template-columns: 40px 1fr;
  }

  .alias-tile {
    width: 40px;
    height: 40px;
  }

  .opens-target {
    grid-column: 1 / -1;
    padding-left: 53px;
  }

  .example-grid {
    right: 18px;
    left: 18px;
    top: 334px;
    bottom: auto;
    grid-template-columns: 1fr;
  }

  .example-grid article {
    min-height: auto;
    padding: 12px 14px;
  }

  .app-layout {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    display: none;
  }

  .folder-strip,
  .mapping-row,
  .app-footer {
    grid-template-columns: 1fr;
  }

  .folder-icon,
  .check {
    display: none;
  }

  .status-pill,
  .mapping-row em {
    justify-self: start;
  }

  .feature-rail,
  .privacy-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  html {
    scroll-behavior: auto;
  }

  .button:hover {
    transform: none;
  }
}
