:root {
  --ink: #101426;
  --ink-soft: #4f566b;
  --muted: #778095;
  --surface: #ffffff;
  --canvas: #f5f7fb;
  --line: #e4e8f1;
  --primary: #5b5cf0;
  --primary-dark: #4849d7;
  --primary-light: #eeefff;
  --success: #13855b;
  --danger: #bf3d50;
  --shadow-sm: 0 8px 24px rgba(31, 38, 74, .07);
  --shadow-lg: 0 30px 80px rgba(31, 38, 74, .14);
  --radius: 18px;
  --radius-lg: 28px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: calc(100vh - 150px);
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(228, 232, 241, .75);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
}

.brand,
.profile-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #7374ff, #4849d7);
  box-shadow: 0 8px 18px rgba(91, 92, 240, .28);
  font-size: .98rem;
  font-weight: 900;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions form {
  margin: 0;
}

.nav-link-custom {
  align-items: center;
  padding: 9px 12px;
  color: var(--ink-soft);
  font-weight: 650;
  text-decoration: none;
}

.nav-link-custom:hover,
.text-link:hover,
.back-link:hover {
  color: var(--primary);
}

.limit-reached-note {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: #fff;
  font-size: .78rem;
  font-weight: 750;
}

.user-name {
  max-width: 160px;
  overflow: hidden;
  padding: 0 4px;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

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

.btn-primary-custom {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 9px 20px rgba(91, 92, 240, .22);
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
  color: #fff;
  background: var(--primary-dark);
  box-shadow: 0 12px 25px rgba(91, 92, 240, .3);
}

.btn-quiet {
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: #fff;
}

.btn-quiet:hover {
  color: var(--ink);
  border-color: #ccd1dd;
  background: #fafbfe;
}

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

.btn-dark-custom:hover {
  color: #fff;
  background: #252a3c;
}

.btn-danger-quiet {
  color: var(--danger);
  border: 1px solid #f1ccd2;
  background: #fff7f8;
}

.btn-full {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
}

.btn-large {
  min-height: 54px;
  padding-inline: 24px;
}

.btn-small {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: .88rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.toast-wrap {
  position: relative;
  z-index: 10;
}

.success-message {
  position: absolute;
  top: 16px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(440px, calc(100vw - 40px));
  padding: 13px 17px;
  border: 1px solid #bfe6d7;
  border-radius: 13px;
  color: #0c6645;
  background: #eefbf6;
  box-shadow: var(--shadow-sm);
  font-size: .92rem;
  font-weight: 650;
}

.error-message {
  position: absolute;
  top: 16px;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(520px, calc(100vw - 40px));
  padding: 13px 17px;
  border: 1px solid #f1ccd2;
  border-radius: 13px;
  color: #9e2f41;
  background: #fff5f7;
  box-shadow: var(--shadow-sm);
  font-size: .92rem;
  font-weight: 650;
}

.error-message > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--danger);
}

.success-message span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--success);
}

/* Landing page */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 82% 15%, rgba(131, 133, 255, .15), transparent 28%),
    radial-gradient(circle at 0 80%, rgba(161, 225, 213, .2), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fafbff 100%);
}

.hero::before {
  position: absolute;
  width: 620px;
  height: 620px;
  top: -320px;
  left: 40%;
  border: 1px solid rgba(91, 92, 240, .08);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: 1.08fr .92fr;
  gap: 70px;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 19px 0 23px;
  font-size: clamp(3.25rem, 6vw, 5.6rem);
  font-weight: 850;
  letter-spacing: -.065em;
  line-height: .98;
}

.hero-copy h1 span {
  color: var(--primary);
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.6vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.text-link,
.back-link {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 650;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 560px;
  place-items: center;
}

.phone-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(91, 92, 240, .18);
  filter: blur(60px);
}

.phone-card {
  position: relative;
  width: 310px;
  min-height: 532px;
  padding: 23px 25px 26px;
  border: 8px solid #171b2d;
  border-radius: 43px;
  background:
    linear-gradient(150deg, rgba(91, 92, 240, .16), transparent 32%),
    #fff;
  box-shadow: 0 46px 90px rgba(25, 29, 57, .25);
  text-align: center;
  transform: rotate(3deg);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 750;
}

.phone-pill {
  position: absolute;
  width: 82px;
  height: 22px;
  top: 8px;
  left: 50%;
  border-radius: 20px;
  background: #171b2d;
  transform: translateX(-50%);
}

.mini-brand {
  margin-left: auto;
}

.sample-avatar {
  display: grid;
  width: 102px;
  height: 102px;
  margin: 53px auto 22px;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #7778ff, #4a4bdc);
  box-shadow: 0 15px 30px rgba(91, 92, 240, .28);
  font-size: 1.55rem;
  font-weight: 850;
}

.phone-card h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 820;
  letter-spacing: -.035em;
}

.phone-card > p {
  margin: 7px 0 21px;
  color: var(--muted);
  font-size: .78rem;
}

.sample-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.sample-actions span {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  background: var(--primary-light);
}

.sample-save {
  margin-top: 24px;
  padding: 14px;
  border-radius: 11px;
  color: #fff;
  background: var(--primary);
  font-size: .78rem;
  font-weight: 800;
}

.sample-lines {
  display: grid;
  gap: 12px;
  margin-top: 25px;
}

.sample-lines i {
  display: block;
  height: 10px;
  border-radius: 10px;
  background: #edf0f6;
}

.sample-lines i:nth-child(2) {
  width: 76%;
}

.sample-lines i:nth-child(3) {
  width: 58%;
}

.tap-card {
  position: absolute;
  right: -30px;
  bottom: 58px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.nfc-rings {
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -.3em;
  transform: rotate(-90deg);
}

.tap-card strong,
.tap-card small {
  display: block;
}

.tap-card strong {
  font-size: .83rem;
}

.tap-card small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .67rem;
}

.steps-section {
  padding: 94px 0 110px;
}

.section-heading {
  max-width: 650px;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 820;
  letter-spacing: -.045em;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.steps-grid article {
  position: relative;
  min-height: 235px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.step-number {
  color: var(--primary);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.steps-grid h3 {
  margin: 48px 0 12px;
  font-size: 1.25rem;
  font-weight: 800;
}

.steps-grid p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* Forms */
.auth-section,
.dashboard-section,
.editor-section,
.share-section {
  min-height: calc(100vh - 138px);
  padding: 66px 0 90px;
  background:
    radial-gradient(circle at 90% 0, rgba(91, 92, 240, .08), transparent 25%),
    var(--canvas);
}

.auth-section {
  display: grid;
  padding-block: 72px;
  place-items: start center;
}

.auth-card {
  width: min(470px, calc(100% - 32px));
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.auth-heading {
  margin-bottom: 28px;
  text-align: center;
}

.auth-heading h1 {
  margin: 10px 0 8px;
  font-size: 2rem;
  font-weight: 830;
  letter-spacing: -.04em;
}

.auth-heading p,
.page-heading p,
.form-card-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.field {
  position: relative;
  margin-bottom: 19px;
}

.field label {
  display: block;
  margin: 0 0 7px;
  color: #353b4e;
  font-size: .82rem;
  font-weight: 750;
}

.field input:not([type="color"]),
.field select,
.field textarea,
.repeat-row input,
.copy-control input {
  width: 100%;
  border: 1px solid #d8dde8;
  border-radius: 11px;
  outline: 0;
  color: var(--ink);
  background: #fff;
  transition: border .18s ease, box-shadow .18s ease;
}

.field input:not([type="color"]),
.field select,
.repeat-row input,
.copy-control input {
  height: 48px;
  padding: 0 14px;
}

.field textarea {
  min-height: 96px;
  padding: 13px 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.repeat-row input:focus,
.copy-control input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(91, 92, 240, .1);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #adb3c0;
}

.field > span.field-validation-error,
.repeat-row > span.field-validation-error {
  display: block;
  margin-top: 6px;
  color: var(--danger);
  font-size: .78rem;
}

.field-hint {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: .72rem;
}

.input-validation-error {
  border-color: #df8090 !important;
}

.validation-summary {
  margin-bottom: 16px;
  color: var(--danger);
  font-size: .84rem;
}

.validation-summary:empty,
.validation-summary-valid {
  display: none;
}

.validation-summary ul {
  margin: 0;
  padding: 12px 14px 12px 30px;
  border-radius: 10px;
  background: #fff4f6;
}

.check-field {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: .86rem;
}

.check-field input {
  accent-color: var(--primary);
}

.auth-switch {
  margin: 23px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: .88rem;
}

.auth-switch a {
  color: var(--primary);
  font-weight: 750;
}

.page-heading {
  margin-bottom: 34px;
}

.page-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.page-heading h1 {
  margin: 9px 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 840;
  letter-spacing: -.05em;
}

.back-link {
  display: block;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: .88rem;
}

/* Dashboard */
.empty-state {
  display: grid;
  min-height: 410px;
  place-items: center;
  align-content: center;
  padding: 50px 24px;
  border: 1px dashed #cfd5e2;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .75);
  text-align: center;
}

.empty-icon {
  display: grid;
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 22px;
  color: var(--primary);
  background: var(--primary-light);
  font-size: 2rem;
}

.empty-state h2 {
  margin: 0 0 8px;
  font-weight: 800;
}

.empty-state p {
  max-width: 470px;
  margin: 0 0 24px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
}

.plan-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: -8px 0 25px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.plan-overview > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-overview small {
  color: var(--muted);
}

.plan-badge {
  display: inline-grid;
  min-width: 44px;
  height: 25px;
  place-items: center;
  border-radius: 20px;
  color: #5354de;
  background: var(--primary-light);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.plan-free .plan-badge {
  color: #657084;
  background: #edf0f5;
}

.plan-paused-card {
  border-top-color: #aeb5c3;
  opacity: .78;
}

.is-paused {
  color: #76621f;
  background: #fbf4dc;
}

.admin-card-actions form {
  margin: 0;
}

.contact-admin-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.admin-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-card-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.avatar-small {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: var(--accent);
  font-size: .95rem;
  font-weight: 850;
}

.status-badge {
  padding: 6px 9px;
  border-radius: 50px;
  font-size: .69rem;
  font-weight: 800;
}

.is-public {
  color: #0b744e;
  background: #e8f8f2;
}

.is-private {
  color: #76621f;
  background: #fbf4dc;
}

.is-default {
  color: #4c3ca7;
  background: #efecff;
}

.admin-card-body {
  margin-top: 25px;
}

.profile-kind {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-card-body h2 {
  margin: 8px 0 6px;
  font-size: 1.3rem;
  font-weight: 820;
  letter-spacing: -.025em;
}

.admin-card-body p {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: .85rem;
}

.admin-card-meta {
  display: flex;
  gap: 15px;
  margin-top: auto;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
}

.admin-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Editor */
.editor-container {
  max-width: 900px;
}

.editor-form {
  display: grid;
  gap: 20px;
}

.form-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.form-card-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 27px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.form-card-heading h2 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 820;
}

.form-card-heading p {
  font-size: .83rem;
}

.form-step {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  color: var(--primary);
  background: var(--primary-light);
  font-size: .72rem;
  font-weight: 900;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 20px;
}

.span-2 {
  grid-column: span 2;
}

.profile-image-editor {
  margin: 3px 0 22px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fafbfe;
}

.image-editor-copy {
  display: grid;
  gap: 3px;
  margin-bottom: 15px;
}

.image-editor-copy label {
  margin: 0;
}

.image-editor-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 170px 1fr;
  gap: 22px;
}

.image-preview-shell {
  position: relative;
  display: grid;
  width: 170px;
  height: 170px;
  overflow: hidden;
  place-items: center;
  border: 2px dashed #cdd2df;
  border-radius: 50%;
  color: var(--muted);
  background: #fff;
}

.image-preview-shell.is-logo {
  border-radius: 22px;
}

.image-preview-shell img,
.image-preview-shell canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  touch-action: none;
}

.image-preview-shell.is-logo img {
  padding: 10px;
  object-fit: contain;
}

.image-placeholder {
  font-size: .78rem;
  font-weight: 750;
}

.image-editor-controls {
  display: grid;
  gap: 11px;
}

.image-editor-controls > input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.file-picker {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  margin: 0;
  padding: 9px 15px;
  border: 1px solid #cfd4df;
  border-radius: 11px;
  background: #fff;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 780;
}

.crop-controls {
  display: grid;
  gap: 5px;
}

.crop-controls label,
.crop-controls small {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
}

.crop-controls input {
  accent-color: var(--primary);
}

.image-kind-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.image-kind-options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: .74rem;
  font-weight: 680;
}

.image-kind-options input {
  accent-color: var(--primary);
}

.segmented-options label {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.segmented-options input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.segmented-options label > span {
  display: flex;
  min-height: 43px;
  align-items: center;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink-soft);
  background: #fff;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.segmented-options input:checked + span {
  border-color: var(--primary);
  color: var(--primary);
  background: #f3f3ff;
  box-shadow: inset 0 0 0 1px var(--primary);
}

.remove-image-button {
  width: fit-content;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #f2cbd2;
  border-radius: 10px;
  color: var(--danger);
  background: #fff8f9;
  font-size: .74rem;
  font-weight: 760;
}

.remove-image-check {
  min-height: 38px;
  color: var(--danger);
  font-size: .74rem;
}

.slug-input {
  display: grid;
  align-items: stretch;
  grid-template-columns: auto 1fr;
}

.slug-input > span {
  display: flex;
  align-items: center;
  padding: 0 0 0 13px;
  border: 1px solid #dfe3ec;
  border-right: 0;
  border-radius: 11px 0 0 11px;
  color: var(--muted);
  background: #f6f7fa;
  font-size: .78rem;
  white-space: nowrap;
}

.slug-input input {
  border-radius: 0 11px 11px 0 !important;
}

.slug-status.is-available {
  color: var(--success);
}

.slug-status.is-unavailable {
  color: var(--danger);
}

.color-input {
  display: flex;
  align-items: center;
  gap: 11px;
}

.color-input input {
  width: 52px;
  height: 45px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.color-input span {
  color: var(--muted);
  font-size: .78rem;
}

.pro-label {
  display: inline-flex;
  margin-left: 5px;
  padding: 3px 6px;
  border-radius: 8px;
  color: #fff;
  background: var(--primary);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .06em;
}

.simple-check {
  display: flex !important;
  min-height: 45px;
  align-items: center;
  gap: 9px;
  margin: 0 !important;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.simple-check input {
  accent-color: var(--primary);
}

.pro-field-teaser {
  display: flex;
  min-height: 45px;
  align-items: center;
  padding: 0 13px;
  border: 1px dashed #c8c9f4;
  border-radius: 11px;
  color: var(--primary);
  background: #fafaff;
  font-size: .78rem;
  font-weight: 750;
  text-decoration: none;
}

.repeat-section + .repeat-section {
  margin-top: 31px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.repeat-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
}

.repeat-title h3 {
  margin: 0;
  font-size: .9rem;
  font-weight: 780;
}

.repeat-title small {
  display: block;
  max-width: 560px;
  margin-top: 4px;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.45;
}

.add-row {
  border: 0;
  color: var(--primary);
  background: transparent;
  font-size: .8rem;
  font-weight: 800;
}

.repeat-row {
  position: relative;
  display: grid;
  grid-template-columns: 170px 1fr 38px;
  gap: 9px;
  margin-top: 9px;
}

.repeat-row .remove-row {
  display: grid;
  height: 38px;
  margin-top: 5px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: #f3f5f9;
  font-size: 1.3rem;
  line-height: 1;
}

.repeat-row .remove-row:hover {
  color: var(--danger);
  background: #fff1f3;
}

.repeat-row > span {
  grid-column: 2 / 3;
}

.visibility-toggle {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 5px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.field label.visibility-toggle {
  display: flex;
  margin: 0;
}

.visibility-toggle > input {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  opacity: 0;
}

.toggle-ui {
  position: relative;
  width: 45px;
  height: 25px;
  flex: 0 0 auto;
  border-radius: 20px;
  background: #c8ceda;
  transition: background .2s ease;
}

.toggle-ui::after {
  position: absolute;
  width: 19px;
  height: 19px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .17);
  content: "";
  transition: transform .2s ease;
}

.visibility-toggle input:checked ~ .toggle-ui {
  background: var(--primary);
}

.visibility-toggle input:checked ~ .toggle-ui::after {
  transform: translateX(20px);
}

.visibility-toggle strong,
.visibility-toggle small {
  display: block;
}

.visibility-toggle strong {
  font-size: .84rem;
}

.visibility-toggle small {
  margin-top: 2px;
  color: var(--muted);
  font-size: .74rem;
}

.compact-toggle {
  min-height: 46px;
  margin-top: 0;
  padding: 9px 12px;
}

.company-display-options.is-hidden {
  display: none;
}

.company-display-options {
  min-width: 0;
}

.company-display-option-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.company-display-option-grid .visibility-toggle,
.company-display-option-grid .visibility-toggle > span:last-child {
  min-width: 0;
}

.block-toolbar,
.block-card-header,
.block-card-actions,
.block-editor-header,
.block-order-actions {
  display: flex;
  align-items: center;
}

.block-toolbar {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.block-toolbar > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.block-toolbar > span {
  max-width: 390px;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.45;
  text-align: right;
}

.profile-block-editor-list {
  display: grid;
  gap: 14px;
}

.profile-block-editor-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfcff;
}

.block-card-header,
.block-editor-header {
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #f6f7fb;
}

.block-card-header > div:first-child,
.block-editor-header > div:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}

.block-type-icon {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  color: var(--primary);
  background: #e9e9ff;
  font-size: .8rem;
}

.block-card-actions,
.block-order-actions {
  gap: 5px;
}

.block-card-actions button,
.block-order-actions button {
  display: grid;
  width: 31px;
  height: 31px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: #fff;
  font-size: .9rem;
}

.block-card-actions button:hover,
.block-order-actions button:hover {
  color: var(--primary);
  border-color: #c8c9f4;
}

.block-card-actions [data-remove-block]:hover,
.block-order-actions [data-remove-block]:hover {
  color: var(--danger);
  border-color: #f2cbd2;
}

.block-enabled-toggle {
  margin: 13px 14px 0;
  background: #fff;
}

.block-form-grid {
  padding: 14px;
}

.opening-hours-editor {
  display: grid;
  gap: 7px;
  padding: 0 14px 14px;
}

.opening-day-row {
  display: grid;
  min-height: 48px;
  align-items: center;
  grid-template-columns: 100px 112px minmax(175px, 1fr) minmax(175px, 1fr);
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.opening-day-row > strong {
  font-size: .76rem;
}

.day-closed-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--muted);
  font-size: .69rem;
}

.day-closed-toggle input {
  width: 16px !important;
  height: 16px !important;
  accent-color: var(--primary);
}

.opening-time-range {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  gap: 5px;
}

.opening-time-range input {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 4px 6px;
  border: 1px solid #dfe3ec;
  border-radius: 8px;
  font-size: .72rem;
}

.opening-day-row.is-closed .opening-time-range {
  opacity: .32;
}

.opening-day-row.is-closed .opening-time-range input {
  pointer-events: none;
}

.form-submit-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 13px 0;
}

/* Share */
.share-container {
  max-width: 930px;
}

.warning-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid #eedda4;
  border-radius: 13px;
  color: #6d5816;
  background: #fffaf0;
  font-size: .86rem;
}

.warning-card a {
  color: #6d5816;
  font-weight: 800;
}

.text-button {
  border: 0;
  padding: 0;
  color: #6d5816;
  background: transparent;
  font-size: .86rem;
  font-weight: 800;
  text-decoration: underline;
}

.share-grid {
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 20px;
}

.share-grid.is-disabled {
  opacity: .62;
}

.qr-card,
.share-option-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.qr-card {
  display: flex;
  min-height: 495px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
}

.card-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.qr-frame {
  display: grid;
  width: 300px;
  height: 300px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.qr-frame img {
  width: 280px;
  height: 280px;
}

.qr-placeholder {
  display: grid;
  width: 260px;
  height: 260px;
  place-items: center;
  border-radius: 15px;
  color: var(--muted);
  background:
    repeating-linear-gradient(45deg, #f2f3f6, #f2f3f6 9px, #e9ebf0 9px, #e9ebf0 18px);
  font-weight: 800;
}

.qr-card > p {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.qr-download-link,
.pro-inline-link {
  margin-top: 17px;
  font-size: .8rem;
}

.pro-inline-link {
  color: var(--primary);
  font-weight: 750;
}

.share-options {
  display: grid;
  gap: 14px;
}

.share-option-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 15px;
  padding: 23px;
}

.option-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 14px;
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 850;
}

.share-option-card h2 {
  margin: -4px 0 5px;
  font-size: 1rem;
  font-weight: 800;
}

.share-option-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: .8rem;
}

.share-option-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .7rem;
}

.copy-control {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.copy-control input {
  height: 42px;
  min-width: 0;
  color: var(--ink-soft);
  background: #f8f9fc;
  font-size: .78rem;
}

.nfc-icon {
  letter-spacing: -.25em;
  transform: none;
}

.nfc-status {
  margin-top: 9px;
  color: var(--success);
  font-size: .76rem;
  font-weight: 700;
}

.compact-option {
  align-items: center;
}

.compact-option .card-kicker {
  margin-bottom: 4px;
}

.pro-promo-card {
  border-color: #d9dafd;
  background: linear-gradient(135deg, #fff, #f6f6ff);
}

button:disabled,
.btn:disabled {
  cursor: not-allowed;
  opacity: .58;
  transform: none;
}

/* Pricing */
.pricing-section {
  min-height: calc(100vh - 138px);
  padding: 80px 0 105px;
  background:
    radial-gradient(circle at 50% 0, rgba(91, 92, 240, .11), transparent 30%),
    var(--canvas);
}

.pricing-container {
  max-width: 910px;
}

.pricing-heading {
  max-width: 700px;
  margin: 0 auto 45px;
  text-align: center;
}

.pricing-heading h1 {
  margin: 11px 0 12px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 850;
  letter-spacing: -.055em;
}

.pricing-heading p {
  color: var(--muted);
  font-size: 1.02rem;
}

.pricing-interval-switch {
  display: inline-flex;
  gap: 4px;
  margin-top: 20px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.pricing-interval-switch button {
  min-height: 38px;
  padding: 8px 15px;
  border: 0;
  border-radius: 9px;
  color: var(--muted);
  background: transparent;
  font-size: .76rem;
  font-weight: 800;
}

.pricing-interval-switch button.is-active {
  color: #fff;
  background: var(--primary);
}

.pricing-saving {
  display: inline-flex;
  margin-left: 4px;
  padding: 3px 6px;
  border-radius: 7px;
  color: #0b7049;
  background: #dff8ed;
  font-size: .58rem;
  font-weight: 850;
  vertical-align: middle;
}

.pricing-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.price-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.featured-price-card {
  border: 2px solid var(--primary);
  box-shadow: 0 24px 55px rgba(91, 92, 240, .16);
}

.popular-tag {
  position: absolute;
  top: -13px;
  right: 25px;
  padding: 6px 11px;
  border-radius: 20px;
  color: #fff;
  background: var(--primary);
  font-size: .68rem;
  font-weight: 850;
}

.price-card h2 {
  margin: 15px 0 18px;
  font-size: 1.35rem;
  font-weight: 820;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price strong {
  font-size: 2.3rem;
  font-weight: 860;
  letter-spacing: -.045em;
}

.price span,
.monthly-note,
.price-hint,
.pricing-footnote {
  color: var(--muted);
}

.billing-actions {
  display: grid;
  gap: 7px;
}

.billing-actions form,
.active-plan-note + form {
  margin: 0;
}

.active-plan-note {
  display: grid;
  gap: 3px;
  margin-top: 8px;
  padding: 13px 15px;
  border: 1px solid #bfe6d7;
  border-radius: 12px;
  color: #0c6645;
  background: #eefbf6;
  font-size: .8rem;
}

.active-plan-note span {
  color: #4d7768;
  font-size: .7rem;
}

.monthly-note {
  margin: 2px 0 0;
  font-size: .78rem;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 27px 0 30px;
  padding: 0;
  list-style: none;
}

.price-card li::before {
  margin-right: 9px;
  color: var(--success);
  content: "✓";
  font-weight: 900;
}

.price-hint {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: .7rem;
}

.pricing-footnote {
  margin: 28px 0 0;
  text-align: center;
  font-size: .78rem;
}

.danger-zone {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 23px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}

.danger-zone form {
  margin: 0;
}

/* Public profile */
.public-body {
  min-height: 100vh;
  background: #eef1f7;
}

.profile-page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 40px 16px;
  background:
    radial-gradient(circle at 20% 8%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 26%),
    linear-gradient(180deg, #f8f9fc, #eef1f7);
}

.profile-bg-shape {
  position: fixed;
  border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.shape-one {
  width: 520px;
  height: 520px;
  top: -260px;
  left: calc(50% - 520px);
}

.shape-two {
  width: 380px;
  height: 380px;
  right: calc(50% - 500px);
  bottom: -230px;
}

.public-profile-card {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 30px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 35px 90px rgba(37, 45, 78, .16);
}

.profile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 24px;
  border-bottom: 1px solid var(--line);
}

.profile-brand {
  font-size: .87rem;
}

.profile-brand .brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-size: .72rem;
}

.profile-type {
  padding: 6px 9px;
  border-radius: 20px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, white);
  font-size: .68rem;
  font-weight: 800;
}

.identity-block {
  padding: 42px 30px 20px;
  text-align: center;
}

.profile-avatar {
  display: grid;
  width: 116px;
  height: 116px;
  margin: 0 auto 22px;
  place-items: center;
  border: 6px solid #fff;
  border-radius: 36px;
  color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 78%, white), var(--accent));
  box-shadow: 0 18px 36px color-mix(in srgb, var(--accent) 28%, transparent);
  font-size: 1.8rem;
  font-weight: 860;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  object-fit: cover;
}

.profile-avatar.profile-logo {
  border-radius: 30px;
  background: #fff;
}

.profile-avatar.profile-logo img {
  padding: 10px;
  border-radius: 24px;
  object-fit: contain;
}

.identity-block h1 {
  margin: 0;
  font-size: clamp(1.85rem, 6vw, 2.45rem);
  font-weight: 850;
  letter-spacing: -.05em;
}

.profile-role {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: .92rem;
}

.profile-bio {
  max-width: 430px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: .89rem;
  line-height: 1.65;
}

.profile-header-address {
  display: inline-flex;
  max-width: 450px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 13px auto 0;
  padding: 7px 11px;
  border-radius: 10px;
  color: var(--ink-soft);
  background: color-mix(in srgb, var(--accent) 7%, white);
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.profile-header-address > span {
  color: var(--accent);
}

.profile-header-address:hover {
  color: var(--accent);
}

.primary-contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 11px 25px 25px;
}

.primary-contact-actions a {
  display: grid;
  min-width: 76px;
  gap: 6px;
  place-items: center;
  color: var(--accent);
  text-decoration: none;
}

.primary-contact-actions a > span {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border-radius: 15px;
  background: color-mix(in srgb, var(--accent) 10%, white);
  font-weight: 900;
}

.primary-contact-actions small {
  color: var(--muted);
  font-size: .67rem;
  font-weight: 700;
}

.save-contact-button {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 26px 28px;
  border-radius: 14px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--accent) 24%, transparent);
  font-size: .94rem;
  font-weight: 820;
  text-decoration: none;
}

.save-contact-button:hover {
  color: #fff;
  filter: brightness(.96);
}

.profile-block-section {
  display: grid;
  gap: 12px;
  padding: 0 26px 25px;
}

.profile-block-card {
  overflow: hidden;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, #dfe3ed);
  border-radius: 16px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 7%, white), #fff);
  box-shadow: 0 9px 24px color-mix(in srgb, var(--accent) 8%, transparent);
}

.profile-block-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.profile-block-card h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 830;
  letter-spacing: -.015em;
}

.profile-block-card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: .82rem;
  line-height: 1.55;
}

.event-block-heading {
  display: grid;
  align-items: start;
  grid-template-columns: auto 1fr;
  gap: 13px;
}

.event-date-badge {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: var(--accent);
  line-height: 1;
}

.event-date-badge strong {
  font-size: 1.1rem;
}

.event-date-badge span {
  font-size: .6rem;
  font-weight: 850;
  letter-spacing: .06em;
}

.event-meta {
  display: grid;
  gap: 4px;
  margin-top: 9px;
  color: var(--muted);
  font-size: .72rem;
}

.profile-block-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.profile-block-actions a {
  display: inline-flex;
  min-height: 37px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 27%, #dfe3ed);
  border-radius: 10px;
  color: var(--accent);
  background: #fff;
  font-size: .7rem;
  font-weight: 790;
  text-decoration: none;
}

.opening-block-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.opening-status {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 9px;
  color: #8a3c28;
  background: #fff0eb;
  font-size: .64rem;
  font-weight: 820;
}

.opening-status.is-open {
  color: #0b7049;
  background: #dff8ed;
}

.opening-hours-list {
  display: grid;
  gap: 0;
  margin-top: 13px;
}

.opening-hours-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 2px;
  border-top: 1px solid color-mix(in srgb, var(--accent) 11%, var(--line));
  font-size: .73rem;
}

.opening-hours-list span {
  color: var(--muted);
}

.opening-hours-list strong {
  text-align: right;
}

.profile-link-section {
  padding: 0 26px 25px;
}

.profile-link-section h2 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.profile-link-list {
  display: grid;
  gap: 10px;
}

.profile-link-button {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 17px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, #dfe3ed);
  border-radius: 15px;
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 7%, white);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 8%, transparent);
  font-size: .9rem;
  font-weight: 790;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.profile-link-button i {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--accent);
  font-size: .83rem;
  font-style: normal;
}

.profile-link-button:hover {
  border-color: color-mix(in srgb, var(--accent) 42%, #dfe3ed);
  color: var(--ink);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 14%, transparent);
  transform: translateY(-1px);
}

.profile-details {
  padding: 0 26px 16px;
}

.detail-group {
  margin-bottom: 23px;
}

.detail-group h2 {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.detail-row {
  display: grid;
  min-height: 72px;
  align-items: center;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  text-decoration: none;
}

.detail-row + .detail-row {
  border-top: 0;
}

.detail-row:first-of-type {
  border-radius: 13px 13px 0 0;
}

.detail-row:last-child {
  border-radius: 0 0 13px 13px;
}

.detail-row:only-of-type {
  border-radius: 13px;
}

.detail-row:hover {
  color: var(--ink);
  background: #fafbfe;
}

.detail-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 9%, white);
  font-size: .85rem;
}

.detail-row small,
.detail-row strong {
  display: block;
}

.detail-row small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: .66rem;
  font-weight: 650;
}

.detail-row strong {
  overflow: hidden;
  max-width: 390px;
  font-size: .86rem;
  font-weight: 720;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.detail-row i {
  color: #a8aeba;
  font-size: 1.3rem;
  font-style: normal;
}

.profile-footer {
  display: grid;
  gap: 3px;
  padding: 22px 25px 25px;
  border-top: 1px solid var(--line);
  color: #9aa0ad;
  text-align: center;
  font-size: .65rem;
}

.profile-footer strong {
  color: var(--ink-soft);
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  font-size: .75rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

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

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1,
  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .hero-visual {
    min-height: 580px;
  }

  .tap-card {
    right: max(0px, calc(50% - 250px));
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header .brand > span:last-child {
    display: none;
  }

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

  .hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .steps-grid,
  .contact-grid,
  .share-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .plan-overview,
  .plan-overview > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .share-grid {
    max-width: 520px;
    margin-inline: auto;
  }

  .qr-card {
    min-height: auto;
  }

  .page-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-heading-row .btn {
    width: 100%;
  }

  .warning-card {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 23px 19px;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    min-height: 66px;
  }

  .nav-actions {
    gap: 7px;
  }

  .nav-actions .btn {
    min-height: 38px;
    padding: 8px 12px;
    font-size: .78rem;
  }

  .auth-section,
  .dashboard-section,
  .editor-section,
  .share-section {
    padding-top: 42px;
  }

  .auth-card {
    padding: 29px 22px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-row {
    gap: 10px 17px;
  }

  .hero-visual {
    min-height: 520px;
    transform: scale(.88);
    transform-origin: top center;
  }

  .tap-card {
    right: -15px;
  }

  .form-grid {
    display: block;
  }

  .image-editor-grid {
    justify-items: center;
    grid-template-columns: 1fr;
  }

  .image-editor-controls {
    width: 100%;
  }

  .company-display-option-grid {
    grid-template-columns: 1fr;
  }

  .slug-input {
    grid-template-columns: 1fr;
  }

  .slug-input > span {
    min-height: 34px;
    border-right: 1px solid #dfe3ec;
    border-bottom: 0;
    border-radius: 11px 11px 0 0;
  }

  .slug-input input {
    border-radius: 0 0 11px 11px !important;
  }

  .repeat-row {
    grid-template-columns: 1fr 42px;
  }

  .repeat-row input:first-child {
    grid-column: 1 / 2;
  }

  .repeat-row input:nth-child(2) {
    grid-column: 1 / 2;
  }

  .repeat-row .remove-row {
    height: 44px;
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .repeat-row > span {
    grid-column: 1;
  }

  .form-submit-bar {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .copy-control {
    grid-template-columns: 1fr;
  }

  .danger-zone {
    align-items: stretch;
    flex-direction: column;
  }

  .danger-zone .btn {
    width: 100%;
  }

  .profile-page {
    padding: 0;
  }

  .public-profile-card {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .identity-block {
    padding-top: 36px;
  }

  .profile-details {
    padding-inline: 18px;
  }

  .profile-link-section {
    padding-inline: 18px;
  }

  .profile-block-section {
    padding-inline: 18px;
  }

  .block-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .block-toolbar > span {
    text-align: left;
  }

  .opening-day-row {
    grid-template-columns: 1fr 1fr;
  }

  .opening-time-range {
    grid-column: 1 / -1;
  }

  .detail-row strong {
    max-width: 245px;
  }

  .footer-inner {
    align-items: center;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}
