/* home-styles.css
   Loaded on index.html, about.html, and contact.html (alongside
   policy-styles.css) for hero/card/section/bento layout and the larger
   footer content grid (brand line, address, contact bar, link columns).

   NOTE: the navbar (all rows), mobile flyout, nav-toggle, Legal dropdown,
   theme toggle, and the universal footer copyright bar were MOVED to
   policy-styles.css, since they are now identical and shared across ALL
   SIX pages (including the three legal pages, which never loaded this
   file).

   Dark-theme glow effects (eyebrow text-shadow, scroll-indicator neon
   glow, step-num hover glow) are kept exactly as-is per explicit request
   — only converted to variables, not changed in value or intent. */

/* ---------- Buttons ---------- */

.btn-hero {
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* "Explore Solutions" and other secondary CTAs. Previously had a fully
   transparent background, which is why it had little contrast against
   the hero section's own background in both themes — the button was
   effectively just a faint outline with no fill. Now uses the same
   --color-bg-elevated "card surface" treatment already used by feature
   cards and bento cards elsewhere on the site, giving it a real,
   consistent visual presence regardless of theme. */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-bg-elevated);
  color: var(--color-heading);
  border: 1px solid var(--overlay-surface-border);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--color-accent);
  color: var(--color-accent-hover);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100vh - var(--navbar-height));
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, var(--glow-blue-soft), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 4vw, 1.5rem) 0.5rem;
  text-align: center;
  width: 100%;
}

.hero-brand {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-heading);
  margin: 0 0 1rem;
}

/* ---------- Eyebrow / positioning statement ---------- */

/* Desktop/default appearance: a compact, centered, bordered pill. */
.eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  gap: 0;
  max-width: min(100%, 720px);
  border: 1px solid var(--color-eyebrow-border);
  border-radius: 1.25rem;
  padding: 0.6rem 1rem;
  margin: 0 0 1.5rem;
  background: var(--color-eyebrow-bg);
}

.eyebrow-line {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(0.7rem, 2.1vw, 0.95rem);
  letter-spacing: clamp(0.02em, 0.5vw, 0.1em);
  color: var(--color-eyebrow-text);
  text-align: center;
  text-shadow: 0 0 10px var(--glow-blue-strong),
               0 0 20px var(--glow-blue-soft);
}

/* The current positioning statement is longer than the prior two-line
   eyebrow. On narrower tablet/mobile widths, allow it to wrap naturally
   inside the existing pill rather than forcing an oversized no-wrap line
   whose border/background can extend beyond the viewport. */
@media (max-width: 760px) {
  .eyebrow {
    width: min(100%, 520px);
    padding: 0.6rem 0.9rem;
    margin-bottom: 1.5rem;
  }

  .eyebrow-line {
    white-space: normal;
    line-height: 1.35;
    font-size: clamp(0.72rem, 3.3vw, 0.9rem);
    letter-spacing: 0.04em;
  }
}

.hero-headline {
  font-size: clamp(1.15rem, 3vw, 1.75rem);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--color-heading);
  font-weight: 700;
  white-space: nowrap;
  margin: 0 0 1.5rem;
}
@media (max-width: 480px) {
  .hero-headline {
    white-space: normal;
  }
}

/* The longer single-line eyebrow positioning statement must be allowed
   to wrap inside its pill on narrower screens. Without this override,
   the desktop white-space: nowrap rule makes the pill wider than the
   viewport, pushing its border/background off-screen. */
@media (max-width: 760px) {
  .eyebrow {
    width: min(100%, 520px);
    padding: 0.6rem 0.9rem;
    margin-bottom: 1.5rem;
  }

  .eyebrow-line {
    white-space: normal;
    max-width: 100%;
    text-align: center;
    line-height: 1.35;
    font-size: clamp(0.72rem, 3.3vw, 0.9rem);
    letter-spacing: 0.04em;
  }
}

/* ---------- Hero key-points table ---------- */
/* Hero key-points, iteration 1: 2×2 cards preserving the existing
   label/value wording and colors. Each card uses a stacked top/bottom
   structure, not a prose arrow row. */
.hero-keypoints {
  width: 100%;
  max-width: 860px;
  margin: 0 auto 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.keypoint-card {
  display: flex;
  flex-direction: column;
  min-height: 138px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg-elevated);
  overflow: hidden;
  text-align: center;
}

.keypoint-card .keypoint-label,
.keypoint-card .keypoint-value {
  display: flex;
  flex: 1 1 50%;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.9rem;
  line-height: 1.35;
}

.keypoint-card .keypoint-label {
  border-bottom: 1px solid var(--color-border);
}

@media (max-width: 640px) {
  .hero-keypoints {
    grid-template-columns: 1fr;
  }

  .keypoint-card {
    min-height: 116px;
  }
}

.keypoint-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 0.6rem;
  row-gap: 0.15rem;
  text-align: center;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--color-border);
}
.keypoint-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.keypoint-label {
  color: var(--color-heading);
  font-weight: 400;
  font-size: clamp(0.82rem, 1.6vw, 0.92rem);
}

.keypoint-sep {
  color: var(--color-accent-hover);
  font-size: clamp(0.82rem, 1.6vw, 0.92rem);
  font-weight: 700;
}

.keypoint-value {
  color: var(--color-highlight-amber-content);
  font-weight: 400;
  font-size: clamp(0.85rem, 1.7vw, 0.95rem);
}

/* ---------- Hero solutions grid ---------- */
.hero-solutions {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 1.75rem;
}

.hero-solutions-title {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--color-accent-hover);
  margin: 0 0 0.85rem;
  font-weight: 700;
}

.hero-solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem 1rem;
}

.hero-solutions-grid a {
  display: block;
  background: var(--color-surface-deep);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.6rem 0.5rem;
  color: var(--color-text);
  font-size: 0.82rem;
  text-align: center;
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}

.hero-solutions-grid a:hover,
.hero-solutions-grid a:focus-visible {
  border-color: var(--color-accent);
  color: var(--color-heading);
}

.hero-solutions-grid a.tight-fit {
  font-size: 0.76rem;
  letter-spacing: -0.01em;
  padding-left: 0.3rem;
  padding-right: 0.3rem;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .hero-solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-solutions-grid a.tight-fit {
    white-space: normal;
  }
}

.hero-solutions-more {
  margin: 0.65rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-style: italic;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.coverage-line {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  max-width: 620px;
  margin: 0 auto;
}

.hero-contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 1rem auto 0;
  font-size: 0.95rem;
}

.hero-contact-line a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
  text-decoration: none;
}

.hero-contact-line a:hover,
.hero-contact-line a:focus-visible {
  color: var(--color-accent-hover);
}

.hero-contact-line svg {
  width: 27px;
  height: 27px;
  color: var(--color-accent-hover);
  flex-shrink: 0;
}

.scroll-indicator {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  margin: 0.5rem auto 1rem;
  color: var(--color-accent-neon);
  text-shadow: 0 0 10px var(--glow-neon);
  font-size: 1.3rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.marquee-strip {
  position: relative;
  flex: 0 0 auto;
  border-top: 1px solid var(--color-border);
  background: var(--overlay-surface-strip);
  padding: 1rem 0;
  overflow: hidden;
  z-index: 2;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  gap: 3rem;
  align-items: center;
  animation: marquee 32s linear infinite;
}

.marquee-track span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--overlay-surface-muted-text);
}

.marquee-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted) !important;
  font-weight: 400 !important;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  } to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Links inside homepage/about body copy ---------- */

.final-cta a:not(.btn-submit):not(.btn-outline),
.hero-sub a:not(.btn-submit):not(.btn-outline),
.section-sub a:not(.btn-submit):not(.btn-outline),
.about-lead a:not(.btn-submit):not(.btn-outline) {
  color: var(--color-accent);
  text-decoration: underline;
}

.final-cta a:not(.btn-submit):not(.btn-outline):hover,
.final-cta a:not(.btn-submit):not(.btn-outline):focus-visible,
.hero-sub a:not(.btn-submit):not(.btn-outline):hover,
.hero-sub a:not(.btn-submit):not(.btn-outline):focus-visible,
.section-sub a:not(.btn-submit):not(.btn-outline):hover,
.section-sub a:not(.btn-submit):not(.btn-outline):focus-visible,
.about-lead a:not(.btn-submit):not(.btn-outline):hover,
.about-lead a:not(.btn-submit):not(.btn-outline):focus-visible {
  color: var(--color-accent-hover);
}

/* ---------- Generic sections ---------- */

.section {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
}

.section-alt {
  background: var(--color-bg-elevated);
}

.section-compact {
  padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1rem, 4vw, 2.25rem);
}
.section-compact .section-head {
  margin: 0 auto 1.25rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--color-heading);
  margin: 0 0 0.75rem;
}

.section-sub {
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
}

.section-sub:last-child {
  margin-bottom: 0;
}

.section-sub strong { color: var(--color-text);
}

.about-lead {
  max-width: 760px;
  margin: 0 auto 0.75rem;
  color: var(--color-text);
  font-size: 1.05rem;
}
.about-lead:last-child {
  margin-bottom: 0;
}

main.policy-page.about-page {
  padding-top: clamp(0.75rem, 2vw, 1.25rem);
}
.about-header-row {
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.card-grid { display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1100px) {
  .card-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .card-grid-5 { grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition);
}
.feature-card:hover {
  border-color: var(--color-accent);
}

.feature-card h3 {
  color: var(--color-heading);
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.founder-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}

.founder-card h3 { color: var(--color-heading);
  margin: 0 0 0.2rem;
  font-size: 1.2rem;
}

.founder-title {
  color: var(--color-accent-hover);
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
}

.founder-title .placeholder {
  padding: 0;
}

.founder-card p { color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0 0 0.6rem;
}

.founder-card p:last-child { margin-bottom: 0;
}

.photo-placeholder {
  width: 140px;
  aspect-ratio: 3 / 4;
  background: var(--color-bg);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  margin: 0 0 0.75rem;
}

.founder-photo {
  width: 140px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  display: block;
  margin: 0 0 0.75rem;
}

@media (max-width: 640px) { .founder-grid { grid-template-columns: 1fr;
  } }

/* ---------- Solutions grid (full section further down the page) ---------- */

.bento-grid { display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.bento-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition);
}

.bento-card:hover { border-color: var(--color-accent);
  transform: translateY(-2px);
}

.card-icon { display: inline-flex;
  width: 34px;
  height: 34px;
  color: var(--color-accent-hover);
  margin-bottom: 0.9rem;
}

.card-icon svg { width: 100%;
  height: 100%;
}

.bento-card h3 { color: var(--color-heading);
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.bento-card p { color: var(--color-text-muted);
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
}

.card-link { color: var(--color-accent-hover);
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: auto;
}

@media (max-width: 980px) { .bento-grid { grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) { .bento-grid { grid-template-columns: 1fr;
  }
}

/* Steps: circular numbered badges with a connecting line and hover glow —
   glow kept exactly as-is (dark-theme signature look). */

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 14%;
  right: 14%;
  height: 1px;
  background: var(--color-border);
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Lightweight process icons above the existing numbered step badges. */
.step-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  color: var(--color-accent-hover);
  margin: 0 auto 0.45rem;
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent-hover);
  margin-bottom: 1rem;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.step-card:hover .step-num {
  border-color: var(--color-accent-hover);
  box-shadow: 0 0 20px 3px var(--glow-blue-hover);
}

.step-card h3 {
  color: var(--color-heading);
  margin: 0 0 0.5rem;
}

.step-card p {
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 860px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid::before {
    display: none;
  }
}

.partner-examples-label {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin: 0 0 1.25rem;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: center;
}

.partner-logos span {
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

/* Industries with an icon per item */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  text-align: center;
}

.industry-grid span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 0.5rem;
  color: var(--color-text);
  font-size: 0.9rem;
}

.industry-grid svg {
  width: 26px;
  height: 26px;
  color: var(--color-accent-hover);
}

@media (max-width: 860px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Final CTA — glow kept exactly as-is (dark-theme signature look) */

.final-cta {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
  background: radial-gradient(ellipse at bottom, var(--glow-blue-soft), var(--color-bg) 70%);
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.final-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.final-cta h2 {
  color: var(--color-heading);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
}

.final-cta p {
  color: var(--color-text-muted);
  margin: 0 0 2rem;
}

/* ======================================================================
   Footer — larger content grid (index.html / about.html only).
   ====================================================================== */

.home-footer {
  text-align: center;
}

.home-footer .placeholder {
  font-weight: 700;
}

.footer-brand-line {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 auto 0.35rem;
  max-width: 1100px;
}

.footer-address-line {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 auto 1rem;
  max-width: 1100px;
}

.footer-contact-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 auto 2rem;
  max-width: 1100px;
  font-size: 0.9rem;
}

.footer-contact-bar .footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
  text-decoration: none;
}

.footer-contact-bar .footer-contact-link:hover {
  color: var(--color-accent-hover);
}

.footer-contact-bar svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent-hover);
  flex-shrink: 0;
}

.footer-grid {
  max-width: 900px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.footer-col h4 {
  color: var(--color-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}

.footer-col a {
  display: block;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.footer-col a:hover {
  color: var(--color-heading);
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Scroll-reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Contact page: inline header/note row pairs ---------- */

.contact-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.contact-header-note {
  text-align: right;
  margin: 0;
  max-width: 380px;
}
@media (max-width: 640px) {
  .contact-header-note { text-align: left; max-width: none; }
}

.form-section-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.4rem;
  margin-bottom: 0.6rem;
}
.form-section-header-row h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.required-note {
  margin: 0;
  text-align: right;
}
@media (max-width: 640px) {
  .required-note { text-align: left; }
}

.form-row-inquiry {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 1rem;
  align-items: start;
}
.form-row-inquiry select {
  max-width: 260px;
}
@media (max-width: 640px) {
  .form-row-inquiry {
    grid-template-columns: 1fr;
  }
  .form-row-inquiry select {
    max-width: none;
  }
}

.form-row-contact-phone {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: start;
}
.form-row-contact-phone .form-group {
  margin-bottom: 0.65rem;
}
.form-row-contact-phone .cp-email {
  flex: 3 1 220px;
}
.form-row-contact-phone .cp-pref {
  flex: 0 1 90px;
  min-width: 80px;
}
.form-row-contact-phone .cp-code {
  flex: 0 1 150px;
  min-width: 130px;
}
.form-row-contact-phone .cp-code select {
  overflow: hidden;
  text-overflow: ellipsis;
}
.form-row-contact-phone .cp-number {
  flex: 1 1 150px;
}
.form-row-contact-phone .cp-ext {
  flex: 0 0 90px;
}

.turnstile-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.turnstile-wrapper .cf-turnstile {
  flex: 0 0 auto;
}
.turnstile-wrapper .turnstile-help {
  flex: 1 1 220px;
  margin: 0;
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.submit-row .form-footnote {
  margin: 0;
}
