/* Happyauto UX layer 2026-10-16 — loaded after ui-20261015.css.
   Presentation only: warm deep hero band with floating quote panel,
   proof list beside the form, card-style service chooser, connected process,
   calmer guide groups and consistent content pages. No new executable,
   no external dependency. Tokens come from ui-20261015.css. */

:root {
  --ux-deep: #1d2329;
  --ux-deep-2: #2a2520;
  --ux-on-deep: #ffffff;
  --ux-on-deep-muted: #d9d2c7;
  --ux-accent-soft: #ffd2bd;
  --ux-card-shadow: 0 1px 2px rgba(42, 35, 24, 0.04), 0 8px 24px rgba(42, 35, 24, 0.06);
  --ux-card-shadow-hover: 0 14px 36px rgba(42, 35, 24, 0.12);
}

/* ---------- Brand mark: accent tile instead of legacy blue ---------- */
.ui-brand .brand-icon,
.site-header .brand .brand-icon {
  background: var(--ui-accent);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

/* ---------- Sections ---------- */
.ui-section+.ui-section {
  border-top: 0;
}

.ui-section:nth-of-type(even) {
  background: var(--ui-surface);
  border-top: 1px solid var(--ui-line);
  border-bottom: 1px solid var(--ui-line);
}

@media (min-width: 1024px) {
  .ui-section {
    padding: 72px 0;
  }
}

/* ---------- Service chooser: cards with icons ---------- */
.ux-choices {
  border-top: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.ux-choices li {
  border-bottom: 0;
}

.ux-choices a {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "icon title arrow" "icon desc arrow";
  align-items: center;
  column-gap: 14px;
  row-gap: 2px;
  padding: 18px 20px;
  background: var(--ui-surface-2);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-card);
  box-shadow: var(--ux-card-shadow);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 120ms ease;
}

.ux-choices a:hover {
  border-color: #d8b8a6;
  box-shadow: var(--ux-card-shadow-hover);
}

.ux-choices a:active {
  transform: translateY(1px);
}

.ux-choices a:hover .ui-choice-title {
  text-decoration: none;
}

.ux-choice-icon {
  grid-area: icon;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ui-tint);
  color: var(--ui-accent);
  font-size: 18px;
}

.ux-choices .ui-choice-title {
  grid-area: title;
  white-space: normal;
}

.ux-choices .ui-choice-desc {
  grid-area: desc;
}

.ux-choices .ui-choice-arrow {
  grid-area: arrow;
  margin-left: 0;
  font-size: 20px;
  transition: transform 150ms ease;
}

.ux-choices a:hover .ui-choice-arrow {
  transform: translateX(3px);
}

@media (min-width: 768px) {
  .ux-choices {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .ux-choices {
    grid-template-columns: repeat(4, 1fr);
  }

  .ux-choices a {
    grid-template-columns: 1fr;
    grid-template-areas: "icon" "title" "desc" "arrow";
    align-items: start;
    align-content: start;
    row-gap: 8px;
    padding: 24px;
  }

  .ux-choices .ux-choice-icon {
    margin-bottom: 8px;
  }

  .ux-choices .ui-choice-arrow {
    margin-top: 8px;
  }
}

/* ---------- Reference image: calmer frame ---------- */
.notice-box {
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  color: var(--ui-ink);
}

#services-section .notice-box {
  background: var(--ui-tint);
  border-color: #ebd6c6;
}

.ui-figure {
  box-shadow: var(--ux-card-shadow);
}

@media (min-width: 1024px) {
  .ui-figure img {
    max-height: 480px;
    object-fit: cover;
  }
}

/* ---------- Process: accent numbers ---------- */
.ux-process .ui-process-num {
  background: var(--ui-accent);
  box-shadow: 0 0 0 6px var(--ui-canvas);
}

.ui-section:nth-of-type(even) .ux-process .ui-process-num {
  box-shadow: 0 0 0 6px var(--ui-surface);
}

/* ---------- Guide groups: quieter link lists ---------- */
.ui-guide-group {
  box-shadow: var(--ux-card-shadow);
}

.ui-guide-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ui-line);
}

.ui-guide-group h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--ui-accent);
  flex: none;
}

.ui-guide-group ul {
  gap: 0;
}

.ui-guide-group li+li {
  border-top: 1px dashed var(--ui-line);
}

.ui-guide-group a {
  width: 100%;
  min-height: 48px;
  text-decoration: none;
  font-weight: 600;
}

.ui-guide-group a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- FAQ ---------- */
.ui-faq {
  max-width: 880px;
}

.ui-faq summary {
  padding: 18px 4px;
}

.ui-faq summary:hover {
  color: var(--ui-accent-hover);
}

/* ---------- Floating CTA: warm solid, safe-area aware ----------
   The legacy rule centres with translateX(-50%); the UI layer anchors it with
   left/right instead, so the transform must be cleared or it slides off-screen. */
.floating-cta,
.floating-cta.visible {
  transform: none;
  background: var(--ui-accent);
  border-radius: var(--ui-radius-input);
}

.floating-cta:active {
  transform: translateY(1px);
}

/* ---------- Content pages ---------- */
.content-page .content-hero {
  background: var(--ui-surface);
  border-bottom: 1px solid var(--ui-line);
  padding: 32px 0 28px;
}

.content-page .content-hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.3;
  margin: 8px 0 12px;
}

.content-page .content-hero .content-eyebrow {
  border-color: #ebd6c6;
  border-radius: var(--ui-radius-input);
}

.content-page .content-lead {
  font-size: 17px;
  line-height: 1.75;
}

.content-page .article-meta {
  margin: 24px 0 8px;
  padding: 12px 16px;
  background: var(--ui-surface-2);
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-input);
  font-size: 14px;
}

.content-page .content-shell {
  padding-top: 24px;
}

.content-shell .summary-box {
  background: var(--ui-surface-2);
  border: 1px solid #ebd6c6;
  box-shadow: var(--ux-card-shadow);
}

.content-shell .summary-box .btn-cta {
  box-shadow: none;
  border-radius: var(--ui-radius-input);
  padding: 12px 20px;
  font-size: 16px;
}

.content-shell .content-section {
  box-shadow: var(--ux-card-shadow);
}

.content-shell .content-section h2 {
  font-size: clamp(22px, 3vw, 26px);
}

.content-shell .content-section a:not(.btn-cta):not(.related-card),
.content-shell .summary-box a:not(.btn-cta),
.content-shell .source-box a,
.content-page .article-meta a {
  color: var(--ui-accent-hover);
  text-underline-offset: 3px;
}

.content-shell .step-list li {
  border-color: var(--ui-line);
  background: var(--ui-surface);
}

.content-shell .step-list li::before {
  background: var(--ui-accent);
}

.content-shell .related-card {
  background: var(--ui-surface-2);
  border-color: var(--ui-line);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.content-shell a.related-card:hover {
  transform: none;
  border-color: #d8b8a6;
  box-shadow: var(--ux-card-shadow-hover);
}

.content-shell .page-cta {
  background: linear-gradient(155deg, var(--ux-deep) 0%, var(--ux-deep-2) 70%, #4a2a1c 100%);
  text-align: left;
  border-radius: var(--ui-radius-card);
}

.content-shell .page-cta p {
  color: var(--ux-on-deep-muted);
}

.content-shell .page-cta .btn-cta {
  background: #fff;
  color: var(--ui-accent-hover);
  box-shadow: none;
}

.content-shell .page-cta .btn-cta:hover {
  background: var(--ui-tint);
}

@media (prefers-reduced-motion: reduce) {
  .ux-choices a:hover .ui-choice-arrow {
    transform: none;
  }

  .ux-choices a:active,
  .floating-cta:active {
    transform: none;
  }
}

/* Home editorial contract, 2026-10-18. All new rules stay on the homepage. */
.ha-home {
  --ha-radius: 4px;
  --ha-space: 24px;
  --ha-section: 64px;
  background: var(--ui-canvas);
}

.ha-home .ha-kicker {
  display: block;
  color: var(--ui-accent-hover);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  margin: 0 0 16px;
}

.ha-home .ha-hero {
  padding: 64px 0 48px;
}

.ha-home .ha-home-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-areas: "intro case" "form facts";
  align-items: start;
  gap: 64px 48px;
}

.ha-home .ha-hero-copy {
  grid-area: intro;
  align-self: center;
}

.ha-home .ha-case {
  grid-area: case;
}

.ha-home .form-card {
  grid-area: form;
}

.ha-home .ha-facts {
  grid-area: facts;
}

.ha-home .btn-primary {
  box-shadow: none;
}

.ha-home .ha-hero h1 {
  color: var(--ui-ink);
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.2;
  letter-spacing: -.045em;
  font-weight: 750;
  margin: 0 0 24px;
  word-break: keep-all;
}

.ha-home .ha-intro {
  max-width: 640px;
  color: var(--ui-secondary);
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 24px;
  word-break: keep-all;
}

.ha-home .ha-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.ha-home .ha-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  background: var(--ui-accent);
  color: var(--ui-surface-2);
  border-radius: var(--ui-radius-input);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.ha-home .ha-action:hover {
  background: var(--ui-accent-hover);
}

.ha-home .ha-action:active {
  transform: translateY(1px);
}

.ha-home .ha-phone {
  color: var(--ui-ink);
  font-size: 16px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.ha-home .ha-case {
  margin: 0;
}

.ha-home .ha-case img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--ha-radius);
}

.ha-home .ha-case figcaption {
  margin-top: 12px;
  color: var(--ui-secondary);
  font-size: 14px;
  line-height: 1.65;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.ha-home .ha-case a {
  color: var(--ui-accent-hover);
  text-underline-offset: 4px;
}

.ha-home .ha-section {
  padding: var(--ha-section) 0;
  border-top: 1px solid var(--ui-line);
}

.ha-home .ha-section h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.35;
  letter-spacing: -.035em;
  margin: 0 0 24px;
  color: var(--ui-ink);
  word-break: keep-all;
}

.ha-home .ha-quote-layout {
  display: grid;
  grid-template-columns: 1.35fr .8fr;
  gap: 64px;
  align-items: start;
}

.ha-home .form-card {
  padding: 32px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-input);
  background: var(--ui-surface);
  box-shadow: none;
}

.ha-home .form-card:focus-within {
  border-color: var(--ui-line);
  box-shadow: none;
}

.ha-home .form-card .form-title {
  font-size: 26px;
  margin-bottom: 8px;
}

.ha-home .form-card .form-notice {
  margin-bottom: 24px;
  font-size: 15px;
}

.ha-home .form-card .form-title i {
  display: none;
}

.ha-home .form-field input::placeholder {
  color: var(--ui-secondary);
  opacity: 1;
}

.ha-home .ha-facts {
  padding-top: 8px;
}

.ha-home .ha-facts h2 {
  font-size: 26px;
}

.ha-home .ha-facts p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ui-secondary);
  margin: 0 0 24px;
  word-break: keep-all;
}

.ha-home .ha-facts strong {
  color: var(--ui-ink);
  font-weight: 700;
}

.ha-home .ha-links {
  margin: 24px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ui-line);
}

.ha-home .ha-links a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ui-line);
  min-height: 48px;
  color: var(--ui-ink);
  font-weight: 600;
  text-decoration: none;
}

.ha-home .ha-links a:hover {
  color: var(--ui-accent-hover);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ha-home .ha-facts .ha-limit {
  font-size: 14px;
}

.ha-home .ha-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.ha-home .ha-process li {
  border-top: 1px solid var(--ui-line);
  padding-top: 24px;
}

.ha-home .ha-process span {
  display: block;
  font-size: 14px;
  color: var(--ui-accent-hover);
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}

.ha-home .ha-process h3 {
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 12px;
  word-break: keep-all;
}

.ha-home .ha-process p {
  margin: 0;
  color: var(--ui-secondary);
  font-size: 16px;
  line-height: 1.75;
  word-break: keep-all;
}

.ha-home .ha-faq-layout {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 64px;
}

.ha-home .ui-faq {
  margin: 0;
  max-width: none;
}

.ha-home .ui-faq summary {
  word-break: keep-all;
  overflow-wrap: break-word;
  font-size: 17px;
  min-height: 64px;
  padding: 20px 4px;
}

.ha-home .ui-faq-body {
  font-size: 16px;
}

.ha-home .ha-guide-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}

.ha-home .ha-guide-head a {
  color: var(--ui-accent-hover);
  font-weight: 600;
}

.ha-home .ha-guides {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ha-home .ha-guides a {
  color: var(--ui-ink);
  text-decoration: none;
  border-top: 1px solid var(--ui-line);
  padding: 24px 0;
}

.ha-home .ha-guides strong {
  word-break: keep-all;
  overflow-wrap: break-word;
  display: block;
  font-size: 20px;
  margin-bottom: 12px;
}

.ha-home .ha-guides span {
  word-break: keep-all;
  overflow-wrap: break-word;
  display: block;
  color: var(--ui-secondary);
  font-size: 16px;
  line-height: 1.75;
}

.ha-home .ha-guides a:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ha-home a:focus-visible {
  outline: 3px solid var(--ui-accent);
  outline-offset: 4px;
}

@media(min-width:1200px) {
  .ha-home #lead-step1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media(max-width:1023px) {
  .ha-home .ha-home-grid {
    gap: 32px;
    grid-template-columns: 1fr 1fr;
  }

  .ha-home .ha-quote-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ha-home .ha-faq-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media(max-width:719px) {
  .ha-home {
    --ha-section: 40px;
  }

  .ha-home .ha-hero {
    padding: 24px 0;
  }

  .ha-home .ha-home-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "form" "case" "facts";
    gap: 24px;
  }

  .ha-home .ha-kicker {
    margin-bottom: 12px;
  }

  .ha-home .ha-hero h1 {
    margin-bottom: 16px;
  }

  .ha-home .ha-intro {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 16px;
  }

  .ha-home .ha-case img {
    height: auto;
    aspect-ratio: 4/3;
  }

  .ha-home .ha-case figcaption {
    font-size: 14px;
    word-break: keep-all;
    margin-top: 8px;
  }

  .ha-home #quote-section {
    padding-top: 24px;
  }

  .ha-home .form-card {
    padding: 24px 16px;
  }

  .ha-home .form-card .form-title {
    font-size: 24px;
  }

  .ha-home .form-card .form-notice {
    margin-bottom: 16px;
  }

  .ha-home .ha-process,
  .ha-home .ha-guides {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ha-home .ha-process li {
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 16px;
    padding-top: 16px;
  }

  .ha-home .ha-process span {
    grid-row: 1/3;
    margin: 0;
    padding-top: 4px;
  }

  .ha-home .ha-process h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .ha-home .ha-guide-head {
    display: block;
    margin-bottom: 24px;
  }

  .ha-home .ha-guides a {
    padding: 16px 0 0;
  }
}

@media(prefers-reduced-motion:reduce) {
  .ha-home .ha-action:active {
    transform: none;
  }
}

/* Home containment and Korean word integrity, visual review B. */
.ha-home .ui-header-inner {
  position: relative;
  flex-wrap: wrap;
}

.ha-home .ui-menu {
  position: static;
}

.ha-home .ui-menu-panel {
  left: 16px;
  right: 16px;
  top: 100%;
  min-width: 0;
  max-height: 60dvh;
  overflow-y: auto;
}

.ha-home p,
.ha-home .privacy-note,
.ha-home .form-notice,
.ha-home .form-field label,
.ha-home .ui-menu-panel a,
.ha-home .ui-footer {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.ha-home .date-quick-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ha-home .date-quick-btn {
  flex: 1 1 40%;
  min-width: max-content;
  padding: 8px 12px;
  white-space: nowrap;
}

.ha-home .ui-footer {
  padding-bottom: calc(120px + env(safe-area-inset-bottom));
}

.ha-home .ui-nav-desktop {
  flex-wrap: wrap;
  min-width: 0;
}

.ha-home .ui-header {
  max-height: none;
}

.ha-home .radio-pill {
  position: relative;
}

.ha-home .radio-pill input {
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
}

.ha-home .ha-case-fallback {
  margin: 0;
}

.ha-home .ha-all-cases {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  margin-top: 16px;
  border-top: 1px solid var(--ui-line);
  font-size: 16px;
  font-weight: 600;
}

.ha-home .pc-preview {
  display: grid;
  gap: 16px;
}

.ha-home .pc-card {
  min-width: 0;
}

.ha-home .pc-card h3 {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.ha-home .pc-card h3 a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--ui-ink);
  text-decoration: none;
}

.ha-home .pc-card h3 a:hover {
  color: var(--ui-accent-hover);
  text-decoration: underline;
}

.ha-home .pc-card .pc-image {
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.ha-home .pc-card .pc-image img {
  border-radius: 0;
}

.ha-home .pc-card .pc-facts {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ui-secondary);
}

.ha-home .pc-card .pc-description {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ui-secondary);
}

.ha-home .pc-card+.pc-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 1px solid #f0eee9;
}

.ha-home .pc-card+.pc-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.ha-home .pc-card+.pc-card .pc-image {
  align-self: stretch;
  margin-top: 0;
  width: 100%;
  height: 140px;
}

:root {
  --guide-display: clamp(28px, 4vw, 44px);
  --guide-body: 17px;
  --guide-small: 14px;
  --guide-space: 24px;
  --guide-rhythm: 48px;
}

.content-hero {
  background: var(--ui-surface);
  padding: 32px 16px;
  border-bottom: 1px solid var(--ui-line);
}

.content-hero .content-hero-inner {
  max-width: var(--ui-prose);
  margin-inline: auto;
}

.content-hero h1 {
  font-size: var(--guide-display);
  line-height: 1.25;
  letter-spacing: -.035em;
  margin: 16px 0;
}

.content-hero .content-lead {
  font-size: var(--guide-body);
  line-height: 1.75;
  max-width: var(--ui-prose);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.content-hero .content-eyebrow {
  display: block;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--ui-accent-hover);
  font-size: var(--guide-small);
}

.content-shell {
  max-width: calc(var(--ui-prose) + 32px);
  padding: 32px 16px 48px;
  margin-inline: auto;
}

.content-shell .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 0 0 24px;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  font-size: var(--guide-small);
  line-height: 1.65;
}

.content-shell .summary-box {
  background: var(--ui-tint);
  border: 0;
  border-radius: var(--ui-radius-input);
  padding: 24px;
  margin: 0 0 32px;
  box-shadow: none;
}

.content-shell .summary-box p {
  margin: 8px 0 0;
}

.content-shell .content-section {
  padding: 32px 0;
  margin: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--ui-line);
  border-radius: 0;
  box-shadow: none;
}

.content-shell .content-section h2 {
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.4;
  letter-spacing: -.025em;
  margin: 0 0 16px;
}

.content-shell p,
.content-shell li {
  font-size: var(--guide-body);
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.content-shell .table-wrap {
  margin: 24px 0;
  border-radius: var(--ui-radius-input);
  max-width: 100%;
}

.content-shell .comparison-table {
  font-size: var(--guide-small);
  line-height: 1.65;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin: 24px 0;
}

.article-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 650;
  color: var(--ui-accent-hover);
  text-underline-offset: 4px;
}

.article-actions a:first-child {
  padding: 12px 24px;
  background: var(--ui-accent);
  color: var(--ui-surface);
  border-radius: var(--ui-radius-input);
  text-decoration: none;
}

.article-actions a:first-child:hover {
  background: var(--ui-accent-hover);
}

.article-toc {
  margin: 24px 0;
  padding: 16px 0;
  border-block: 1px solid var(--ui-line);
}

.article-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
}

.article-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--ui-ink);
  font-size: var(--guide-small);
  text-underline-offset: 4px;
}

.content-shell .page-cta {
  background: var(--ui-tint);
  color: var(--ui-ink);
  padding: 32px 24px;
  border: 0;
  border-radius: var(--ui-radius-input);
  box-shadow: none;
}

.content-shell .page-cta p {
  color: var(--ui-secondary);
}

.content-shell .page-cta h2 {
  color: var(--ui-ink);
}

.content-shell .page-cta .btn-cta {
  background: var(--ui-accent);
  color: var(--ui-surface);
}

.content-shell .page-cta .btn-cta:hover {
  background: var(--ui-accent-hover);
}

.content-shell .related-card {
  box-shadow: none;
  border: 0;
  border-bottom: 1px solid var(--ui-line);
  border-radius: 0;
  padding: 16px 0;
  background: none;
}

.content-shell .related-card span {
  color: var(--ui-secondary);
}

.content-shell a.related-card:hover {
  background: none;
  box-shadow: none;
  border-color: var(--ui-line);
}

.ha-intent-nav {
  display: grid;
  border-top: 1px solid var(--ui-line);
}

.ha-intent-nav a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ui-line);
  min-height: 48px;
  text-decoration: none;
  color: var(--ui-ink);
}

.ha-intent-nav strong {
  font-size: 17px;
  font-weight: 650;
}

.ha-intent-nav small {
  grid-column: 1;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ui-secondary);
}

.ha-intent-nav .intent-arrow {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  color: var(--ui-accent);
}

.ha-intent-nav a:hover strong,
.ha-model-links a:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ha-model-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  border-top: 1px solid var(--ui-line);
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.ha-model-links a {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 96px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ui-line);
  text-decoration: none;
}

.ha-model-links strong {
  color: var(--ui-ink);
  font-size: 17px;
}

.ha-model-links span {
  color: var(--ui-secondary);
  font-size: 14px;
}

.ha-home .ha-guides-intro {
  color: var(--ui-secondary);
  font-size: 17px;
  max-width: var(--ui-prose);
  margin-bottom: 24px;
}

.content-shell a:focus-visible,
.article-actions a:focus-visible {
  outline: 3px solid var(--ui-accent);
  outline-offset: 4px;
}

.ui-header-inner {
  position: relative;
  flex-wrap: wrap;
}

.ui-menu {
  position: static;
}

.ui-nav-desktop {
  flex-wrap: wrap;
  min-width: 0;
}

.ui-header {
  max-height: none;
}

.ui-footer {
  padding-bottom: calc(120px + env(safe-area-inset-bottom));
}

@media(max-width:1023px) {
  .ui-menu-panel {
    left: 16px;
    right: 16px;
    top: 100%;
    min-width: 0;
    max-height: 60dvh;
    overflow-y: auto;
  }
}

@media(min-width:1024px) {
  .content-hero {
    padding: 48px 24px 32px;
  }

  .content-shell {
    padding-top: 48px;
  }
}

@media(max-width:359px) {
  .ha-model-links {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media(min-width:1024px) {
  .ha-home .ha-home-grid {
    grid-template-areas: "intro form" "case facts";
    gap: 48px;
  }

  .ha-home .ha-hero h1 {
    font-size: clamp(36px, 4.3vw, 56px);
  }

  .ha-home .form-card {
    margin: 0;
  }
}

.ha-home .ha-facts .ha-limit {
  margin-top: 24px;
}

.site-header .header-inner {
  flex-wrap: wrap;
}

.site-header .header-nav {
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}

.site-header {
  height: auto;
  max-height: none;
}

/* ===================================================================
   Toss / HeyDealer Modern Mobility Theme (HappyAuto - Warm Energetic Orange)
   =================================================================== */
:root {
  --ui-canvas: #f8fafc;
  --ui-surface: #ffffff;
  --ui-surface-2: #ffffff;
  --ui-ink: #0f172a;
  --ui-secondary: #475569;
  --ui-accent: #ff5c00;
  --ui-accent-hover: #ea580c;
  --ui-tint: #fff7ed;
  --ui-line: #e2e8f0;
  --ui-error: #ef4444;
  --ui-success: #10b981;
  --ui-radius-input: 12px;
  --ui-radius-card: 20px;
  --ui-radius-hero: 24px;
  --ui-quote-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);

  --ux-deep: #0f172a;
  --ux-deep-2: #1e293b;
  --ux-on-deep: #ffffff;
  --ux-on-deep-muted: #94a3b8;
  --ux-accent-soft: #ffedd5;
  --ux-card-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --ux-card-shadow-hover: 0 12px 32px rgba(15, 23, 42, 0.12);
}

body {
  background: var(--ui-canvas);
  color: var(--ui-ink);
}

/* Header & Brand */
.site-header,
.ui-header {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ui-line);
}

.site-header .brand .brand-icon,
.ui-brand .brand-icon {
  background: linear-gradient(135deg, #ff5c00 0%, #ea580c 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(255, 92, 0, 0.25);
}

.ui-btn-quote,
.ha-action {
  background: linear-gradient(135deg, #ff5c00 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(255, 92, 0, 0.28) !important;
  font-weight: 750 !important;
  transition: all 0.15s ease !important;
}

.ui-btn-quote:hover,
.ha-action:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 92, 0, 0.38) !important;
}

.ui-btn-call {
  background: #fff7ed !important;
  color: #ea580c !important;
  border: 1.5px solid #fed7aa !important;
  border-radius: 12px !important;
  font-weight: 750 !important;
}

/* Hero Section */
.ha-home .ha-hero {
  padding: 48px 0 56px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--ui-line);
}

.ha-home .ha-kicker {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: #fff7ed;
  color: #ea580c;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.ha-home .ha-hero h1 {
  color: #0f172a;
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.ha-home .ha-intro {
  color: #475569;
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.ha-home .ha-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #ffffff;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 750;
  color: #0f172a;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: all 0.15s ease;
}

.ha-home .ha-phone:hover {
  border-color: #ff5c00;
  color: #ea580c;
}

/* Elevated Modern Form Card */
.ha-home .form-card {
  padding: 32px 28px;
  border: 1px solid var(--ui-line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

.ha-home .form-card .form-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 6px;
}

.ha-home .form-card .form-notice {
  margin-bottom: 20px;
  font-size: 14px;
  color: #64748b;
}

.ha-home .form-field {
  margin-bottom: 14px;
}

.ha-home .form-field label {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.ha-home .form-field input,
.ha-home .form-field select {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  min-height: 52px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 550;
  color: #0f172a;
  transition: all 0.15s ease;
}

.ha-home .form-field input:focus,
.ha-home .form-field select:focus {
  background: #ffffff;
  border-color: #ff5c00;
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 92, 0, 0.15);
}

.ha-home .radio-pill span,
.ha-home .date-quick-btn {
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  font-weight: 650;
  color: #334155;
  transition: all 0.15s ease;
}

.ha-home .radio-pill input:checked+span,
.ha-home .date-quick-btn.active {
  border-color: #ff5c00;
  background: #fff7ed;
  color: #ea580c;
  font-weight: 750;
}

.ha-home .privacy-note {
  background: #f8fafc;
  border: 1px solid var(--ui-line);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 16px 0 14px;
  font-size: 12px;
  line-height: 1.65;
  color: #64748b;
}

.ha-home .privacy-note a {
  color: #ea580c;
  text-decoration: underline;
  font-weight: 600;
}

.ha-home .btn-primary {
  background: linear-gradient(135deg, #ff5c00 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(255, 92, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ha-home .btn-primary:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 92, 0, 0.38);
}

.ha-home .btn-primary:active {
  transform: scale(0.985);
}

/* Spotlight Case Card */
.ha-home .ha-case {
  background: #ffffff;
  border: 1px solid var(--ui-line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--ux-card-shadow);
}

.ha-home .ha-case img {
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.ha-home .pc-card {
  background: #ffffff;
  border: 1px solid var(--ui-line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.ha-home .pc-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ux-card-shadow-hover);
  border-color: #fdba74;
}

/* Process Guide Cards */
.ha-home .ha-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.ha-home .ha-process li {
  background: #ffffff;
  border: 1px solid var(--ui-line);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: var(--ux-card-shadow);
  border-top: 1px solid var(--ui-line);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.ha-home .ha-process li:hover {
  transform: translateY(-3px);
  box-shadow: var(--ux-card-shadow-hover);
  border-color: #fdba74;
}

.ha-home .ha-process span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff5c00, #ea580c);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  box-shadow: 0 3px 8px rgba(255, 92, 0, 0.25);
}

.ha-home .ha-process h3 {
  font-size: 19px;
  font-weight: 750;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 8px;
}

.ha-home .ha-process p {
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

/* FAQ */
.ha-home .ui-faq summary {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  padding: 18px 4px;
}

.ha-home .ui-faq summary:hover {
  color: #ea580c;
}

.ha-home .ui-faq-body {
  font-size: 15px;
  line-height: 1.75;
  color: #475569;
}

/* Mobile Floating Dual CTA Rail */
.floating-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 200;
  transform: translateY(160%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(234, 88, 12, 0.2);
  border-radius: 18px;
  padding: 8px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.16);
  gap: 10px;
  align-items: center;
}

.floating-cta.visible {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  transform: translateY(0);
}

.floating-cta.ui-hidden {
  display: none !important;
}

.floating-cta .cta-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  background: #fff7ed;
  color: #ea580c;
  border: 1.5px solid #fdba74;
  border-radius: 12px;
  font-weight: 750;
  font-size: 14.5px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.floating-cta .cta-call:hover {
  background: #ffedd5;
}

.floating-cta .cta-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  background: linear-gradient(135deg, #ff5c00 0%, #ea580c 100%);
  color: #ffffff;
  border-radius: 12px;
  font-weight: 750;
  font-size: 14.5px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
  transition: all 0.15s ease;
}

.floating-cta .cta-quote:hover {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

@media (min-width: 1024px) {

  .floating-cta,
  .floating-cta.visible {
    display: none !important;
  }
}

/* HappyAuto Modern Mobility Tech Polish 2026-10-30 */
.ha-home {
  --ha-primary: #ea580c;
  --ha-primary-hover: #c2410c;
  --ha-primary-gradient: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  --ha-tint: #fff7ed;
  --ha-border: #fed7aa;
}

.ha-home .ha-kicker {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: #fff7ed;
  color: #ea580c;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.ha-home .ha-hero h1 {
  color: #0f172a;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.25;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 0 16px;
  word-break: keep-all;
}

.ha-home .ha-intro {
  max-width: 600px;
  color: #475569;
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 24px;
  word-break: keep-all;
}

.ha-home .ha-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ha-home .ha-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #ffffff;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.32);
  transition: all 0.15s ease;
}

.ha-home .ha-action:hover {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.45);
}

.ha-home .ha-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 22px;
  background: #ffffff;
  border: 1.5px solid #fed7aa;
  border-radius: 14px;
  color: #ea580c;
  font-size: 16px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.15s ease;
}

.ha-home .ha-phone:hover {
  background: #fff7ed;
  border-color: #f97316;
  transform: translateY(-1px);
}

.ha-home .form-card {
  padding: 32px 28px;
  border: 1px solid #fed7aa;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(234, 88, 12, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ha-home .form-card:focus-within {
  border-color: #f97316;
  box-shadow: 0 20px 48px rgba(234, 88, 12, 0.14), 0 4px 12px rgba(0, 0, 0, 0.06);
}

.ha-home .form-card .form-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 6px;
}

.ha-home .form-card .form-notice {
  margin-bottom: 20px;
  font-size: 14px;
  color: #64748b;
}

.ha-home .form-field {
  margin-bottom: 14px;
}

.ha-home .form-field label {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.ha-home .form-field .required {
  color: #ea580c;
  font-weight: 800;
  margin-left: 4px;
}

.ha-home .form-field input,
.ha-home .form-field select {
  background: #fafaf9;
  border: 1.5px solid #e7e5e4;
  border-radius: 14px;
  min-height: 54px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 550;
  color: #1c1917;
  transition: all 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}

.ha-home .form-field input::placeholder {
  color: #a8a29e;
  font-weight: 400;
}

.ha-home .form-field input:focus,
.ha-home .form-field select:focus {
  background: #ffffff;
  border-color: #f97316;
  outline: none;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.ha-home .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ha-home .btn-primary {
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #ffffff;
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(234, 88, 12, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  width: 100%;
  margin-top: 16px;
  transition: all 0.15s ease;
}

.ha-home .btn-primary:hover {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.45);
}

.ha-home .btn-primary:active {
  transform: scale(0.985);
}

.ha-home .pc-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.ha-home .pc-card {
  min-width: 0;
  background: #ffffff;
  border: 1px solid #f0eee9;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.ha-home .pc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.08);
  border-color: #fdba74;
}

.ha-home .pc-card .pc-image {
  display: block;
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: #f5f5f4;
  position: relative;
}

.ha-home .pc-card .pc-image .pc-photo-pill {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(32, 42, 51, 0.84);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.ha-home .pc-card .pc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
  transition: transform 0.3s ease;
}

.ha-home .pc-card:hover .pc-image img {
  transform: scale(1.04);
}

.ha-home .pc-card>div {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ha-home .pc-card h3 {
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ha-home .pc-card h3 a {
  color: var(--ui-ink);
  text-decoration: none;
}

.ha-home .pc-card h3 a:hover {
  color: var(--ui-accent-hover);
}

.ha-home .pc-card .pc-facts {
  align-self: flex-start;
  background: #fff7ed;
  color: #ea580c;
  font-weight: 750;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 100px;
  margin: 0 0 8px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ha-home .pc-card .pc-description {
  font-size: 12.5px;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ha-home .ha-all-cases {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  margin-top: 16px;
  color: #ea580c;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.05);
  transition: all 0.2s ease;
}

.ha-home .ha-all-cases:hover {
  background: #fff7ed;
  border-color: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.12);
}

.ha-home .ha-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.ha-home .ha-process li {
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.ha-home .ha-process li:hover {
  transform: translateY(-2px);
  border-color: #fed7aa;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.08);
}

.ha-home .ha-process span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
  box-shadow: 0 3px 8px rgba(234, 88, 12, 0.25);
}

.ha-home .ha-process h3 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: #0f172a;
}

.ha-home .ha-process p {
  font-size: 15px;
  line-height: 1.65;
  color: #64748b;
}

.ha-home .ui-faq summary {
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: 16px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 750;
  color: #0f172a;
  transition: all 0.15s ease;
  cursor: pointer;
}

.ha-home .ui-faq summary:hover {
  border-color: #fed7aa;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.06);
}

.ha-home .ui-faq[open] summary {
  border-color: #f97316;
  background: #fff7ed;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 0;
}

.ha-home .ui-faq-body {
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid #f97316;
  border-top: 0;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
}

/* 2026 Modern Mobility & Line-Wrap Enhancements */
.ha-home {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.ha-home h1,
.ha-home h2,
.ha-home h3,
.ha-home .ha-intro {
  text-wrap: balance;
}

.ha-home .ha-hero {
  position: relative;
  padding: 56px 0 52px;
  background-color: #1c1917;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 247, 237, 0.90) 50%, rgba(254, 215, 170, 0.80) 100%),
    url('/images/happyauto-center-hero.jpg');
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 1px solid #fed7aa;
}

@media (min-width: 1024px) {
  .ha-home .ha-hero {
    padding: 72px 0 64px;
    background-image:
      linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.97) 38%, rgba(255, 247, 237, 0.78) 64%, rgba(254, 215, 170, 0.60) 100%),
      url('/images/happyauto-center-hero.jpg');
  }
}

.ha-home .ha-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #9a3412;
  color: #ffffff;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(154, 52, 18, 0.2);
}

.ha-home .ha-kicker::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.ha-home .ha-facts {
  padding: 28px 24px;
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.ha-home .ha-case {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.ha-home #process-section {
  background: linear-gradient(180deg, #fafaf9 0%, #ffffff 100%);
}

.ha-home .ha-process li {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.04);
  transition: all 0.2s ease;
}

.ha-home .ha-process li:hover {
  border-color: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.1);
}

.ha-home .ha-facts h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.ha-home .ha-facts p:not(.ha-limit) {
  background: #ffffff;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.04);
  margin: 0 0 12px;
  transition: all 0.2s ease;
}

.ha-home .ha-facts p:not(.ha-limit):hover {
  border-color: #f97316;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.08);
  transform: translateY(-1px);
}

.ha-home .ha-facts p:not(.ha-limit) strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #c2410c;
  margin-bottom: 4px;
}

.ha-home .ha-intent-nav {
  border: 0;
  gap: 10px;
  margin: 20px 0;
}

.ha-home .ha-intent-nav a {
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: 14px;
  padding: 16px 18px;
  min-height: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.ha-home .ha-intent-nav a:hover {
  border-color: #f97316;
  background: #fffbf7;
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.07);
}

.ha-home .ha-intent-nav strong {
  font-size: 15px;
  font-weight: 750;
  color: #1c1917;
}

.ha-home .ha-intent-nav small {
  font-size: 13px;
  color: #78716c;
  line-height: 1.5;
}

.ha-home .ha-intent-nav .intent-arrow {
  color: #ea580c;
  font-size: 16px;
  font-weight: 800;
  transition: transform 0.15s ease;
}

.ha-home .ha-intent-nav a:hover .intent-arrow {
  transform: translateX(3px);
}

.ha-home .ha-model-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border: 0;
  margin: 24px 0;
  list-style: none;
  padding: 0;
}

.ha-home .ha-model-links a {
  background: #ffffff;
  border: 1px solid #e7e5e4;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: auto;
  border-bottom: 1px solid #e7e5e4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.15s ease;
  text-decoration: none;
}

.ha-home .ha-model-links a:hover {
  border-color: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.1);
}

.ha-home .ha-model-links strong {
  font-size: 16px;
  font-weight: 750;
  color: #1c1917;
}

.ha-home .ha-model-links span {
  font-size: 13px;
  color: #64748b;
}

@media (max-width: 1023px) {
  .ha-home .ha-model-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 639px) {
  .ha-home .ha-model-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .ha-home .ha-model-links a {
    padding: 14px;
  }
}

.ha-home .ha-facts .ha-limit {
  font-size: 13px;
  line-height: 1.6;
  color: #78716c;
  padding: 14px 16px;
  background: #fafaf9;
  border-radius: 12px;
  border: 1px dashed #d6d3d1;
  margin-top: 16px;
}

@media (max-width: 639px) {
  .ha-home .ha-hero {
    padding: 32px 0 28px;
  }

  .ha-home .ha-intro {
    font-size: 15px;
    line-height: 1.6;
  }

  .ha-home .ha-actions {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .ha-home .ha-action {
    padding: 12px 14px;
    font-size: 14px;
    white-space: nowrap;
    justify-content: center;
  }

  .ha-home .ha-phone {
    padding: 12px 14px;
    font-size: 14px;
    white-space: nowrap;
    justify-content: center;
  }

  .ha-home .pc-preview {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px 14px;
    border-radius: 20px;
  }

  .ha-home .pc-card .pc-image {
    height: 180px;
  }

  .ha-home .pc-card>div {
    padding: 16px;
  }

  .ha-home .pc-card h3 {
    font-size: 17px;
    line-height: 1.45;
    margin-bottom: 6px;
  }

  .ha-home .pc-card .pc-facts {
    font-size: 12.5px;
    padding: 3px 10px;
    margin-bottom: 8px;
  }

  .ha-home .pc-card .pc-description {
    font-size: 13.5px;
    line-height: 1.6;
  }

  .ha-home .ha-all-cases {
    width: 100%;
  }

  .ha-home .ha-process {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* -------------------------------------------------------------
   UX Refinement 2026-10-31:
   - Minimize company/business info exposure
   - Remove telephone consultation buttons/links
   - Simplify input form: remove form notice and automatic message notice
   ------------------------------------------------------------- */

/* 1. Remove telephone consultation buttons/links */
.ui-btn-call,
.ha-phone,
.cta-call,
.floating-cta a[href^="tel:"],
.ui-menu-panel a[href^="tel:"],
.footer-company a[href^="tel:"],
a[href^="tel:"] {
  display: none !important;
}

/* 2. Remove specified marketing & SMS disclosure notices from user view */
#form-notice,
.form-notice,
#messaging-notice {
  display: none !important;
}

/* 3. Simplify & streamline input form spacing */
.ha-home .form-card {
  padding: 32px 28px !important;
}
.ha-home .form-card .form-title {
  margin-bottom: 20px !important;
}
.ha-home .form-card form {
  margin-top: 0 !important;
}
.ha-home .form-field {
  margin-bottom: 14px !important;
}
.ha-home .form-card .btn-primary {
  margin-top: 10px !important;
}

/* 4. Action bar adjustments for hero & floating CTA without phone button */
.ha-home .ha-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}
.ha-home .ha-action {
  width: auto !important;
}
@media (max-width: 639px) {
  .ha-home .ha-actions {
    display: block !important;
    width: 100% !important;
  }
  .ha-home .ha-action {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    padding: 14px !important;
  }
}

.floating-cta.visible {
  display: grid !important;
  grid-template-columns: 1fr !important;
  width: min(calc(100% - 32px), 480px) !important;
}
.floating-cta .cta-quote {
  width: 100% !important;
}

/* 5. Minimize company & business info exposure */
.company-info,
.ui-footer .company-info,
.footer-company .company-info {
  display: none !important;
}

.ui-footer {
  padding-top: 24px !important;
  padding-bottom: calc(40px + env(safe-area-inset-bottom)) !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
}
.ui-footer-company {
  font-size: 11.5px !important;
  color: #64748b !important;
  line-height: 1.6 !important;
  opacity: 0.85;
}
.ui-footer-company p {
  font-size: 11px !important;
  color: #64748b !important;
  margin: 3px 0 0 !important;
}
.ui-footer-nav a {
  font-size: 12px !important;
  color: #475569 !important;
}
.footer-privacy {
  color: #64748b !important;
}