:root {
  --bg: #f7f4ef;
  --bg-2: #efe9df;
  --ink: #14181f;
  --muted: #5c6675;
  --line: rgba(20, 24, 31, 0.1);
  --surface: #ffffff;
  --teal: #0f766e;
  --teal-bright: #14b8a6;
  --brand: #0f766e;
  --coral: #e85d4c;
  --coral-soft: #ffe8e4;
  --sky: #e8f4f2;
  --shadow: 0 20px 50px rgba(20, 24, 31, 0.1);
  --radius: 22px;
  --radius-sm: 14px;
  --wrap: 68rem;
  --header: 4.35rem;
  --font: "Segoe UI", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --display: "Trebuchet MS", "Segoe UI", "Avenir Next", sans-serif;
  --mono: "Cascadia Mono", Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #0f766e #efe9df;
}

html::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track {
  background: #efe9df;
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0f766e, #14b8a6);
  border-radius: 999px;
  border: 2px solid #efe9df;
}

html::-webkit-scrollbar-thumb:hover {
  background: #0b5f59;
}

body {
  margin: 0;
  min-height: 100vh;
  min-width: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 10% -5%, rgba(20, 184, 166, 0.16), transparent 55%),
    radial-gradient(700px 380px at 95% 5%, rgba(232, 93, 76, 0.12), transparent 50%),
    linear-gradient(180deg, #fbf9f6 0%, var(--bg) 40%, #f3efe8 100%);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: -0.012em;
}

main,
.site-footer {
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #0b5f59;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--teal);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(15, 118, 110, 0.25);
  padding-bottom: 0.1rem;
  transition: border-color 0.2s, color 0.2s;
}

.text-link:hover {
  color: #0b5f59;
  border-bottom-color: var(--teal);
}

:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 0.9rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
}

.skip-link:focus {
  top: 0.8rem;
}

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin-inline: auto;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(251, 249, 246, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}

.scroll-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  max-width: 100%;
  background: linear-gradient(90deg, #0f766e 0%, #14b8a6 100%);
  z-index: 60;
  transform-origin: left center;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 249, 246, 0.98);
}

.site-header__bar {
  width: min(calc(100% - 2rem), var(--wrap));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 100%;
  overflow: visible;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  flex-shrink: 0;
  object-fit: cover;
}

.brand__word {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.nav-desktop {
  margin-left: auto;
}

.nav-list,
.nav-mobile__list,
.footer-links,
.ask-list,
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list {
  display: flex;
  gap: 0.15rem;
}

.nav-list a {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.94rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--ink);
  background: rgba(20, 24, 31, 0.05);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

@media (min-width: 961px) {
  .nav-desktop + .header-actions {
    margin-left: 0;
  }
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.9rem;
  padding: 0.55rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.22s var(--ease), box-shadow 0.22s, background 0.22s, color 0.22s, border-color 0.22s;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.28) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
  pointer-events: none;
  z-index: 0;
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, #0f766e, #12968b 55%, #14b8a6);
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.28);
  animation: btnPulse 2.8s ease-in-out infinite;
}

.btn--primary:hover {
  color: #fff;
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.36);
}

.btn--cta {
  min-height: 3.2rem;
  padding-inline: 1.55rem;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  animation: none;
}

.btn--ghost:hover {
  color: var(--ink);
  border-color: rgba(20, 24, 31, 0.2);
}

.btn--small {
  min-height: 2.35rem;
  padding: 0.35rem 0.95rem;
  font-size: 0.9rem;
  animation: none;
}

.btn.is-loading {
  pointer-events: none;
  opacity: 0.92;
  animation: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn.is-loading .btn__label {
  opacity: 1;
}

.btn__spinner {
  display: none;
  width: 1.15rem;
  height: 1.15rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.btn.is-loading .btn__spinner {
  display: inline-block;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #fbf9f6;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #0f766e, #14b8a6, #e85d4c);
  animation: loadBar 1.6s var(--ease) forwards;
}

.page-loader__mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  animation: loaderPop 0.55s var(--ease);
}

.page-loader__mark img {
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.22);
}

.page-loader__mark span {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.store-row {
  margin-top: 1.6rem;
}

.store-row__label {
  margin: 0 0 0.7rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.85rem 1rem;
}

.store-badges__markets {
  display: contents;
}

.store-badge-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--muted);
  transition: transform 0.2s var(--ease), opacity 0.2s;
}

.store-badge-link:hover {
  transform: translateY(-2px);
  color: var(--ink);
  opacity: 0.95;
}

.store-badge-img {
  display: block;
  width: auto;
  height: 48px;
  object-fit: contain;
}

.store-badge-img--play,
.store-badge-img--apple {
  height: 48px;
  margin: 0;
}

.store-badge-note {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.2;
  min-height: 1rem;
  text-align: center;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 70;
}

.nav-toggle__lines,
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  position: relative;
  border-radius: 2px;
  transition: 0.25s var(--ease);
}

.nav-toggle__lines::before,
.nav-toggle__lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__lines::before {
  top: -6px;
}

.nav-toggle__lines::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-backdrop,
.nav-mobile {
  display: none;
}

.hero {
  position: relative;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  max-width: 100%;
}

.hero__bg {
  position: absolute;
  top: 8%;
  right: 0;
  width: min(42vw, 28rem);
  height: min(42vw, 28rem);
  max-width: 100%;
  border-radius: 40% 60% 55% 45%;
  background: radial-gradient(circle at 30% 30%, rgba(20, 184, 166, 0.35), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(232, 93, 76, 0.25), transparent 55%);
  filter: blur(8px);
  animation: blob 10s ease-in-out infinite;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2rem, 8.2vw, 4.6rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.25rem;
}

.lead,
.hero__lead {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.showcase {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.35s var(--ease);
  animation: floaty 5.5s ease-in-out infinite;
}

.showcase:hover {
  animation-play-state: paused;
}

.showcase__top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.1rem;
  background: linear-gradient(90deg, #0f3d3a, #14534d);
  color: #e7fffb;
  font-weight: 650;
  font-size: 0.92rem;
}

.showcase__live {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #5dffc5;
  box-shadow: 0 0 12px #5dffc5;
}

.showcase__time {
  margin-left: auto;
  opacity: 0.8;
  font-family: var(--mono);
  font-size: 0.8rem;
}

.showcase__body {
  padding: 1rem;
  display: grid;
  gap: 0.65rem;
}

.sale-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: #f7f4ef;
  border-radius: 16px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.sale-row strong {
  display: block;
}

.sale-row small,
.sale-row em {
  font-style: normal;
  color: var(--muted);
}

.sale-row em {
  font-weight: 750;
  color: var(--ink);
}

.sale-row:hover,
.sale-row.is-on {
  border-color: rgba(15, 118, 110, 0.35);
  background: var(--sky);
  transform: translateX(4px);
}

.showcase__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #e8f4f2, #dff3ef);
  border: 1px solid rgba(15, 118, 110, 0.2);
}

.showcase__total strong {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.showcase__pulse {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.showcase__pulse div {
  padding: 0.85rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.showcase__pulse strong {
  display: block;
  font-family: var(--display);
  font-size: 1.4rem;
}

.showcase__pulse span {
  color: var(--muted);
  font-size: 0.82rem;
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2rem;
}

.band {
  background: linear-gradient(180deg, #0f3d3a, #14534d);
  color: #f3fffc;
}

.band .kicker {
  color: #7dfff0;
}

.band h2,
.band p {
  color: inherit;
}

.band-ai {
  background:
    radial-gradient(600px 280px at 85% 20%, rgba(232, 93, 76, 0.18), transparent 55%),
    linear-gradient(180deg, #fff, var(--bg-2));
  border-block: 1px solid var(--line);
}

.pain-grid,
.flow-rail {
  display: grid;
  gap: 1rem;
}

.pain {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.pain:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.flow-item {
  padding: 1.15rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.25s var(--ease), background 0.25s;
}

.flow-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.14);
}

.flow-item span {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #7dfff0;
  margin-bottom: 0.45rem;
}

.flow-item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.flow-item p {
  margin: 0;
  color: rgba(243, 255, 252, 0.78);
  font-size: 0.95rem;
}

.feature-tabs {
  display: grid;
  gap: 1rem;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tab-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  transition: 0.2s var(--ease);
}

.tab-btn:hover {
  color: var(--ink);
}

.tab-btn[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.tab-panel {
  display: none;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  animation: rise 0.35s var(--ease);
}

.tab-panel.is-active {
  display: grid;
}

.panel-stat {
  padding: 1.1rem;
  border-radius: 16px;
  background: var(--sky);
}

.panel-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.steps {
  display: none;
}

.steps-grid {
  display: grid;
  gap: 1rem;
}

.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.35rem 1.4rem;
  min-height: 11rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(15, 118, 110, 0.28);
}

.step-card__n {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-family: var(--mono);
  color: var(--coral);
  font-size: 0.85rem;
  font-weight: 700;
}

.step-card h3 {
  margin-bottom: 0.45rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
}

.steps li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 0;
  font-weight: 750;
  position: relative;
  padding-right: 2rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  color: var(--teal);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.28s var(--ease);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}

.faq-item[open] .faq-item__body {
  grid-template-rows: 1fr;
}

.faq-item__body > * {
  overflow: hidden;
}

.faq-item p {
  margin: 0 0 1.15rem;
  color: var(--muted);
}

.price-card .amount span {
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--muted);
  margin-left: 0.25rem;
}

.cta__box {
  padding: 2.4rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #0f3d3a, #0f766e 55%, #14b8a6);
  color: #fff;
  box-shadow: var(--shadow);
}

.ai-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.ask-list {
  display: grid;
  gap: 0.7rem;
}

.ask-list li {
  padding: 0.95rem 1.1rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 650;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}

.ask-list li:hover {
  transform: translateX(6px);
  border-color: rgba(15, 118, 110, 0.35);
}

.cta {
  padding-bottom: 5rem;
}

.cta-panel {
  display: grid;
  gap: 1.5rem;
  padding: 2.2rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  align-items: center;
}

.cta-panel h2 {
  max-width: 16ch;
}

.cta-panel .lead {
  margin: 0;
}

.cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion__item {
  border-bottom: 1px solid var(--line);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.accordion__icon {
  width: 1.35rem;
  height: 1.35rem;
  position: relative;
  flex: 0 0 auto;
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.85rem;
  height: 2px;
  background: var(--teal);
  transition: transform 0.28s var(--ease), opacity 0.28s;
}

.accordion__icon::before {
  transform: translate(-50%, -50%);
}

.accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion__trigger[aria-expanded="true"] .accordion__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.accordion__panel {
  overflow: hidden;
  height: 0;
  transition: height 0.32s var(--ease);
}

.accordion__panel p {
  margin: 0 0 1.15rem;
  color: var(--muted);
}

.auth-card {
  max-width: 28rem;
  padding: 1.6rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.auth-stage {
  display: grid;
  min-height: calc(100vh - var(--header) - 4rem);
  width: min(100% - 2rem, 68rem);
  margin: 1.25rem auto 3rem;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.auth-stage__panel {
  padding: 2rem 1.5rem;
}

.auth-stage__panel--visual {
  display: none;
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(20, 184, 166, 0.28), transparent 42%),
    radial-gradient(circle at 80% 70%, rgba(232, 93, 76, 0.16), transparent 40%),
    linear-gradient(160deg, #0f766e 0%, #115e59 55%, #134e4a 100%);
  color: #fff;
  overflow: hidden;
}

.auth-stage__orb {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  right: -4rem;
  bottom: -5rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  animation: authOrb 7s ease-in-out infinite;
  pointer-events: none;
}

.auth-stage__copy {
  position: relative;
  z-index: 1;
  max-width: 24rem;
}

.auth-stage__copy .kicker {
  color: rgba(255, 255, 255, 0.72);
}

.auth-stage__copy h2 {
  margin: 0.35rem 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.auth-stage__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.auth-stage__points {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.auth-stage__points li {
  position: relative;
  padding-left: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
}

.auth-stage__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #99f6e4;
}

.auth-stage__panel--form {
  display: grid;
  align-items: center;
  justify-items: center;
  background: #fbfaf8;
}

.auth-card--stage {
  width: min(100%, 26rem);
  margin: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0.25rem 0;
}

.auth-card--stage h1 {
  margin: 0.2rem 0 0.35rem;
  font-size: clamp(1.55rem, 3vw, 1.9rem);
}

.auth-lead {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.label--password .label__text {
  right: 3.1rem;
}

.label--password .input {
  padding-right: 3.1rem;
}

.password-toggle {
  position: absolute;
  right: 0.55rem;
  top: 1.55rem;
  z-index: 3;
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: #f3f6f5;
  color: #5c6675;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--teal);
  background: #e7f3f1;
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.password-toggle[aria-pressed="true"] {
  color: #fff;
  background: var(--teal);
}

.password-toggle__icon {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
}

.label--float {
  position: relative;
  display: block;
}

.label--float .label__text {
  position: absolute;
  left: 0.95rem;
  top: 0.95rem;
  color: var(--muted);
  pointer-events: none;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease), font-size 0.2s var(--ease);
  transform-origin: left top;
}

.label--float .input {
  padding-top: 1.35rem;
  padding-bottom: 0.55rem;
}

.label--float .input:focus,
.label--float .input:not(:placeholder-shown),
.label--float.is-filled .input,
.label--float .input:-webkit-autofill {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.label--float .input:focus + .label__text,
.label--float .input:not(:placeholder-shown) + .label__text,
.label--float.is-filled .label__text,
.label--float .input:-webkit-autofill + .label__text {
  transform: translateY(-0.55rem) scale(0.82);
  color: var(--brand);
}

.label--float .input:-webkit-autofill,
.label--float .input:-webkit-autofill:hover,
.label--float .input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  transition: background-color 99999s ease-out;
  box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(15, 118, 110, 0.1);
}


@keyframes authOrb {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate(-1.2rem, -0.8rem) scale(1.08); opacity: 1; }
}

@media (min-width: 900px) {
  .auth-stage {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: min(78vh, 42rem);
  }

  .auth-stage__panel--visual {
    display: grid;
    align-content: center;
    padding: 2.5rem;
  }

  .auth-stage__panel--form {
    padding: 2.5rem 2rem;
  }
}


.form--auth {
  max-width: none;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.btn--google {
  width: 100%;
  background: #fff;
  color: #1f1f1f;
  border: 1px solid #dadce0;
  box-shadow: none;
  animation: none;
  gap: 0.7rem;
}

.btn--google:hover {
  background: #f8f9fa;
  color: #1f1f1f;
}

.btn--google__icon {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 2px;
  background:
    linear-gradient(90deg, #4285f4 0 25%, #ea4335 25% 50%, #fbbc05 50% 75%, #34a853 75% 100%);
}

.btn--google__logo {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  flex-shrink: 0;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  margin: 1.1rem 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.auth-hint,
.auth-switch {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form--auth .label {
  margin-bottom: 0.85rem;
}

.form--auth .input {
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.form--auth .input:focus {
  transform: translateY(-1px);
}

.error-scene {
  position: relative;
  min-height: min(72vh, 40rem);
  display: grid;
  place-items: center;
  padding: 4rem 1.25rem 5rem;
  overflow: hidden;
}

.error-scene__glow {
  position: absolute;
  width: min(28rem, 80vw);
  height: min(28rem, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.18), transparent 68%);
  animation: errorPulse 4.5s ease-in-out infinite;
  pointer-events: none;
}

.error-scene__card {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  text-align: center;
}

.error-scene__card .hero__actions {
  justify-content: center;
}

.error-scene__code {
  display: flex;
  justify-content: center;
  gap: 0.15rem;
  margin: 0.4rem 0 0.85rem;
  font-family: var(--font-display, "Segoe UI", sans-serif);
  font-size: clamp(3.6rem, 12vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--ink);
}

.error-scene__zero {
  display: inline-block;
  color: var(--brand);
  animation: errorBounce 1.8s ease-in-out infinite;
}

@keyframes errorPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes errorBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.35rem); }
}

.field-hint {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-product-of {
  margin-top: 0.85rem !important;
  color: #b7c2cf !important;
}

.footer-product-of strong {
  color: #fff;
  font-weight: 700;
}

@media (min-width: 840px) {
  .cta-panel {
    grid-template-columns: 1.4fr 1fr;
  }
}

.cta__box h2,
.cta__box p {
  color: #fff;
}

.cta__box .btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.site-footer {
  padding: 3.5rem 0 1.9rem;
  background: #0c1219;
  color: #c5ced8;
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
  padding-bottom: 2.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  margin: 0.9rem 0 0;
  max-width: 28rem;
  color: #9aa6b5;
  font-size: 0.95rem;
  line-height: 1.6;
}

.site-footer .brand__word {
  color: #fff;
}

.site-footer .brand:hover,
.site-footer .brand:hover .brand__word {
  color: #fff;
}

.site-footer a {
  color: #c5ced8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer .footer-links a {
  color: #b7c2cf;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-footer .footer-links a:hover {
  color: #ffffff;
}

.footer-heading {
  margin: 0 0 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7e8b9a;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  font-size: 0.88rem;
  color: #8b96a5;
}

.footer-meta p {
  margin: 0;
  color: #8b96a5;
}

.page-hero {
  padding: 3.5rem 0 1.5rem;
}

.page-hero h1 {
  max-width: 16ch;
}

.cards,
.grid-2,
.grid-3,
.price-grid {
  display: grid;
  gap: 1rem;
}

.card,
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.card:hover,
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.price-card--featured {
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: var(--shadow);
}

.price-card .amount {
  font-family: var(--display);
  font-size: 1.8rem;
}

.feature-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.pill {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--sky);
  color: var(--teal);
}

.form {
  display: grid;
  gap: 1.1rem;
  max-width: 40rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbf9f6;
  color: var(--ink);
  font: inherit;
  padding: 0.85rem 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  background: #fff;
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14);
}

.textarea {
  min-height: 10rem;
  resize: vertical;
}

.field-error {
  color: #b42318;
  font-size: 0.9rem;
}

.alert {
  padding: 0.95rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.alert--ok {
  background: #e8f8f1;
  border-color: #b7e5cf;
}

.alert--err {
  background: #fdecec;
  border-color: #f3c1c1;
}

.hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.legal {
  max-width: 46rem;
}

.legal h2 {
  margin-top: 2.2rem;
}

.notice {
  padding: 0.95rem 1.05rem;
  background: #fff6e8;
  border: 1px solid #f0d7a8;
  border-radius: 12px;
}

.muted {
  color: var(--muted);
}

.gap-top-sm {
  margin-top: 1rem;
}

.gap-top {
  margin-top: 1.5rem;
}

.gap-top-lg {
  margin-top: 2rem;
}

.migrate {
  max-width: 44rem;
  margin: 3rem auto;
}

.migrate pre {
  overflow: auto;
  background: #10151c;
  color: #e8eef7;
  padding: 1rem;
  border-radius: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.flow-item,
.pain,
.step-card,
.ask-list li,
.card,
.price-card {
  will-change: transform;
}

.showcase__live {
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes floaty {
  0%,
  100% {
    transform: perspective(1000px) rotateY(-6deg) rotateX(3deg) translateY(0);
  }
  50% {
    transform: perspective(1000px) rotateY(-6deg) rotateX(3deg) translateY(-10px);
  }
}

@keyframes blob {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-18px, 12px) scale(1.06);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes btnPulse {
  0%,
  100% {
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.28);
  }
  50% {
    box-shadow: 0 14px 34px rgba(15, 118, 110, 0.4);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loadBar {
  0% {
    width: 0;
  }
  70% {
    width: 82%;
  }
  100% {
    width: 100%;
  }
}

@keyframes loaderPop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.page-leave {
  position: fixed;
  inset: 0;
  z-index: 190;
  pointer-events: none;
  background: rgba(251, 249, 246, 0);
  transition: background 0.28s var(--ease);
}

.page-leave.is-on {
  background: rgba(251, 249, 246, 0.55);
}

@media (min-width: 840px) {
  .hero__inner,
  .ai-split,
  .grid-2,
  .tab-panel.is-active {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .pain-grid,
  .flow-rail,
  .grid-3,
  .cards,
  .price-grid,
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

@media (max-width: 960px) {
  html::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .wrap,
  .site-header__bar {
    width: min(calc(100% - 1.5rem), var(--wrap));
  }

  .nav-desktop {
    display: none !important;
  }

  .header-actions > .btn {
    display: none !important;
  }

  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .header-actions {
    margin-left: auto !important;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(16, 21, 28, 0.45);
  }

  .nav-backdrop.is-open,
  .nav-backdrop:not([hidden]) {
    display: block;
  }

  .nav-backdrop[hidden] {
    display: none !important;
  }

  .nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    width: min(20rem, 86vw);
    max-width: 100%;
    background: #fff;
    box-shadow: -12px 0 40px rgba(20, 24, 31, 0.18);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-mobile.is-open,
  .nav-mobile:not([hidden]) {
    display: block;
    animation: rise 0.28s var(--ease);
  }

  .nav-mobile[hidden] {
    display: none !important;
  }

  body.nav-open .site-header {
    z-index: 65;
  }

  body.nav-open .nav-toggle {
    z-index: 70;
  }

  .nav-mobile__panel {
    padding: 5.2rem 1.3rem 2rem;
  }

  .nav-mobile__kicker {
    margin: 0 0 1rem;
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
  }

  .nav-mobile__list a {
    display: block;
    padding: 0.85rem 0;
    color: var(--ink);
    text-decoration: none;
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 800;
    border-bottom: 1px solid var(--line);
  }

  .nav-mobile__actions {
    display: grid;
    gap: 0.55rem;
    margin-top: 1.4rem;
  }

  .nav-mobile__actions .btn {
    width: 100%;
  }

  .showcase {
    transform: none;
    animation: none;
  }

  .hero {
    padding: 2.4rem 0 3rem;
  }

  .hero__bg {
    width: min(58vw, 14rem);
    height: min(58vw, 14rem);
    top: 2%;
    right: 0;
    opacity: 0.75;
  }

  .hero__inner {
    gap: 1.75rem;
    min-width: 0;
  }

  .hero__copy {
    min-width: 0;
    max-width: 100%;
  }

  .hero__lead,
  .lead {
    font-size: 1.02rem;
    max-width: 100%;
  }

  .hero__actions {
    gap: 0.65rem;
  }

  .store-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 0.65rem;
    align-items: start;
    justify-items: center;
    max-width: 21rem;
  }

  .store-badge-link--primary {
    grid-column: 1 / -1;
    width: 100%;
    align-items: center;
  }

  .store-badge-link--primary .kasirai-get-btn--store {
    width: auto;
    min-width: 11.75rem;
    max-width: 100%;
    min-height: 3rem;
    height: 3rem;
    padding: 0 1rem 0 0.45rem;
  }

  .store-badge-link--primary .store-badge-note {
    text-align: center;
  }

  .store-badges__markets {
    display: contents;
  }

  .store-badge-link {
    width: 100%;
    min-width: 0;
    align-items: center;
    gap: 0.35rem;
  }

  .store-badge-img,
  .store-badge-img--play,
  .store-badge-img--apple {
    height: 2.75rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    margin-inline: auto;
  }

  .store-badge-note {
    font-size: 0.72rem;
  }

  .section {
    padding: 3rem 0;
  }

  .page-hero {
    padding: 2.25rem 0 1.15rem;
  }

  .form {
    padding: 1.15rem;
    border-radius: 18px;
  }

  .auth-stage {
    width: min(100% - 1.25rem, 68rem);
    margin: 0.85rem auto 2rem;
    border-radius: 20px;
    min-height: auto;
  }

  .auth-stage__panel {
    padding: 1.5rem 1.15rem 1.75rem;
  }

  .footer-meta {
    flex-direction: column;
    gap: 0.55rem;
  }

  .cta-panel,
  .cta__box {
    padding: 1.5rem 1.2rem;
    border-radius: 22px;
  }

  .cta-panel__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-panel__actions .btn {
    width: 100%;
  }

  .cta {
    padding-bottom: 3rem;
  }

  .profile-page,
  .admin-page,
  .assistant-page {
    padding-top: 1.25rem;
  }

  .admin-role-form {
    width: 100%;
  }

  .input--select,
  .input--date {
    min-width: 0;
    flex: 1 1 8rem;
  }
}

@media (max-width: 540px) {
  body {
    font-size: 1rem;
  }

  .brand__word {
    font-size: 1.12rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .store-badges {
    max-width: none;
  }

  h2 {
    font-size: clamp(1.55rem, 7vw, 2.4rem);
  }

  .showcase__pulse {
    grid-template-columns: 1fr;
  }

  .feature-head {
    flex-direction: column;
    gap: 0.5rem;
  }

  .price-card .amount {
    font-size: 1.55rem;
  }

  .site-footer {
    padding: 2.5rem 0 1.5rem;
  }
}

@media (max-width: 380px) {
  .wrap,
  .site-header__bar {
    width: min(calc(100% - 1.1rem), var(--wrap));
  }

  .btn--cta {
    padding-inline: 1.15rem;
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .page-loader {
    display: none;
  }

  .btn--primary {
    animation: none !important;
  }

  .error-scene__zero,
  .error-scene__glow {
    animation: none !important;
  }
}

/* ---- Profil ---- */
.profile-page {
  padding: 2rem 0 4rem;
}

.profile-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.profile-head h1 {
  margin: 0.2rem 0 0.45rem;
}

.profile-head .lead {
  margin: 0;
  max-width: 36rem;
}

.profile-plan {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-width: 7.5rem;
  padding: 0.95rem 1.15rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}

.profile-plan__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-plan__value {
  display: block;
  color: var(--teal);
  font-size: 1.2rem;
  line-height: 1.2;
}

.profile-plan__meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.35;
  max-width: 11rem;
}

.profile-layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 980px) {
  .profile-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(16rem, 0.85fr);
    align-items: start;
  }

  .profile-rail {
    position: sticky;
    top: calc(var(--header) + 1rem);
  }
}

.profile-main,
.profile-rail__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}

.profile-main {
  display: grid;
  gap: 1rem;
}

.profile-block {
  padding-top: 0.35rem;
  border-top: 1px solid var(--line);
}

.profile-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.profile-block h2 {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
}

.profile-fields {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .profile-fields {
    grid-template-columns: 1fr 1fr;
  }

  .profile-fields .label--full {
    grid-column: 1 / -1;
  }
}

.profile-form .label,
.profile-form .label__title {
  display: grid;
  gap: 0.35rem;
  font-weight: 650;
}

.profile-form textarea.input {
  resize: vertical;
  min-height: 6.5rem;
}

.profile-form > .btn {
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.file-drop {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0.15rem 0 0.35rem;
}

.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-drop__ui {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 4.5rem;
  padding: 0.85rem 1rem;
  border: 1.5px dashed rgba(15, 118, 110, 0.35);
  border-radius: 16px;
  background: #f7fbfa;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  pointer-events: none;
}

.file-drop:hover .file-drop__ui,
.file-drop:focus-within .file-drop__ui {
  border-color: var(--teal);
  background: #eef8f6;
}

.file-drop__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: var(--teal);
  font-weight: 700;
  border: 1px solid var(--line);
}

.file-drop__thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.file-drop__text {
  display: grid;
  gap: 0.15rem;
}

.file-drop__text small {
  color: var(--muted);
  font-weight: 500;
}

.profile-rail {
  display: grid;
  gap: 1rem;
}

.profile-rail__card h2,
.profile-rail__card h3 {
  margin: 0.2rem 0 0.55rem;
}

.profile-rail__card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.profile-rail__card--soft {
  background: #f7f4ef;
  box-shadow: none;
}

.profile-rail__card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
}

.profile-rail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}

.kasirai-get-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  height: 48px;
  min-height: 48px;
  box-sizing: border-box;
  padding: 0 0.95rem 0 0.45rem;
  border-radius: 8px;
  background: #14181f;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s var(--ease);
}

.kasirai-get-btn:hover {
  color: #fff;
  background: #1d2430;
}

.kasirai-get-btn img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #fff;
  object-fit: contain;
  flex-shrink: 0;
}

.kasirai-get-btn span {
  display: grid;
  line-height: 1.1;
  text-align: left;
}

.kasirai-get-btn small {
  font-size: 0.68rem;
  opacity: 0.78;
  font-weight: 500;
}

.kasirai-get-btn strong {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.kasirai-get-btn--store {
  width: 155px;
  justify-content: flex-start;
}

.kasirai-get-btn--disabled {
  opacity: 0.55;
  pointer-events: none;
}

.store-badge-link .kasirai-get-btn {
  pointer-events: none;
}

/* ---- Asisten ---- */
.assistant-page {
  padding: 1.5rem 0 3.5rem;
}

.assistant-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.assistant-head h1 {
  margin: 0.15rem 0 0.4rem;
}

.assistant-head .lead {
  margin: 0;
  max-width: 38rem;
}

.assistant-app {
  max-width: 46rem;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto minmax(18rem, 52vh) auto;
  min-height: min(70vh, 40rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.assistant-app.is-offline {
  opacity: 0.92;
}

.assistant-app__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfaf8, #fff);
}

.assistant-app__identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.assistant-app__identity img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--line);
}

.assistant-app__identity strong,
.assistant-app__identity span {
  display: block;
}

.assistant-app__identity span {
  color: var(--muted);
  font-size: 0.84rem;
}

.assistant-app__alert {
  margin: 0.85rem 1.15rem 0;
}

.assistant-app__log {
  overflow: auto;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.07), transparent 42%),
    #fff;
}

.assistant-msg {
  display: flex;
  max-width: 85%;
}

.assistant-msg--ai,
.assistant-msg--err {
  align-self: flex-start;
}

.assistant-msg--user {
  align-self: flex-end;
}

.assistant-msg__bubble {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.assistant-msg--ai .assistant-msg__bubble {
  background: #eef6f4;
  color: var(--ink);
  border-bottom-left-radius: 6px;
}

.assistant-msg--user .assistant-msg__bubble {
  background: var(--teal);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.assistant-msg--err .assistant-msg__bubble {
  background: #fff1ef;
  color: #9b2c2c;
}

.assistant-msg--typing .assistant-msg__bubble {
  opacity: 0.8;
}

.assistant-app__compose {
  border-top: 1px solid var(--line);
  padding: 0.85rem 1rem 1rem;
  background: #fbfaf8;
}

.assistant-app__preview {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.assistant-app__preview img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f3f3;
}

.assistant-app__preview-meta {
  display: grid;
  gap: 0.15rem;
}

.assistant-app__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: end;
}

.assistant-app__attach {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--teal);
  cursor: pointer;
}

.assistant-app__attach:hover {
  border-color: rgba(15, 118, 110, 0.4);
  background: #eef8f6;
}

.assistant-app__input {
  width: 100%;
  min-height: 2.75rem;
  max-height: 8rem;
  resize: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.assistant-app__input:focus {
  outline: none;
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}

.assistant-app__send {
  min-height: 2.75rem;
}

.assistant-app__hint {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .assistant-app {
    border-radius: 18px;
    grid-template-rows: auto minmax(16rem, 48vh) auto;
  }

  .assistant-app__row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .assistant-app__send {
    grid-column: 1 / -1;
  }
}

/* ---- Admin ---- */
.admin-page {
  padding: 1.75rem 0 4rem;
}

.admin-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-head h1 {
  margin: 0.15rem 0 0.4rem;
}

.admin-head .lead {
  margin: 0;
  max-width: 40rem;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.15rem;
}

.admin-tabs__item {
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
}

.admin-tabs__item:hover {
  color: var(--teal);
  border-color: rgba(15, 118, 110, 0.35);
}

.admin-tabs__item.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}

.admin-card h2 {
  margin: 0 0 0.45rem;
}

.admin-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
  max-width: 36rem;
}

.admin-form .label {
  display: grid;
  gap: 0.35rem;
}

.admin-table-wrap {
  overflow: auto;
  margin-top: 1rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 40rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.7rem 0.55rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.admin-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.admin-role-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.input--select,
.input--date {
  min-height: 2.35rem;
  width: auto;
  min-width: 8rem;
  padding: 0.35rem 0.65rem;
}

.input--date {
  min-width: 9.5rem;
}

.admin-plan-chip {
  display: inline-flex;
  align-items: center;
  max-width: 18rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: #eef8f6;
  color: var(--teal);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.3;
}

.admin-plan-chip.is-expired {
  background: #fff1ef;
  color: #9b2c2c;
}

.contact-meta {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}
