/* ============================================================
   Anchor — /pricing page styles
   ============================================================
   Design tokens (colors, fonts) mirrored from client/index.css.
   ============================================================ */

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

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("/_site/fonts/dm-sans-variable.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 100 1000;
  font-display: swap;
  src: url("/_site/fonts/dm-sans-italic-variable.woff2") format("woff2");
}

:root {
  --font-body: system-ui, -apple-system, sans-serif;
  --font-display: "DM Sans", sans-serif;

  --color-bg: #eae6ec;
  --color-text: #1a1523;
  --color-text-light: #1a152394;
  --color-surface: #ffffff;
  --color-border: #dedae1;
}

body {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* --- Header ---
   Matches the main app's PlatformHeader: 48px height, logo + sign-in.
*/
.site-header {
  height: 48px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.nav-inner {
  height: 100%;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-icon {
  height: 17px;
  width: auto;
  margin-left: 4px;
}

.logo-wordmark {
  height: 18px;
  width: auto;
  margin-left: 8px;
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-text-light);
  text-decoration: none;
}

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

.nav-link[aria-current="page"] {
  color: var(--color-text);
  font-weight: 500;
}

/* --- Supported Agents dropdown ---
   Pure CSS: reveals on :hover and :focus-within for keyboard users. */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-chevron {
  color: currentColor;
  opacity: 0.7;
  transition: transform 0.15s ease;
}

.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown:focus-within .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  padding: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow:
    0 1px 3px rgba(26, 21, 35, 0.06),
    0 12px 28px -8px rgba(26, 21, 35, 0.18);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0s 0.15s;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0s 0s;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 4px;
}

.nav-dropdown-menu a:hover {
  background: #14011e0a;
}

.nav-dropdown-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 3px;
}

.nav-dropdown-all svg {
  margin-left: auto;
}

.nav-dropdown-divider {
  height: 1px;
  margin: 4px 8px;
  background: var(--color-border);
}

.nav-dropdown-all {
  color: var(--color-text-light) !important;
  font-weight: 500 !important;
}

.nav-dropdown-all:hover {
  color: var(--color-text) !important;
}

.btn-sign-in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  height: 28px;
  margin-left: 24px;
  background: rgba(26, 21, 35, 0.07);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-sign-in:hover {
  text-decoration: none;
  background: rgba(26, 21, 35, 0.12);
}

/* --- Pricing section --- */
.pricing {
  padding: 80px 24px 0;
  max-width: 1280px;
  margin: 0 auto;
}

.pricing-headline {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 12px;
}

.pricing-headline em {
  font-style: italic;
  text-decoration: line-through;
  text-decoration-color: #b0adb2;
  text-decoration-thickness: 3px;
}

.pricing-subheadline {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 64px;
}

/* --- Cards grid --- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--color-surface);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.card-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 24px;
  min-height: 40px;
}

.card-desc strong {
  color: var(--color-text);
  font-weight: 600;
}

/* --- Price --- */
.card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 15px;
  color: var(--color-text-light);
}

.price-sub {
  font-size: 12px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.price-sub-talk {
  font-size: 15px;
  color: var(--color-text);
  margin-top: 8px;
  margin-bottom: 24px;
}

/* --- CTA button --- */
.card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 28px;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.15s ease;
}

.card-btn:hover {
  box-shadow: 0 1px 4px -1px rgba(0, 0, 0, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.08);
}

/* --- Feature list --- */
.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-features li {
  font-size: 13px;
  line-height: 1.4;
  padding-left: 24px;
  position: relative;
}

.card-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231a1523' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* --- Top-off note --- */
.card-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* --- Hamburger menu (hidden on desktop) --- */
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 720px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* --- Mobile nav: hamburger menu --- */
  .nav-hamburger {
    display: flex;
  }

  .site-header {
    position: relative;
    z-index: 100;
  }

  .nav-actions {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 24px -8px rgba(26, 21, 35, 0.12);
    padding: 12px 16px;
    flex-direction: column;
    gap: 4px;
    z-index: 99;
  }

  .nav-actions.is-open {
    display: flex;
  }

  .nav-link {
    padding: 10px 12px;
    border-radius: 6px;
    display: block;
  }

  .nav-link:hover {
    background: rgba(26, 21, 35, 0.04);
  }

  .btn-sign-in {
    margin-left: 0;
    margin-top: 8px;
    justify-content: center;
    height: 40px;
  }

  .nav-dropdown-menu {
    display: none !important;
  }

  .nav-dropdown-chevron {
    display: none;
  }

  .nav-dropdown-trigger {
    padding: 10px 12px;
    border-radius: 6px;
    display: block;
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing-headline {
    font-size: 36px;
  }
}

/* ============================================================
   Confidence section (peace-of-mind row)
   ============================================================ */

.section-heading {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 40px;
}

.confidence {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px 0;
}

.confidence-box {
  background: var(--color-text);
  color: #ffffff;
  border-radius: 16px;
  padding: 64px 48px;
}

.confidence-box .section-heading {
  color: #ffffff;
}

.confidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.confidence-item {
  text-align: left;
}

.confidence-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: #ffffff;
}

.confidence-text {
  font-size: 14px;
  color: #eae6ecc0;
  line-height: 1.6;
}

/* ============================================================
   FAQ section
   ============================================================ */

.faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 24px 120px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  position: relative;
  transition: color 0.15s ease;
}

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

.faq-question::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231a1523' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-question:hover {
  color: #000;
}

.faq-question:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
  border-radius: 2px;
}

.faq-answer {
  padding: 0 40px 24px 0;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-light);
}

.faq-answer strong {
  color: var(--color-text);
  font-weight: 600;
}

.faq-answer a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-border);
  text-underline-offset: 3px;
}

.faq-answer a:hover {
  text-decoration-color: var(--color-text);
}

.faq-answer code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.04);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--color-text);
}

.faq-footer {
  margin-top: 48px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-light);
}

.faq-footer a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-border);
}

.faq-footer a:hover {
  text-decoration-color: var(--color-text);
}

/* ============================================================
   Security section
   ============================================================ */

.security {
  max-width: 1100px;
  margin: 0 auto;
  padding: 96px 24px 0;
}

.security-lede {
  text-align: center;
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 580px;
  margin: -24px auto 56px;
  line-height: 1.55;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
}

.security-item {
  text-align: left;
  padding-left: 24px;
  position: relative;
}

.security-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231a1523' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.security-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.security-text {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.security-footer {
  margin-top: 56px;
  padding: 18px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.security-footer strong {
  color: var(--color-text);
  font-weight: 600;
}

@media (max-width: 800px) {
  .confidence-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 480px;
  }

  .confidence-box {
    padding: 44px 28px;
  }

  .section-heading {
    font-size: 26px;
    margin-bottom: 32px;
  }

  .confidence,
  .security,
  .faq {
    padding-top: 72px;
  }

  .faq {
    padding-bottom: 96px;
  }

  .security-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 480px;
    margin: 0 auto;
  }

  .security-lede {
    font-size: 15px;
    margin-bottom: 40px;
  }
}

/* ============================================================
   Site footer
   ============================================================ */

.site-footer {
  background: var(--color-text);
  color: #eae6ec;
  padding: 64px 24px 32px;
  margin-top: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2fr;
  gap: 64px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 280px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-logo-icon {
  height: 18px;
  width: auto;
  filter: invert(1);
}

.footer-logo-wordmark {
  height: 19px;
  width: auto;
  filter: invert(1);
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 13px;
  color: #eae6ecb0;
  line-height: 1.5;
  margin-top: -2px;
}

.footer-address {
  font-family: var(--font-body);
  font-size: 13px;
  font-style: normal;
  color: #eae6eccc;
  line-height: 1.6;
  margin-top: 4px;
}

.footer-email {
  font-family: var(--font-body);
  font-size: 13px;
  color: #eae6ec;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #eae6ec44;
  align-self: flex-start;
}

.footer-email:hover {
  text-decoration-color: #eae6ec;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #eae6ec88;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-family: var(--font-body);
  font-size: 14px;
  color: #eae6ec;
  text-decoration: none;
}

.footer-col a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid #eae6ec18;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 12px;
  color: #eae6ec66;
}

@media (max-width: 840px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-cols {
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .site-footer {
    padding: 48px 20px 24px;
  }

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

/* --- Supported Agents dropdown ---
   Pure CSS: reveals on :hover and :focus-within for keyboard users.
   Duplicated from hello/style.css since each page is self-contained. */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-chevron {
  color: currentColor;
  opacity: 0.7;
  transition: transform 0.15s ease;
}

.nav-dropdown:hover .nav-dropdown-chevron,
.nav-dropdown:focus-within .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  padding: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow:
    0 1px 3px rgba(26, 21, 35, 0.06),
    0 12px 28px -8px rgba(26, 21, 35, 0.18);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0s 0.15s;
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0s 0s;
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  border-radius: 4px;
}

.nav-dropdown-menu a:hover {
  background: #14011e0a;
}

.nav-dropdown-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 3px;
}

.nav-dropdown-all svg {
  margin-left: auto;
}

.nav-dropdown-divider {
  height: 1px;
  margin: 4px 8px;
  background: var(--color-border);
}

.nav-dropdown-all {
  color: var(--color-text-light) !important;
  font-weight: 500 !important;
}

.nav-dropdown-all:hover {
  color: var(--color-text) !important;
}

/* Extra breathing room between the text nav links and the Sign-in button */
.btn-sign-in {
  margin-left: 12px;
}

/* ============================================================
   Waitlist modal
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 21, 35, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0s 0.2s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0s 0s;
}

.modal-card {
  position: relative;
  background: #e0dce4;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  margin: 16px;
  box-shadow: 0 24px 48px -12px rgba(26, 21, 35, 0.25);
  transform: translateY(8px);
  transition: transform 0.2s ease;
}

.modal-overlay.is-open .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--color-text-light);
  cursor: pointer;
  border-radius: 6px;
}

.modal-close:hover {
  color: var(--color-text);
  background: rgba(26, 21, 35, 0.06);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.55;
  margin-bottom: 24px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Each field styled as a prompt-message bubble */
.modal-field {
  background: var(--color-surface);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 12px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.15s ease;
}

.modal-field[hidden] {
  display: none;
}

.modal-field:focus-within {
  border-color: var(--color-border);
}

.modal-field.is-invalid {
  border-color: #d1242f;
}

.modal-field label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.modal-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.modal-field input,
.modal-field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text);
  outline: none;
  width: 100%;
}

.modal-field textarea {
  resize: vertical;
  min-height: 56px;
  line-height: 1.5;
}

.modal-field-error {
  font-size: 12px;
  color: #d1242f;
  line-height: 1.3;
  margin-top: 2px;
}

.modal-submit {
  height: 44px;
  padding: 0 24px;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  background: var(--color-text);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.modal-submit:hover {
  opacity: 0.85;
}

.modal-body[data-view="success"] {
  text-align: center;
  padding: 24px 0 8px;
}

.modal-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--color-surface);
  border-radius: 50%;
}

.modal-done {
  height: 44px;
  padding: 0 24px;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-surface);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}

.modal-done:hover {
  box-shadow: 0 1px 4px -1px rgba(0, 0, 0, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.08);
}

@media (max-width: 520px) {
  .modal-card {
    padding: 28px 20px;
    margin: 12px;
  }
}
