/* H7 Advisory: discreet surfaces, clear labels and consistent focus states. */
:root {
  --shadow-elegant: 0 8px 24px -16px rgb(0 0 0 / 45%);
  --shadow-hero: 0 12px 32px -20px rgb(0 0 0 / 45%);
  --shadow-card: 0 6px 20px -16px rgb(0 0 0 / 45%);
}
.text-glow-soft { text-shadow: none; }
.h7-button {
  border-radius: 8px;
  box-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.h7-button:hover { transform: none; box-shadow: none; }
.h7-button[data-variant="hero"] { background: hsl(var(--accent)); }
.h7-button[data-variant="outline"]:hover {
  background: #242830;
  border-color: #5d6571;
  color: hsl(var(--foreground));
}
.h7-button:focus-visible,
.h7-language-option:focus-visible,
.h7-back-to-top:focus-visible {
  outline: 2px solid hsl(var(--accent));
  outline-offset: 3px;
  box-shadow: none;
}
.h7-language-switch {
  padding: 3px;
  gap: 2px;
  border-radius: 8px;
  background: #171a20;
  backdrop-filter: none;
}
.h7-language-option {
  display: grid;
  place-items: center;
  min-width: 36px;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 5px;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.h7-language-option:hover { background: #292e36; }
.h7-language-option[aria-pressed="true"] {
  background: hsl(var(--accent) / 10%);
  border-color: hsl(var(--accent) / 42%);
}
.h7-hero-eyebrow {
  padding: 8px 12px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 6px;
  background: rgb(16 18 22 / 72%);
  box-shadow: none;
}
.h7-hero-eyebrow span {
  color: #e0e4e9;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
}
.h7-hero-eyebrow svg { color: hsl(var(--accent)); }
.h7-feature-card { background: hsl(var(--card)); border-color: #333942; }
.h7-feature-icon {
  width: 48px;
  height: 48px;
  border: 1px solid hsl(var(--accent) / 20%);
  border-radius: 8px;
  background: hsl(var(--accent) / 7%);
}
.h7-feature-icon svg { width: 24px; height: 24px; color: hsl(var(--accent)); }
.h7-feature-card h3 > span { width: 3px; height: 18px; border-radius: 0; background: #59634b; }
.h7-feature-card > p:first-of-type { color: #d0d5dc; }
.h7-feature-badge { min-height: 20px; padding-left: 10px; border-left: 2px solid hsl(var(--accent) / 45%); }
.h7-feature-badge span { color: #b9c3a2; font-size: 12px; font-weight: 500; }
.h7-step-number {
  justify-content: flex-start;
  color: #b9c3a2;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.h7-plan-card { border-color: #353b44; box-shadow: none; transform: none; }
.h7-plan-featured { border-color: hsl(var(--accent) / 45%); }
.h7-plan-badge-position { position: absolute; top: -13px; left: 24px; }
.h7-plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 10px;
  border: 1px solid hsl(var(--accent) / 34%);
  border-radius: 4px;
  background: hsl(var(--card));
  color: #c1d28e;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}
.h7-plan-heading { flex-wrap: wrap; row-gap: 4px; }
.h7-plan-price { font-variant-numeric: tabular-nums; }
.h7-plan-price sup { color: #b7bec8; font-weight: 400; }
.h7-plan-description { line-height: 1.6; font-weight: 400; }
.h7-standalone-card { min-width: 0; }
.h7-standalone-card .h7-button {
  min-height: 56px;
  height: auto;
  padding: 14px 20px;
  font-size: 16px;
  line-height: 24px;
  white-space: normal;
  text-align: center;
}
.h7-form { background: #171a20; border-color: #383f49; box-shadow: none; }
.h7-form label {
  display: block;
  margin-bottom: 8px;
  color: #e0e4e9;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}
.h7-form input,
.h7-form button[role="combobox"] {
  min-width: 0;
  height: 48px;
  border: 1px solid #636b77;
  border-radius: 7px;
  background: #101318;
  color: #f1f3f6;
  padding: 0 14px;
  font-size: 16px;
  line-height: 24px;
  box-shadow: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.h7-form input::placeholder,
.h7-form button[role="combobox"][data-placeholder] { color: #9ba4b2; }
.h7-form input:hover,
.h7-form button[role="combobox"]:hover { border-color: #8993a1; }
.h7-form input:focus-visible,
.h7-form button[role="combobox"]:focus-visible,
.h7-form button[role="combobox"][data-state="open"] {
  border-color: hsl(var(--accent));
  outline: 2px solid hsl(var(--accent) / 60%);
  outline-offset: 2px;
  box-shadow: none;
}
.h7-form input[aria-invalid="true"],
.h7-form button[role="combobox"][aria-invalid="true"] { border-color: #e0a29b; }
.h7-field-error { margin-top: 8px; color: #eab5af; font-size: 13px; line-height: 20px; }
.h7-phone-fields { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; }
.h7-form .h7-country-field { width: 100%; font-size: 14px; }
.h7-form button[type="submit"] { min-height: 48px; }
.h7-form input:-webkit-autofill {
  -webkit-text-fill-color: #f1f3f6;
  -webkit-box-shadow: 0 0 0 1000px #101318 inset;
  caret-color: #f1f3f6;
}
.h7-select-menu {
  max-width: calc(100vw - 32px);
  border-color: #636b77;
  border-radius: 8px;
  background: #191d24;
  box-shadow: 0 12px 32px rgb(0 0 0 / 35%);
}
.h7-select-menu [role="option"] {
  min-height: 42px;
  padding: 10px 14px 10px 34px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
  white-space: normal;
}
.h7-select-menu [role="option"][data-highlighted],
.h7-select-menu [role="option"]:focus { background: hsl(var(--accent) / 12%); color: #f1f3f6; }
.h7-select-menu [role="option"][data-state="checked"] svg { color: hsl(var(--accent)); }
.h7-back-to-top {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #515966;
  border-radius: 8px;
  background: #1a1e25;
  color: #d9e0ce;
  box-shadow: 0 4px 12px rgb(0 0 0 / 20%);
}
.h7-back-to-top:hover { background: #292e37; }
@media (max-width: 600px) {
  .h7-standalone-card { padding: 28px; }
  .h7-form { padding: 20px; gap: 22px; }
  .h7-phone-fields { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .h7-select-menu [role="option"] { font-size: 16px; line-height: 24px; }
  .h7-back-to-top { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
