:root {
  color-scheme: light;
  --ink: #07151e;
  --ink-soft: #314650;
  --muted: #687b84;
  --line: rgba(7, 83, 105, 0.12);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --canvas: #eef9fb;
  --cyan: #0aabc9;
  --cyan-bright: #4ae3eb;
  --cyan-deep: #055e8f;
  --cyan-faint: rgba(10, 171, 201, 0.10);
  --success: #16a597;
  --shadow: 0 24px 70px rgba(3, 61, 78, 0.10);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  min-width: 280px;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(74, 227, 235, 0.13), transparent 26rem),
    linear-gradient(180deg, #f7fcfd 0%, var(--canvas) 46%, #f9fcfc 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

::selection {
  color: #fff;
  background: var(--cyan-deep);
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--ink);
  border-radius: 12px;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(4px);
  pointer-events: none;
}

.ambient-one {
  width: 520px;
  height: 520px;
  inset: 8vh -280px auto auto;
  background: rgba(74, 227, 235, 0.08);
}

.ambient-two {
  width: 430px;
  height: 430px;
  inset: auto auto 4vh -260px;
  background: rgba(5, 94, 143, 0.06);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  padding-top: max(12px, env(safe-area-inset-top));
  border-bottom: 1px solid rgba(7, 83, 105, 0.08);
  background: rgba(247, 252, 253, 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}

.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(4, 125, 149, 0.22);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
}

.nav-link {
  padding: 8px 17px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-link:hover {
  color: var(--cyan-deep);
}

.nav-link.is-active {
  color: white;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  box-shadow: 0 8px 20px rgba(4, 136, 165, 0.22);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 7px;
}

.control-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.70);
  cursor: pointer;
  font-weight: 750;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.control-button:hover {
  border-color: rgba(10, 171, 201, 0.38);
  background: white;
  transform: translateY(-1px);
}

.language-icon,
.theme-icon {
  color: var(--cyan-deep);
  font-size: 0.95rem;
}

.theme-icon {
  width: 1em;
  font-size: 1.05rem;
  line-height: 1;
}

.page {
  min-height: calc(100vh - 160px);
  padding-block: 70px 88px;
}

.page[hidden] {
  display: none;
}

.page.is-visible {
  animation: page-in 360ms ease both;
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  max-width: 830px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow,
.mini-label {
  color: var(--cyan-deep);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid rgba(10, 171, 201, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.60);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 0 5px rgba(74, 227, 235, 0.14);
}

.hero h1 {
  max-width: 720px;
  margin: 20px auto 16px;
  font-size: clamp(2.75rem, 7vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  background: linear-gradient(135deg, var(--ink) 16%, #0a7292 70%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

[dir="rtl"] .hero h1 {
  letter-spacing: -0.035em;
}

.hero-copy {
  max-width: 700px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.privacy-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.privacy-badges > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.60);
  font-size: 0.84rem;
}

.privacy-badges i {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: white;
  border-radius: 50%;
  background: var(--success);
  font-size: 0.68rem;
  font-style: normal;
}

.trust-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  margin-bottom: 54px;
  padding: clamp(24px, 5vw, 38px);
  color: white;
  border: 1px solid rgba(95, 245, 248, 0.16);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 82% 10%, rgba(50, 231, 235, 0.16), transparent 18rem),
    linear-gradient(135deg, #0a1b22, #061015 58%, #082a34);
  box-shadow: 0 26px 70px rgba(0, 38, 50, 0.20);
}

.trust-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  inset-inline-end: -100px;
  inset-block-end: -180px;
  border: 42px solid rgba(74, 227, 235, 0.06);
  border-radius: 50%;
}

.shield {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 70px;
  height: 78px;
  clip-path: polygon(50% 0, 94% 17%, 86% 72%, 50% 100%, 14% 72%, 6% 17%);
  color: #032b31;
  background: linear-gradient(145deg, #6effff, #09b6cb);
  font-size: 1.55rem;
  font-weight: 900;
  box-shadow: 0 0 40px rgba(74, 227, 235, 0.28);
}

.trust-card h2,
.support-card h2,
.contact-panel h2 {
  margin: 0 0 7px;
  font-size: 1.25rem;
  line-height: 1.35;
}

.trust-card p,
.support-card p,
.contact-panel p {
  margin: 0;
}

.trust-card p {
  position: relative;
  z-index: 1;
  max-width: 790px;
  color: rgba(255, 255, 255, 0.72);
}

.content-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.side-index {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.54);
}

.side-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
}

.side-index a {
  padding: 7px 10px;
  color: var(--muted);
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 650;
  transition: color 150ms ease, background 150ms ease;
}

.side-index a:hover {
  color: var(--cyan-deep);
  background: var(--cyan-faint);
}

.policy-content {
  min-width: 0;
}

.policy-section {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 20px;
  padding: 0 0 38px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line);
}

.policy-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.section-number {
  padding-top: 2px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.policy-section h2,
.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.policy-section p,
.section-heading p {
  margin: 0;
  color: var(--ink-soft);
}

.note {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 11px;
  margin-top: 18px;
  padding: 15px 17px;
  border: 1px solid rgba(10, 171, 201, 0.13);
  border-radius: var(--radius-md);
  background: var(--cyan-faint);
}

.note-icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-top: 2px;
  color: white;
  border-radius: 50%;
  background: var(--cyan-deep);
  font: 800 0.78rem Georgia, serif;
}

.note p {
  font-size: 0.9rem;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  color: var(--ink-soft);
}

.check-list li > span:first-child {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  color: var(--success);
  border-radius: 50%;
  background: rgba(22, 165, 151, 0.11);
  font-size: 0.72rem;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--cyan-deep);
  font-weight: 800;
}

[dir="ltr"] .text-link > span:last-child,
[dir="ltr"] .primary-button > span:last-child {
  transform: rotate(180deg);
}

.support-hero {
  margin-bottom: 48px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 64px;
}

.support-card {
  min-height: 235px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 16px 44px rgba(3, 74, 93, 0.055);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 35px;
  color: white;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--cyan-bright), var(--cyan-deep));
  box-shadow: 0 10px 22px rgba(4, 136, 165, 0.18);
  font-size: 1.25rem;
  font-weight: 800;
}

.support-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.help-steps,
.faq-section {
  margin-bottom: 64px;
}

.section-heading {
  margin-bottom: 25px;
}

.section-heading h2 {
  margin-top: 5px;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  list-style: none;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 140px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.82);
}

.steps-list li > span {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: white;
  border-radius: 10px;
  background: var(--ink);
  font-size: 0.8rem;
  font-weight: 850;
}

.steps-list p {
  margin: 1px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.faq-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.65);
}

.faq-list details + details {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 23px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary i {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: var(--cyan-deep);
  border-radius: 9px;
  background: var(--cyan-faint);
  font-size: 1.1rem;
  font-style: normal;
  transition: transform 180ms ease;
}

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

.faq-list details p {
  max-width: 850px;
  margin: -6px 23px 0;
  padding: 0 0 22px;
  color: var(--muted);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(25px, 5vw, 38px);
  color: white;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 88% 12%, rgba(74, 227, 235, 0.18), transparent 14rem),
    linear-gradient(135deg, #07151e, #073646);
  box-shadow: 0 25px 65px rgba(2, 42, 55, 0.20);
}

.contact-panel .mini-label {
  color: var(--cyan-bright);
}

.contact-panel h2 {
  margin-top: 6px;
}

.contact-panel p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.68);
}

.primary-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 17px;
  color: #03323c;
  border-radius: 14px;
  background: linear-gradient(135deg, #6effff, var(--cyan-bright));
  font-size: 0.88rem;
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(39, 221, 229, 0.18);
}

.site-footer {
  padding-block: 28px max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand > span {
  font-weight: 850;
}

.footer-brand small,
.site-footer p {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0;
}

.footer-separator {
  color: var(--cyan);
}

:focus-visible {
  outline: 3px solid rgba(10, 171, 201, 0.42);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-bottom: 10px;
  }

  .nav-link {
    flex: 1;
    text-align: center;
  }

  .page {
    padding-top: 52px;
  }

  .content-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .side-index {
    position: static;
    display: none;
  }

  .support-grid,
  .steps-list {
    grid-template-columns: 1fr;
  }

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

  .card-icon {
    margin-bottom: 24px;
  }

  .steps-list li {
    min-height: auto;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-inner {
    gap: 10px;
    min-height: 66px;
  }

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

  .brand > span {
    display: none;
  }

  .control-button {
    padding-inline: 11px;
  }

  .main-nav {
    gap: 3px;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .page {
    padding-block: 42px 60px;
  }

  .hero {
    margin-bottom: 38px;
  }

  .hero h1 {
    margin-top: 16px;
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .hero-copy {
    font-size: 0.96rem;
  }

  .privacy-badges {
    gap: 7px;
  }

  .privacy-badges > span {
    padding-inline: 10px;
    font-size: 0.76rem;
  }

  .trust-card {
    grid-template-columns: 1fr;
    gap: 17px;
    border-radius: 25px;
  }

  .shield {
    width: 55px;
    height: 61px;
  }

  .policy-section {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .section-number {
    padding: 0;
  }

  .support-card,
  .steps-list li,
  .faq-list summary {
    padding-inline: 19px;
  }

  .faq-list details p {
    margin-inline: 19px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #edfafd;
  --ink-soft: #c2d5da;
  --muted: #8da5ad;
  --line: rgba(113, 223, 235, 0.12);
  --surface: rgba(11, 29, 36, 0.82);
  --surface-solid: #0b1d24;
  --canvas: #061116;
  --cyan-faint: rgba(44, 219, 228, 0.10);
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at 12% 8%, rgba(28, 191, 206, 0.10), transparent 25rem),
    linear-gradient(180deg, #071318 0%, var(--canvas) 55%, #08151a 100%);
}

:root[data-theme="dark"] .site-header {
  background: rgba(6, 17, 22, 0.80);
}

:root[data-theme="dark"] .main-nav,
:root[data-theme="dark"] .control-button,
:root[data-theme="dark"] .eyebrow,
:root[data-theme="dark"] .privacy-badges > span,
:root[data-theme="dark"] .side-index,
:root[data-theme="dark"] .faq-list {
  background: rgba(12, 31, 38, 0.72);
}

:root[data-theme="dark"] .control-button:hover {
  background: rgba(19, 49, 58, 0.95);
}

:root[data-theme="dark"] .hero h1 {
  background: linear-gradient(135deg, #f4fdff 15%, #82eaf1 68%, var(--cyan-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

:root[data-theme="dark"] .steps-list li {
  background: rgba(11, 29, 36, 0.92);
}

:root[data-theme="dark"] .steps-list li > span {
  color: #032b31;
  background: var(--cyan-bright);
}

:root[data-theme="dark"] .site-footer {
  background: rgba(5, 15, 19, 0.60);
}

/* Feedback composer */
.feedback-fab {
  position: fixed;
  z-index: 70;
  left: max(22px, env(safe-area-inset-left));
  bottom: max(22px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 18px 10px 14px;
  color: white;
  border: 1px solid rgba(111, 250, 255, 0.28);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--cyan-bright), var(--cyan) 46%, var(--cyan-deep));
  box-shadow: 0 16px 38px rgba(2, 97, 125, 0.28), 0 3px 10px rgba(0, 39, 52, 0.14);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feedback-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(2, 97, 125, 0.34), 0 4px 12px rgba(0, 39, 52, 0.16);
}

.feedback-fab svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feedback-layer[hidden] {
  display: none;
}

.feedback-layer {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 24px;
}

.feedback-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(1, 12, 17, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: default;
  opacity: 0;
  transition: opacity 220ms ease;
}

.feedback-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  max-height: min(860px, calc(100dvh - 48px));
  overflow: auto;
  padding: 28px;
  color: var(--ink);
  border: 1px solid rgba(80, 211, 224, 0.18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 8% 4%, rgba(74, 227, 235, 0.10), transparent 14rem),
    var(--surface-solid);
  box-shadow: 0 34px 90px rgba(0, 25, 34, 0.34);
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: transform 260ms cubic-bezier(.2, .8, .2, 1), opacity 200ms ease;
}

.feedback-layer.is-open .feedback-backdrop,
.feedback-layer.is-open .feedback-dialog {
  opacity: 1;
}

.feedback-layer.is-open .feedback-dialog {
  transform: translateY(0) scale(1);
}

.dialog-open {
  overflow: hidden;
}

body.dialog-open > .site-header,
body.dialog-open > main,
body.dialog-open > .site-footer,
body.dialog-open > .feedback-fab {
  pointer-events: none;
  user-select: none;
}

.sheet-handle {
  display: none;
}

.dialog-close {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cyan-faint);
  cursor: pointer;
}

.dialog-close svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.feedback-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding-inline-end: 46px;
  margin-bottom: 26px;
}

.feedback-heading-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: white;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--cyan-bright), var(--cyan-deep));
  box-shadow: 0 12px 26px rgba(4, 136, 165, 0.20);
}

.feedback-heading-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feedback-heading h2 {
  margin: 0 0 3px;
  font-size: 1.55rem;
  line-height: 1.3;
}

.feedback-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.feedback-types {
  min-width: 0;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.feedback-types legend,
.feedback-message-label {
  display: block;
  margin-bottom: 11px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 820;
}

.feedback-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.feedback-type {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 128px;
  padding: 16px 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: var(--cyan-faint);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.feedback-type:hover {
  transform: translateY(-2px);
}

.feedback-type:has(input:focus-visible) {
  outline: 3px solid rgba(10, 171, 201, 0.55);
  outline-offset: 3px;
}

.feedback-type input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.feedback-type input:focus-visible {
  outline: 0;
}

.feedback-type svg {
  width: 30px;
  height: 30px;
  margin-bottom: 7px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feedback-type b {
  font-size: 0.91rem;
}

.feedback-type small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.7rem;
  white-space: nowrap;
}

.type-check {
  position: absolute;
  top: 9px;
  inset-inline-end: 9px;
  display: none;
  place-items: center;
  width: 20px;
  height: 20px;
  color: white;
  border-radius: 50%;
  background: var(--cyan);
  font-size: 0.7rem;
}

.idea-type { color: #a6750c; background: rgba(225, 171, 39, 0.09); }
.general-type { color: var(--cyan-deep); background: var(--cyan-faint); }
.idea-type .type-check { background: #dfa82e; }
.general-type .type-check { background: var(--cyan); }
.idea-type:has(input:checked) { border-color: #dfa82e; box-shadow: 0 0 0 3px rgba(223, 168, 46, 0.10); }
.general-type:has(input:checked) { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(10, 171, 201, 0.10); }
.feedback-type:has(input:checked) .type-check { display: grid; }

.feedback-message-box {
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: var(--cyan-faint);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.feedback-message-box:focus-within {
  border-color: rgba(10, 171, 201, 0.58);
  box-shadow: 0 0 0 4px rgba(10, 171, 201, 0.09);
}

.feedback-message-box textarea {
  display: block;
  width: 100%;
  min-height: 145px;
  padding: 16px 17px 8px;
  color: var(--ink);
  border: 0;
  outline: 0;
  resize: vertical;
  background: transparent;
  font: inherit;
  font-size: 0.91rem;
  line-height: 1.65;
}

.feedback-message-box textarea::placeholder {
  color: var(--muted);
  opacity: 0.75;
}

.message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 4px 14px 8px;
  color: var(--muted);
  font-size: 0.72rem;
}

#feedback-error {
  color: #c94851;
}

.message-meta b {
  color: var(--ink-soft);
  font-weight: 750;
}

.feedback-privacy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  margin: 14px 2px 18px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.55;
}

.feedback-privacy svg {
  width: 19px;
  height: 19px;
  margin-top: 1px;
  fill: none;
  stroke: var(--success);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feedback-turnstile {
  width: 100%;
  margin: 0 0 16px;
  overflow: hidden;
  text-align: center;
}

.feedback-turnstile[hidden],
.feedback-status[hidden] {
  display: none;
}

.feedback-status {
  margin: 0 0 14px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--cyan-faint);
  color: var(--ink-soft);
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.5;
}

.feedback-status.is-success {
  color: #08796e;
  border-color: rgba(22, 165, 151, 0.25);
  background: rgba(22, 165, 151, 0.10);
}

.feedback-status.is-error {
  color: #b52e3a;
  border-color: rgba(201, 72, 81, 0.24);
  background: rgba(201, 72, 81, 0.09);
}

.feedback-status.is-loading {
  color: var(--cyan-deep);
  border-color: rgba(10, 171, 201, 0.22);
}

.feedback-submit,
.feedback-cancel {
  width: 100%;
  cursor: pointer;
  font-weight: 850;
}

.feedback-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  color: white;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan), var(--cyan-deep));
  box-shadow: 0 13px 28px rgba(4, 136, 165, 0.20);
  transition: opacity 160ms ease, transform 160ms ease, filter 160ms ease;
}

.feedback-submit:not(:disabled):hover {
  transform: translateY(-1px);
  filter: saturate(1.1);
}

.feedback-submit:disabled {
  color: var(--muted);
  background: rgba(110, 130, 138, 0.15);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.72;
}

.feedback-submit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feedback-spinner {
  display: none;
  width: 19px;
  height: 19px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: feedback-spin 720ms linear infinite;
}

#feedback-form.is-submitting .feedback-spinner {
  display: block;
}

#feedback-form.is-submitting .feedback-submit svg {
  display: none;
}

#feedback-form.is-submitting .feedback-type,
#feedback-form.is-submitting .feedback-message-box,
#feedback-form.is-submitting .feedback-cancel {
  pointer-events: none;
  opacity: 0.72;
}

@keyframes feedback-spin {
  to { transform: rotate(360deg); }
}

[dir="ltr"] .feedback-submit svg {
  transform: scaleX(-1);
}

.feedback-cancel {
  min-height: 42px;
  margin-top: 6px;
  color: var(--muted);
  border: 0;
  background: transparent;
}

:root[data-theme="dark"] .feedback-dialog {
  background:
    radial-gradient(circle at 8% 4%, rgba(44, 219, 228, 0.08), transparent 14rem),
    #0a1a20;
}

:root[data-theme="dark"] .feedback-type,
:root[data-theme="dark"] .feedback-message-box {
  border-color: rgba(113, 223, 235, 0.14);
}

:root[data-theme="dark"] .feedback-status.is-success {
  color: #69e0d1;
}

:root[data-theme="dark"] .feedback-status.is-error {
  color: #ff9da5;
}

@media (max-width: 620px) {
  .feedback-fab {
    width: 54px;
    height: 54px;
    min-height: 54px;
    padding: 0;
    justify-content: center;
    border-radius: 17px;
  }

  .feedback-fab span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .feedback-layer {
    padding: 0;
  }

  .feedback-dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
    padding: 24px 18px max(18px, env(safe-area-inset-bottom));
    border-radius: 28px 28px 0 0;
    transform: translateY(100%);
  }

  .feedback-layer.is-open .feedback-dialog {
    transform: translateY(0);
  }

  .sheet-handle {
    display: block;
    width: 42px;
    height: 5px;
    margin: -10px auto 18px;
    border-radius: 999px;
    background: var(--line);
  }

  .dialog-close {
    top: 18px;
  }

  .feedback-heading {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .feedback-heading-icon {
    width: 44px;
    height: 44px;
  }

  .feedback-heading h2 {
    font-size: 1.35rem;
  }

  .feedback-type-grid {
    gap: 7px;
  }

  .feedback-type {
    min-height: 112px;
    padding-inline: 6px;
  }

  .feedback-type small {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    color: #111;
    background: #fff;
  }

  .site-header,
  .ambient,
  .side-index,
  .site-footer,
  .privacy-badges,
  .text-link {
    display: none !important;
  }

  .page {
    padding: 0;
  }

  .hero {
    margin-bottom: 30px;
  }

  .hero h1 {
    color: #111;
    background: none;
  }

  .trust-card {
    color: #111;
    border: 1px solid #bbb;
    background: #fff;
    box-shadow: none;
  }

  .trust-card p,
  .policy-section p {
    color: #333;
  }

  .content-layout {
    display: block;
  }
}
