/* aitgrow.com
   Colours come from the AIT mark: sky at the top, blue in the middle, navy at the foot.
   Shapes follow it too: round corners, pill buttons, round stroke ends. */

:root {
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;

  --sky: #7ae2ff;
  --blue: #5064ff;
  --indigo: #4453dd;
  --navy: #242b6d;

  --brand: #4a5af0;
  --brand-strong: #3b49d6;
  --brand-ink: #3a47d1;

  --ink: #0e1330;
  --ink-2: #2b3152;
  --muted: #586080;
  --faint: #8b93ad;
  --line: #e5e9f4;
  --line-strong: #d2d8ea;
  --bg: #fff;
  --soft: #f5f7fd;
  --tint: #eceffe;
  --night: #0b0f2a;

  --grad-mark: linear-gradient(180deg, var(--sky) 0%, #64a3ff 26%, var(--blue) 50%, var(--indigo) 68%, var(--navy) 100%);
  --grad-panel: linear-gradient(162deg, #6fc2ff 0%, #5064ff 44%, #3745b5 78%, #242b6d 100%);
  --grad-soft: linear-gradient(140deg, #e8f7ff 0%, #eceffe 52%, #e3e6fb 100%);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgb(14 19 48 / 0.05), 0 2px 8px rgb(14 19 48 / 0.04);
  --shadow-md: 0 2px 4px rgb(14 19 48 / 0.04), 0 14px 32px -10px rgb(14 19 48 / 0.14);
  --shadow-lg: 0 4px 8px rgb(14 19 48 / 0.04), 0 32px 64px -24px rgb(36 43 109 / 0.3);

  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 68px;
}

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
fieldset {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.25;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
}

fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

code {
  padding: 0.15em 0.45em;
  border-radius: 6px;
  background: var(--tint);
  color: var(--brand-ink);
  /* Pretendard follows the monospace faces so that Korean inside code never falls back to nothing */
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", "Pretendard Variable", monospace;
  font-size: 0.9em;
  word-break: break-all;
}

:focus-visible {
  outline: 3px solid rgb(74 90 240 / 0.55);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgb(80 100 255 / 0.2);
}

[hidden] {
  display: none !important;
}

.icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 650;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(100% - var(--gutter) * 2, 1160px);
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - var(--gutter) * 2, 800px);
  margin-inline: auto;
}

/* ---------- type ---------- */

.display {
  font-size: clamp(2.5rem, 1.35rem + 4.7vw, 4.5rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.14;
}

.h1 {
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem);
  font-weight: 760;
  letter-spacing: -0.042em;
  line-height: 1.17;
}

.h2 {
  font-size: clamp(1.75rem, 1.2rem + 2.3vw, 2.875rem);
  font-weight: 740;
  letter-spacing: -0.038em;
  line-height: 1.24;
}

.h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.4375rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.38;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.72;
}

.muted {
  color: var(--muted);
}

.accent {
  background: linear-gradient(96deg, var(--indigo) 0%, var(--blue) 45%, #2ea6ea 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand-ink);
  font-size: 0.9375rem;
  font-weight: 680;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad-mark);
}

/* ---------- buttons, chips, links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 660;
  letter-spacing: -0.015em;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn[disabled] {
  cursor: default;
  opacity: 0.45;
  box-shadow: none;
}

.btn-primary {
  background: var(--brand);
  box-shadow: 0 10px 22px -10px rgb(74 90 240 / 0.7);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #1c2350;
}

.btn-outline {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  background: var(--tint);
}

.btn-ghost-light {
  border-color: rgb(255 255 255 / 0.4);
  color: #fff;
}

.btn-ghost-light:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 0.1);
}

.btn-outline-inverse {
  border-color: rgb(255 255 255 / 0.22);
  color: #fff;
}

.btn-outline-inverse:hover {
  border-color: rgb(255 255 255 / 0.6);
}

.btn-kakao {
  background: #fee500;
  color: #191600;
}

.btn-kakao:hover {
  background: #f5dc00;
}

.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9375rem;
}

.btn-lg {
  min-height: 60px;
  padding: 0 32px;
  font-size: 1.0625rem;
}

.btn-block {
  width: 100%;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-block: 6px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-weight: 650;
  transition: border-color 0.2s, color 0.2s;
}

.text-link:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
  font-size: 0.8125rem;
  font-weight: 680;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
}

.chip-plain {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink-2);
}

.chip-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #17b26a;
  box-shadow: 0 0 0 3px rgb(23 178 106 / 0.18);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgb(14 19 48 / 0.07);
  background: rgb(255 255 255 / 0.86);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 36px;
  height: 36px;
}

.brand-word {
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand-inverse {
  color: #fff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.main-nav a,
.main-nav button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 580;
  letter-spacing: -0.015em;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav button:hover {
  background: var(--soft);
  color: var(--ink);
}

.main-nav a[aria-current="page"] {
  color: var(--brand-ink);
  font-weight: 700;
}

.header-cta {
  margin-left: 6px;
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  list-style: none;
  cursor: pointer;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s;
}

.mobile-menu[open] summary span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.mobile-menu[open] summary span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: grid;
  padding: 8px var(--gutter) 20px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 24px 40px -24px rgb(14 19 48 / 0.25);
}

.mobile-nav a,
.mobile-nav button {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  font-size: 1.0625rem;
  font-weight: 620;
  text-align: left;
}

.mobile-nav > :last-child {
  border-bottom: 0;
}

.mobile-nav a[aria-current="page"] {
  color: var(--brand-ink);
}

@media (max-width: 1000px) {
  .main-nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .mobile-menu {
    display: block;
  }
}

/* ---------- sections ---------- */

.section {
  padding-block: clamp(72px, 9.5vw, 128px);
}

.section-tight {
  padding-block: clamp(56px, 7vw, 96px);
}

.section-soft {
  background: var(--soft);
}

.section-night {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(60% 80% at 100% 0%, rgb(80 100 255 / 0.42), transparent 62%),
    radial-gradient(45% 70% at 0% 100%, rgb(122 226 255 / 0.16), transparent 60%),
    var(--night);
  color: #fff;
}

.section-head {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head p:not(.eyebrow) {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.0625rem;
}

.section-head-split {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px clamp(32px, 6vw, 96px);
  max-width: none;
}

.section-head-split > div {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.section-head-center {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

@media (max-width: 860px) {
  .section-head-split {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- hero (home) ---------- */

.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(48px, 6.5vw, 92px) clamp(64px, 8vw, 112px);
  background:
    radial-gradient(58% 62% at 88% 4%, rgb(122 226 255 / 0.38), transparent 68%),
    radial-gradient(46% 64% at 100% 58%, rgb(80 100 255 / 0.2), transparent 70%),
    linear-gradient(180deg, #f3f6ff 0%, #fff 92%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

.hero-copy {
  display: grid;
  justify-items: start;
  gap: 24px;
}

.hero-copy .lead {
  max-width: 520px;
}

.hero-copy .actions {
  margin-top: 8px;
}

.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: 14px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s, box-shadow 0.25s;
}

.tile:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.tile-label {
  color: var(--brand-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
}

.tile-title {
  font-size: 1.0625rem;
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.36;
}

.tile-marketing {
  grid-row: span 2;
  gap: 8px;
  padding: 26px;
  border: 0;
  background: var(--grad-panel);
  color: #fff;
}

.tile-marketing .tile-label {
  color: rgb(255 255 255 / 0.82);
}

.tile-marketing .tile-title {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
  line-height: 1.26;
}

.channel-list {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 28px;
}

.channel-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 14px;
  background: rgb(255 255 255 / 0.14);
  font-size: 0.9375rem;
  font-weight: 640;
  line-height: 1.3;
}

.channel-list li::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 4px rgb(122 226 255 / 0.25);
}

.match {
  display: flex;
  align-items: center;
  margin-top: 14px;
  font-size: 0.8125rem;
  font-weight: 680;
}

.match span {
  flex: none;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
  line-height: 1.2;
}

.match span:last-child {
  background: var(--ink);
  color: #fff;
}

.match i {
  flex: 1;
  min-width: 12px;
  height: 0;
  border-top: 2px dotted var(--line-strong);
}

.tile-qr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.5;
}

.qr-glyph {
  flex: none;
  width: 52px;
  height: 52px;
  padding: 7px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 460px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .tile-marketing {
    grid-row: auto;
  }
}

/* ---------- statement ---------- */

.statement {
  display: grid;
  grid-template-columns: minmax(0, 0.3fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px);
}

.statement > .eyebrow,
.intro > .eyebrow {
  align-self: start;
  margin-top: 0.6em;
}

.statement-text {
  font-size: clamp(1.75rem, 1.1rem + 2.9vw, 3.375rem);
  font-weight: 740;
  letter-spacing: -0.042em;
  line-height: 1.24;
}

.statement-text span {
  color: var(--faint);
}

.statement-body {
  display: grid;
  gap: 28px;
}

.statement-body p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.0625rem;
}

.section-night .statement-text span {
  background: linear-gradient(96deg, var(--sky), #8f9dff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-night .statement-body p {
  color: rgb(255 255 255 / 0.72);
}

.section-night .eyebrow {
  color: var(--sky);
}

@media (max-width: 860px) {
  .statement {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- services (home) ---------- */

.service-list {
  display: grid;
  gap: 20px;
}

.service {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(20px, 2.6vw, 32px);
  padding-left: clamp(24px, 4.4vw, 60px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
}

.service:nth-child(even) {
  padding-right: clamp(24px, 4.4vw, 60px);
  padding-left: clamp(20px, 2.6vw, 32px);
}

.service:nth-child(even) .viz {
  order: -1;
}

.service-copy {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding-block: 16px;
}

.service-name {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.service-tagline {
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.5;
}

.service-copy > p {
  color: var(--muted);
}

.service-copy > .service-tagline {
  color: var(--ink);
}

.service-copy .actions {
  margin-top: 10px;
}

.service-extra {
  margin-top: 20px;
}

.extra-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}

.extra-card > div {
  display: grid;
  gap: 2px;
}

.extra-card strong {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.extra-card span {
  color: var(--muted);
  font-size: 0.9375rem;
}

.extra-next {
  border-style: dashed;
  border-color: var(--line-strong);
  background: none;
}

.extra-plus {
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--brand-ink);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
}

@media (max-width: 860px) {
  .service,
  .service:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }

  .service-copy {
    padding: 8px 6px 4px;
  }

  .service .viz,
  .service:nth-child(even) .viz {
    order: -1;
  }

}

/* ---------- vignettes: small pieces of interface that show what a service does ---------- */

.viz {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(280px, 30vw, 400px);
  padding: clamp(20px, 3vw, 40px);
  overflow: hidden;
  border-radius: var(--r-lg);
}

.viz-marketing {
  background: var(--grad-panel);
}

.viz-domad {
  background: var(--grad-soft);
}

.viz-qr {
  background: linear-gradient(150deg, #e6f4ff 0%, #e3e7fb 100%);
}

.viz-qr .qr-glyph {
  justify-self: center;
  width: min(100%, 190px);
  height: auto;
  aspect-ratio: 1;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: none;
}

.viz::before {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -46%;
  width: 78%;
  aspect-ratio: 1;
  border: 2px solid rgb(255 255 255 / 0.22);
  border-radius: 50%;
}

.viz-domad::before,
.viz-qr::before {
  border-color: rgb(80 100 255 / 0.12);
}

.board {
  position: relative;
  display: grid;
  gap: 10px;
  width: min(100%, 390px);
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 6px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 680;
}

.board-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 14px;
  background: var(--soft);
  line-height: 1.35;
}

.board-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--brand-ink);
}

.board-row b {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.board-row small {
  color: var(--muted);
  font-size: 0.8125rem;
}

.board-check {
  display: grid;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
}

.board-check .icon {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.flow {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-top: 4px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
}

.flow span {
  flex: 1;
  padding: 9px 0;
  border-radius: 999px;
  background: var(--tint);
  color: var(--brand-ink);
  text-align: center;
}

.flow span:last-child {
  background: var(--ink);
  color: #fff;
}

.flow i {
  flex: none;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--line-strong);
}

.match-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.party {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px 10px 14px;
  border-radius: 16px;
  background: var(--soft);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
}

.party-faces {
  display: flex;
  padding-left: 8px;
}

.party-faces i {
  width: 34px;
  height: 34px;
  margin-left: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--sky), var(--blue));
}

.party-faces i:nth-child(2) {
  background: linear-gradient(160deg, #a8b4ff, var(--indigo));
}

.party-faces i:nth-child(3) {
  background: linear-gradient(160deg, var(--blue), var(--navy));
}

.party-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}

.party-logo .icon {
  width: 18px;
  height: 18px;
}

.match-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgb(74 90 240 / 0.14);
  color: #fff;
}

.match-link .icon {
  width: 16px;
  height: 16px;
}

.steps-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding-top: 6px;
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.steps-mini span {
  padding-top: 9px;
  border-top: 3px solid var(--line);
  border-radius: 2px;
}

.steps-mini .on {
  border-color: var(--brand);
  color: var(--ink);
}

.viz-brand {
  background: var(--grad-soft);
}

.viz-brand img {
  position: relative;
  width: clamp(150px, 20vw, 230px);
  filter: drop-shadow(0 24px 32px rgb(36 43 109 / 0.28));
}

/* ---------- cards and grids ---------- */

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1000px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .grid-2,
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}

.section-soft .card {
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.card p {
  color: var(--muted);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
  border-radius: 15px;
  background: var(--tint);
  color: var(--brand-ink);
}

.card-icon .icon {
  width: 24px;
  height: 24px;
}

.card-num {
  color: var(--brand-ink);
  font-size: 0.875rem;
  font-weight: 760;
  letter-spacing: 0.02em;
  line-height: 1;
}

.card .card-en {
  color: var(--faint);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.card-line {
  flex-direction: row;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 22px 24px;
}

.card-line .card-num {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tint);
}

.card-line h3 {
  font-size: 1.0625rem;
  line-height: 1.4;
}

/* ---------- process steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 24px;
  counter-reset: step;
}

.steps li {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding-top: 62px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgb(74 90 240 / 0.12);
  color: #fff;
  font-weight: 760;
  line-height: 1;
}

.steps li::after {
  content: "";
  position: absolute;
  top: 20px;
  right: -12px;
  left: 60px;
  height: 2px;
  border-radius: 2px;
  background: var(--line-strong);
}

.steps li:last-child::after {
  display: none;
}

.steps p {
  color: var(--muted);
}

.steps-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 860px) {
  .steps,
  .steps-3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .steps li {
    padding-top: 0;
    padding-left: 64px;
    min-height: 42px;
  }

  .steps li::after {
    top: 54px;
    right: auto;
    bottom: -22px;
    left: 20px;
    width: 2px;
    height: auto;
  }
}

/* ---------- prices ---------- */

.price-card {
  gap: 0;
}

.price-card > .chip {
  justify-self: start;
  margin-bottom: 16px;
}

.price-card > p {
  margin-top: 10px;
  margin-bottom: 22px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}

.price-row dt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  color: var(--muted);
  font-size: 0.9375rem;
}

.price-row dt b {
  color: var(--brand-ink);
  font-weight: 740;
}

.price-row dd {
  display: grid;
  justify-items: end;
  flex: none;
}

.price-row dd strong {
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.price-row dd small {
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 600;
}

.price-card-featured {
  border-color: transparent;
  background:
    radial-gradient(70% 90% at 100% 0%, rgb(80 100 255 / 0.5), transparent 65%),
    var(--night);
  color: #fff;
}

.price-card-featured > .chip {
  background: rgb(255 255 255 / 0.14);
  color: #fff;
}

.price-card-featured > p,
.price-card-featured .price-row dt {
  color: rgb(255 255 255 / 0.72);
}

.price-card-featured .price-row {
  border-color: rgb(255 255 255 / 0.16);
}

.price-card-featured .price-row dt b {
  color: var(--sky);
}

.price-card-featured .price-row dd small {
  color: rgb(255 255 255 / 0.55);
}

.price-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 20px;
  padding: 22px 28px;
  border-radius: var(--r-lg);
  background: var(--tint);
}

.price-note p {
  flex: 1 1 320px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.offer-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  line-height: 1.4;
}

.offer-mini b {
  display: block;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.offer-mini small {
  color: var(--muted);
  font-size: 0.8125rem;
}

.offer-mini strong {
  flex: none;
  font-size: 1.125rem;
  font-weight: 780;
  letter-spacing: -0.03em;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.split-copy {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.split-copy .actions {
  margin-top: 8px;
}

.offer-list {
  display: grid;
  gap: 12px;
}

.offer-list > small {
  color: var(--faint);
  font-size: 0.8125rem;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- call to action ---------- */

.cta-band {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 28px;
  padding: clamp(40px, 6.4vw, 88px);
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--grad-panel);
  color: #fff;
}

.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.cta-band::before {
  top: -60%;
  right: -12%;
  width: 62%;
  aspect-ratio: 1;
  border: 2px solid rgb(255 255 255 / 0.2);
}

.cta-band::after {
  right: 6%;
  bottom: -70%;
  width: 46%;
  aspect-ratio: 1;
  background: rgb(255 255 255 / 0.1);
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band .eyebrow {
  color: rgb(255 255 255 / 0.86);
}

.cta-band .eyebrow::before {
  background: #fff;
}

.cta-band p:not(.eyebrow) {
  max-width: 520px;
  color: rgb(255 255 255 / 0.84);
  font-size: 1.0625rem;
}

.next-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 26px clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.next-link:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.next-link small {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.next-link strong {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 760;
  letter-spacing: -0.03em;
}

.next-link > span {
  color: var(--brand-ink);
  font-size: 1.5rem;
  font-weight: 600;
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(44px, 6vw, 84px) clamp(56px, 7vw, 96px);
  background:
    radial-gradient(52% 70% at 92% 0%, rgb(122 226 255 / 0.32), transparent 68%),
    radial-gradient(40% 60% at 100% 70%, rgb(80 100 255 / 0.14), transparent 70%),
    linear-gradient(180deg, #f3f6ff 0%, #fff 96%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.page-hero-copy {
  display: grid;
  justify-items: start;
  gap: 22px;
}

.page-hero-copy .lead {
  max-width: 560px;
}

.page-hero-copy .actions {
  margin-top: 6px;
}

.page-hero-center .page-hero-copy {
  justify-items: center;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 620;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--brand-ink);
}

.product-tagline {
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.625rem);
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.45;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 0;
  width: 100%;
  padding-block: 18px;
  border-block: 1px solid var(--line-strong);
}

.meta-list div {
  flex: 1 1 130px;
  padding-right: 20px;
}

.meta-list dt {
  color: var(--faint);
  font-size: 0.8125rem;
  font-weight: 650;
}

.meta-list dd {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.3fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px);
}

.intro-body {
  display: grid;
  gap: 24px;
}

.intro-body p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.0625rem;
}

@media (max-width: 960px) {
  .page-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .intro {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- notes and alerts ---------- */

.note,
.alert {
  display: grid;
  gap: 4px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.note {
  background: var(--tint);
  color: var(--ink-2);
}

.alert {
  border: 1px solid #f1d9a0;
  background: #fff8e8;
  color: #5b4307;
}

.note strong,
.alert strong {
  font-weight: 720;
}

.alert strong {
  color: #3f2e03;
}

.guide-disclaimer {
  margin-top: 20px;
}

/* ---------- questions ---------- */

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 1.0625rem;
  font-weight: 680;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  color: var(--brand-ink);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details > :not(summary) {
  padding: 0 24px 22px;
  color: var(--muted);
}

.faq details strong {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- forms ---------- */

.auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}

.auth-copy {
  display: grid;
  justify-items: start;
  gap: 20px;
  padding-top: clamp(0px, 3vw, 40px);
}

.auth-points {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.auth-points li {
  display: flex;
  gap: 10px;
  color: var(--ink-2);
  font-weight: 560;
}

.auth-points .icon {
  margin-top: 0.22em;
  color: var(--brand);
}

.form-card,
.signup-form,
.member-summary {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.signup-form h2,
.member-summary h2 {
  font-size: 1.5rem;
  letter-spacing: -0.035em;
}

.signup-form > label,
.field {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 650;
}

.field-hint {
  color: var(--faint);
  font-size: 0.8125rem;
  font-weight: 500;
}

input:not([type="checkbox"]),
select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  font-size: 1rem;
  font-weight: 500;
  transition: border-color 0.2s, box-shadow 0.2s;
}

select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 23px) 50%, calc(100% - 17px) 50%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
}

input:not([type="checkbox"]):focus,
select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgb(74 90 240 / 0.16);
  outline: 0;
}

input::placeholder {
  color: var(--faint);
}

input[type="checkbox"] {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0.15em 0 0;
  accent-color: var(--brand);
}

.signup-consents {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--soft);
}

.signup-consents legend {
  float: left;
  width: 100%;
  margin-bottom: 4px;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 720;
}

.signup-consent {
  display: flex;
  gap: 10px;
  clear: both;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.signup-consent a,
.login-alt a {
  color: var(--brand-ink);
  font-weight: 680;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.signup-consent-summary {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.signup-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-message {
  min-height: 1.6em;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 560;
}

.signup-message:empty {
  display: none;
}

.signup-message.error {
  color: #c4320a;
}

.login-alt {
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: center;
}

.member-summary dl {
  display: grid;
  border-top: 1px solid var(--line);
}

.member-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}

.member-summary dt {
  color: var(--muted);
  font-size: 0.9375rem;
}

.member-summary dd {
  font-weight: 700;
  text-align: right;
}

.member-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-summary-actions .btn {
  flex: 1 1 160px;
}

@media (max-width: 900px) {
  .auth {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- contact ---------- */

.contact-card {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.contact-card h2 {
  font-size: 1.375rem;
}

.contact-list {
  display: grid;
  counter-reset: item;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 15px;
  border-top: 1px solid var(--line);
  font-weight: 620;
  counter-increment: item;
}

.contact-list li::before {
  content: counter(item);
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand-ink);
  font-size: 0.8125rem;
  font-weight: 760;
}

.contact-card small {
  color: var(--muted);
  font-size: 0.875rem;
}

.fact-table {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.fact-table div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 4px 24px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.fact-table dt {
  color: var(--muted);
  font-weight: 620;
}

.fact-table dd {
  font-weight: 650;
}

@media (max-width: 640px) {
  .fact-table div {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- legal ---------- */

.legal-document {
  display: grid;
  gap: 28px;
  padding-block: clamp(48px, 6vw, 88px) clamp(72px, 9vw, 120px);
}

.legal-effective {
  color: var(--muted);
  font-size: 0.9375rem;
}

.legal-switch {
  display: inline-flex;
  justify-self: start;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--soft);
}

.legal-switch a {
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.3;
}

.legal-switch a[aria-current="page"] {
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

.legal-document section {
  display: grid;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-document h2 {
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.legal-document section p,
.legal-document section li {
  color: var(--ink-2);
}

.legal-document section ul {
  display: grid;
  gap: 8px;
}

.legal-document section li {
  position: relative;
  padding-left: 18px;
}

.legal-document section li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.legal-document section a {
  color: var(--brand-ink);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- QR tool (/qr/) ---------- */

.qr-intro {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.qr-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
}

.qr-form {
  box-shadow: var(--shadow-lg);
}

.qr-form legend,
.field > label {
  padding: 0;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 650;
}

.qr-form legend {
  float: left;
  width: 100%;
  margin-bottom: 8px;
}

.qr-form legend ~ * {
  clear: both;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field-optional {
  color: var(--faint);
  font-weight: 500;
}

.field-hint:empty,
.field-error:empty {
  display: none;
}

.field-error {
  color: #c4320a;
  font-size: 0.875rem;
  font-weight: 560;
}

input[aria-invalid="true"] {
  border-color: #c4320a;
}

.bank-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.bank-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 50px;
  padding: 0 8px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  font-size: 0.9375rem;
  font-weight: 640;
  white-space: nowrap;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.bank-chip i {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.bank-chip:hover {
  border-color: var(--brand);
}

.bank-chip[aria-checked="true"],
select.is-picked {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgb(74 90 240 / 0.18);
  color: var(--brand-ink);
  font-weight: 700;
}

.remember-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 560;
  cursor: pointer;
}

.check input {
  margin: 0;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qr-privacy {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.qr-privacy .icon {
  margin-top: 0.2em;
  color: var(--brand);
}

/* what the customer will see, filled in as the owner types */
.qr-preview {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.phone {
  width: min(100%, 300px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background: #f4f6fc;
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.phone-band {
  display: grid;
  gap: 4px;
  padding: 26px 22px 48px;
  background: var(--ink);
  color: #fff;
}

.phone-band span {
  color: rgb(255 255 255 / 0.62);
  font-size: 0.8125rem;
  font-weight: 600;
}

.phone-band strong {
  font-size: 1.25rem;
  font-weight: 740;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.phone-ticket {
  display: grid;
  gap: 2px;
  margin: -30px 14px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.phone-ticket small {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.phone-ticket strong {
  font-size: 1.5rem;
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.phone-check {
  color: var(--muted);
  font-size: 0.75rem;
}

.phone-account {
  display: grid;
  gap: 2px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.875rem;
}

.phone-account > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-2);
  font-weight: 600;
}

.phone-account i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.phone-account b {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.0625rem;
  font-weight: 700;
}

.phone-apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 18px 14px 22px;
}

.phone-apps span {
  grid-column: 1 / -1;
  font-size: 0.8125rem;
  font-weight: 700;
}

.phone-apps i {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.phone .is-empty {
  color: var(--faint);
  font-weight: 500;
}

.phone-band .is-empty {
  color: rgb(255 255 255 / 0.4);
}

/* the finished QR */
.qr-made {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(32px, 5vw, 56px);
  padding: clamp(20px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-lg);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.slip {
  display: grid;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: #fff;
}

.slip-kicker {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 650;
}

.slip-store {
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.slip-qr svg {
  width: 100%;
  height: auto;
}

.slip-rows {
  display: grid;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.slip-rows div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding-block: 6px;
}

.slip-rows dt {
  color: var(--muted);
  font-size: 0.9375rem;
}

.slip-rows dd {
  font-weight: 720;
}

#slip-account {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.slip-note {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.slip-credit {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 560;
}

.made-side {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.made-head {
  display: grid;
  gap: 12px;
}

.made-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.qr-status {
  color: var(--brand-ink);
  font-size: 0.9375rem;
  font-weight: 620;
}

.qr-status:empty {
  display: none;
}

.qr-status.error {
  color: #c4320a;
}

.consult {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--grad-panel);
  color: #fff;
}

.consult .eyebrow {
  color: rgb(255 255 255 / 0.86);
}

.consult .eyebrow::before {
  background: #fff;
}

.consult-title {
  font-size: 1.375rem;
  font-weight: 740;
  letter-spacing: -0.03em;
  line-height: 1.38;
}

.consult p:not(.eyebrow):not(.consult-title) {
  max-width: 440px;
  color: rgb(255 255 255 / 0.86);
}

.consult-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.16);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
}

.promise-list {
  display: grid;
  gap: 16px;
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  font-weight: 560;
}

.promise-list li {
  position: relative;
  padding-left: 30px;
}

.promise-list li::before {
  content: "";
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--sky);
}

.promise-list a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .qr-tool,
  .qr-made {
    grid-template-columns: minmax(0, 1fr);
  }

  .qr-preview {
    position: static;
  }
}

@media (max-width: 560px) {
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .bank-chip {
    gap: 5px;
    padding: 0 4px;
    font-size: 0.8125rem;
  }

  .made-actions .btn {
    flex: 1 1 100%;
  }
}

/* ---------- footer ---------- */

.site-footer {
  padding-block: clamp(56px, 7vw, 88px) 32px;
  background:
    radial-gradient(50% 70% at 0% 0%, rgb(80 100 255 / 0.22), transparent 60%),
    var(--night);
  color: rgb(255 255 255 / 0.72);
  font-size: 0.9375rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 64px;
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer-intro {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.footer-links {
  display: flex;
  gap: clamp(40px, 8vw, 112px);
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links strong {
  margin-bottom: 4px;
  color: #fff;
  font-weight: 700;
}

.footer-links a,
.footer-legal a {
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: #fff;
}

.footer-business {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding-block: 28px;
  border-block: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.875rem;
}

.footer-business div {
  display: flex;
  gap: 8px;
}

.footer-business dt {
  color: rgb(255 255 255 / 0.48);
}

.footer-business dd {
  color: rgb(255 255 255 / 0.86);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  color: rgb(255 255 255 / 0.5);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
  color: rgb(255 255 255 / 0.86);
  font-weight: 620;
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal linear both;
      animation-range: entry 0% entry 32%;
      animation-timeline: view();
    }

    @keyframes reveal {
      from {
        opacity: 0;
        transform: translateY(28px);
      }

      to {
        opacity: 1;
        transform: none;
      }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
