:root {
  --brand: #ed6f1b;
  --widget-accent: #ffab00;
  --ink: #1d1f22;
  --muted: #5e636a;
  --line: #e8e2dc;
  --footer: #f7f7f9;
  --panel: #e8f5fc;
  --container: 1160px;
  --quote-content-wide: 1220px;
  --header-height: clamp(72px, 7vw, 86px);
  --brand-mark-height: clamp(32px, 3.8vw, 40px);
  --page-gutter: clamp(16px, 4vw, 32px);
  --quote-section-gap: clamp(32px, 5vw, 56px);
  --quote-direct-bottom-extra: clamp(10px, 1.6vw, 18px);
  --radius-card: 14px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--footer);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
video,
canvas,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(237, 111, 27, 0.28);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(232, 226, 220, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(30, 32, 35, 0.06);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 32px);
}

.brand-lockup,
.logo-link,
.header-access,
.access-button {
  display: flex;
  align-items: center;
}

.brand-lockup {
  flex: 1 1 auto;
  min-width: 0;
  gap: clamp(12px, 2.2vw, 26px);
}

.logo-link {
  flex: 0 1 auto;
  min-width: 0;
}

.logo {
  width: auto;
  height: var(--brand-mark-height);
  object-fit: contain;
  flex: 0 1 auto;
}

.logo-cuora {
  max-width: clamp(118px, 18vw, 170px);
}

.logo-facile {
  max-width: clamp(104px, 16vw, 150px);
}

.brand-divider {
  width: 1px;
  height: var(--brand-mark-height);
  background: var(--line);
  flex: 0 0 auto;
}

.header-access {
  flex: 0 1 auto;
  min-width: 0;
  justify-content: flex-end;
  gap: 18px;
  color: #565b62;
  font-size: 0.94rem;
  white-space: nowrap;
}

.access-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 0;
  line-height: 1.18;
}

.access-copy > span,
.access-copy small {
  font-size: clamp(0.84rem, 1.4vw, 0.94rem);
  letter-spacing: -0.01em;
}

.access-copy small {
  color: #7f858c;
  font-weight: 300;
}

.access-button,
.content-card .content-button {
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid rgba(237, 111, 27, 0.42);
  border-radius: 999px;
  color: var(--brand);
  background: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.access-button:hover,
.content-card .content-button:hover {
  color: var(--brand);
  background: rgba(237, 111, 27, 0.06);
  border-color: var(--brand);
  transform: translateY(-1px);
}

.access-mobile-link {
  display: none;
}

.page-main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
}

.quote-page .page-main {
  flex: 0 0 auto;
}

.quote-main {
  justify-content: flex-start;
  padding-bottom: 0;
}


.widget-choice-section {
  flex: 0 0 auto;
  width: 100%;
  padding: var(--quote-section-gap) 0;
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(205, 227, 239, 0.78), inset 0 -1px 0 rgba(205, 227, 239, 0.78);
}

.widget-choice-container,
.widget-container {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--quote-content-wide));
  margin-inline: auto;
}

.widget-choice-container {
  padding: 0 clamp(14px, 2.8vw, 28px);
}

.widget-choice-copy {
  width: 100%;
  max-width: 100%;
  margin-bottom: clamp(14px, 2vw, 18px);
}

.widget-choice-copy h1 {
  max-width: 720px;
  margin: 0;
  color: #20242a;
  font-size: clamp(1.38rem, 2.35vw, 2rem);
  font-weight: 560;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.choice-subtitle {
  display: block;
  max-width: 1120px;
  width: 100%;
  margin: 8px 0 0;
  color: #5f6874;
  font-size: clamp(0.9rem, 1.35vw, 0.98rem);
  font-weight: 400;
  line-height: 1.48;
  white-space: normal;
  overflow-wrap: anywhere;
}

.widget-choice-panel {
  width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.profession-choice-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 30px);
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.profession-choice-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 78px;
  padding: clamp(13px, 1.8vw, 16px);
  border: 1px solid #d6dce2;
  border-radius: var(--radius-card);
  color: #1f252d;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(30, 32, 35, 0.02);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.profession-choice-card:hover {
  border-color: rgba(255, 171, 0, 0.46);
  box-shadow: 0 12px 28px rgba(30, 32, 35, 0.06);
  transform: translateY(-1px);
}

.profession-choice-card.is-selected,
.profession-choice-card:has(.profession-choice-input:checked) {
  border-color: rgba(255, 171, 0, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 171, 0, 0.12);
}

.profession-choice-input {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  border: 1.5px solid #9ea6af;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.profession-choice-input:checked {
  border-color: var(--widget-accent);
  background: radial-gradient(circle at center, var(--widget-accent) 0 42%, transparent 43% 100%), #fff;
}

.profession-choice-input:focus-visible {
  outline: 2px solid rgba(255, 171, 0, 0.36);
  outline-offset: 3px;
}

.profession-choice-content {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.profession-choice-title {
  color: #15191f;
  font-size: clamp(0.96rem, 1.35vw, 1rem);
  font-weight: 650;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.profession-choice-description {
  color: #6d737c;
  font-size: clamp(0.84rem, 1.16vw, 0.88rem);
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.profession-choice-examples {
  margin-top: 3px;
  color: #7b818a;
  font-size: clamp(0.76rem, 1vw, 0.8rem);
  font-weight: 400;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.widget-section {
  position: relative;
  flex: 0 0 auto;
  display: flow-root;
  width: 100%;
  padding-block: var(--quote-section-gap);
  background: #fff;
}

.quote-direct-page .widget-section {
  padding-bottom: calc(var(--quote-section-gap) + var(--quote-direct-bottom-extra));
}

.widget-container {
  position: relative;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  line-height: 0;
}

.widget-loader {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: start center;
  min-height: 180px;
  padding: 34px var(--page-gutter) 0;
  color: #62676e;
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.widget-container.is-loading .widget-loader {
  opacity: 1;
  visibility: visible;
}

.quote-widget {
  --widget-height: 430px;
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: var(--widget-height);
  min-height: var(--widget-height);
  border: 0;
  margin: 0;
  background: transparent;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.quote-widget.is-active {
  position: relative;
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.widget-reset-section {
  width: 100%;
  margin-top: var(--quote-section-gap);
  padding: 0;
  background: transparent;
}

.widget-reset-container {
  text-align: center;
  line-height: 1;
}

.widget-reset-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #a6abb1;
  font-size: clamp(0.82rem, 1vw, 0.9rem);
  font-weight: 400;
  text-decoration: none;
  line-height: 1.1;
  cursor: pointer;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.widget-reset-icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.widget-reset-link:hover,
.widget-reset-link:focus-visible {
  color: #747980;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.content-main {
  background: #fff;
}

.content-section {
  padding: clamp(42px, 7vw, 92px) 0 clamp(48px, 7vw, 86px);
}

.content-container {
  max-width: var(--container);
}

.content-card {
  width: 100%;
  min-width: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: clamp(26px, 4vw, 44px);
  color: #646971;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.back-link:hover,
.content-card a:hover,
.footer-links a:hover,
.footer-company a:hover {
  color: var(--brand);
}

.content-card h1 {
  margin: 0 0 clamp(22px, 3vw, 28px);
  color: var(--ink);
  font-size: clamp(1.85rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.content-card h2 {
  margin: 30px 0 10px;
  color: var(--ink);
  font-size: clamp(1.02rem, 2.2vw, 1.1rem);
  font-weight: 550;
  letter-spacing: -0.01em;
}

.content-card p,
.content-card li {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.8vw, 1rem);
  overflow-wrap: anywhere;
  text-align: justify;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.content-card p {
  margin: 0 0 15px;
}

.content-card ul {
  margin: 0 0 14px;
  padding-left: 1.25rem;
}

.content-card li {
  margin-bottom: 8px;
}

.content-card a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.content-actions {
  margin-top: clamp(36px, 6vw, 52px);
}

.content-card .content-button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  background: var(--footer);
  border-top: 1px solid var(--line);
  color: #3a3d41;
}

.quote-page .site-footer {
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, auto);
  align-items: start;
  justify-content: space-between;
  column-gap: clamp(42px, 8vw, 140px);
  row-gap: 24px;
  padding: 24px 0 16px;
}

.footer-company,
.footer-links,
.footer-links > div {
  min-width: 0;
}

.footer-company p {
  max-width: 620px;
  margin: 0 0 5px;
  color: #5d6268;
  font-size: 0.88rem;
  line-height: 1.34;
  overflow-wrap: anywhere;
}

.company-name,
.footer-links h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: -0.01em;
}

.footer-company .ivass-note {
  padding-top: 0;
  color: #5d6268;
  font-size: 0.88rem;
  line-height: 1.34;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, max-content));
  justify-content: end;
  justify-self: end;
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: 18px;
}

.footer-links a {
  display: block;
  margin-bottom: 5px;
  color: #60656c;
  font-size: 0.88rem;
  line-height: 1.34;
  transition: color 0.2s ease;
  overflow-wrap: anywhere;
}

.footer-company a {
  color: inherit;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 11px 0 14px;
  border-top: 1px solid rgba(232, 226, 220, 0.9);
  color: #73777d;
  font-size: 0.82rem;
  line-height: 1.3;
}

@media (max-width: 1024px) {
  :root {
    --container: 100%;
    --quote-content-wide: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-links {
    justify-content: start;
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: auto;
    padding: 16px 0 14px;
  }

  .header-access {
    gap: 12px;
  }

  .access-copy {
    flex-shrink: 1;
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: clamp(14px, 4.6vw, 24px);
    --brand-mark-height: 42px;
    --quote-section-gap: 24px;
    --quote-direct-bottom-extra: 12px;
  }

  .header-inner {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }

  .brand-lockup {
    align-items: center;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-inline: auto;
    gap: clamp(10px, 3.6vw, 16px);
  }

  .logo-cuora,
  .logo-facile {
    max-width: calc((100vw - (var(--page-gutter) * 2) - 44px) / 2);
  }

  .brand-divider {
    display: block;
    height: 30px;
  }

  .header-access {
    width: 100%;
    justify-content: center;
    gap: 0;
    white-space: normal;
  }

  .access-copy,
  .access-button {
    display: none;
  }

  .access-mobile-link {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    max-width: 100%;
    color: #6f747b;
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
  }

  .access-mobile-link span {
    color: var(--brand);
    font-weight: 550;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
  }

  .profession-choice-options {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .widget-choice-container,
  .widget-container {
    width: 100%;
    max-width: 100%;
  }

  .widget-choice-container {
    padding-inline: clamp(18px, 5.4vw, 30px);
  }

  .widget-choice-copy {
    margin-bottom: 24px;
  }

  .choice-subtitle {
    margin-top: 10px;
  }

  .quote-widget {
    --widget-height: 360px;
  }
}

@media (max-width: 560px) {
  :root {
    --page-gutter: 16px;
    --brand-mark-height: 38px;
    --quote-section-gap: 24px;
    --quote-direct-bottom-extra: 12px;
  }

  body:not(.quote-page) {
    min-height: auto;
  }

  body:not(.quote-page) .page-main {
    flex: 0 0 auto;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    padding: 14px 0 12px;
    gap: 10px;
  }

  .access-mobile-link {
    font-size: 0.8rem;
  }

  .widget-choice-container {
    width: 100%;
    max-width: 100%;
    padding-inline: clamp(16px, 6vw, 28px);
  }

  .widget-choice-copy {
    margin-bottom: 24px;
  }

  .widget-choice-copy h1 {
    font-size: clamp(1.16rem, 6vw, 1.36rem);
    line-height: 1.14;
    letter-spacing: -0.02em;
  }

  .choice-subtitle {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .profession-choice-card {
    min-height: 0;
    padding: 14px;
    border-radius: 12px;
  }

  .profession-choice-input {
    width: 19px;
    height: 19px;
  }

  .profession-choice-title {
    font-size: 0.97rem;
    line-height: 1.24;
  }

  .profession-choice-description {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .profession-choice-examples {
    margin-top: 2px;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .quote-widget {
    --widget-height: 340px;
  }

  .content-section {
    padding: 34px 0 46px;
  }

  .content-card h1 {
    font-size: clamp(1.72rem, 9vw, 2.18rem);
  }

  .content-card ul {
    padding-left: 1.1rem;
  }

  .content-card .content-button {
    width: 100%;
    padding-inline: 18px;
  }

  .site-footer {
    margin-top: 0;
  }

  .footer-grid {
    gap: 14px;
    padding: 18px 0 10px;
  }

  .footer-company p {
    margin-bottom: 3px;
    font-size: 0.84rem;
    line-height: 1.28;
  }

  .company-name,
  .footer-links h2 {
    margin-bottom: 7px;
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .footer-company .ivass-note {
    font-size: 0.84rem;
    line-height: 1.28;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-links a {
    margin-bottom: 4px;
    font-size: 0.86rem;
    line-height: 1.28;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 10px;
    font-size: 0.78rem;
    line-height: 1.25;
  }
}

@media (max-width: 390px) {
  :root {
    --brand-mark-height: 34px;
  }

  .header-inner {
    padding-top: 13px;
    padding-bottom: 12px;
  }

  .brand-lockup {
    gap: 9px;
  }

  .brand-divider {
    height: 26px;
  }

  .access-mobile-link {
    font-size: 0.76rem;
  }

  .quote-widget {
    --widget-height: 320px;
  }
}

@supports (padding: max(0px)) {
  .site-header,
  .site-footer {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

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