/* Shared presentation; each deployment receives its own copy. */
.language-picker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color 0.18s ease;
}
.language-picker:hover {
  color: #ffa600;
}
.language-picker:focus-within {
  outline: none;
}
.language-picker-icon,
.language-picker-icon * {
  color: inherit;
}
.language-picker-icon {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: currentColor;
  pointer-events: none;
}
.language-picker-select {
  width: auto;
  field-sizing: content;
  min-width: 0;
  max-width: 230px;
  height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: inherit;
  font: 400 16px/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
}
.language-picker-select option {
  background: #fff;
  color: #171717;
}
@media (max-width: 520px) {
  .language-picker {
    gap: 7px;
  }
  .language-picker-select {
    max-width: min(210px, 65vw);
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .language-picker {
    transition: none;
  }
}
html {
  scroll-padding-top: 100px;
}
body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
.header {
  backdrop-filter: blur(12px);
}
.seo-intro,
.seo-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px;
  box-sizing: border-box;
}
.seo-intro {
  padding-top: 140px;
  padding-bottom: 36px;
  text-align: center;
}
.seo-eyebrow {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.seo-intro h1 {
  max-width: 850px;
  margin: 0 auto 24px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.seo-intro > p:not(.seo-eyebrow) {
  max-width: 760px;
  margin: auto;
  color: #4b5d59;
  font-size: 18px;
  line-height: 1.8;
}
.content {
  min-height: 0;
  padding: 36px 20px 60px;
  gap: 40px;
}
.content .img-1,
.content .img-2 {
  width: min(32vw, 230px);
  height: auto;
  margin: 0;
}
.seo-section h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 24px;
  line-height: 1.3;
}
.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.seo-grid article {
  padding: 26px;
  border: 1px solid #dce5e1;
  border-radius: 20px;
  background: white;
}
.seo-grid h3 {
  margin-bottom: 12px;
  font-size: 20px;
}
.seo-grid p,
.seo-section > p,
.seo-faq p {
  color: #4b5d59;
  line-height: 1.8;
}
.seo-faq {
  border-top: 1px solid #dce5e1;
}
.seo-faq article {
  padding: 22px 0;
  border-bottom: 1px solid #dce5e1;
}
.seo-faq h3 {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.seo-section a {
  text-underline-offset: 3px;
}
.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
}
.seo-languages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  padding: 24px;
  font:
    14px/1.5 system-ui,
    sans-serif;
}
.seo-languages a {
  color: #4b5d59;
  text-underline-offset: 4px;
}
.seo-languages a[aria-current="page"] {
  font-weight: 700;
}
.footer {
  position: static;
  padding: 24px 20px;
  background: #eaf0ed;
}
a:focus-visible {
  outline: 3px solid #4265d6;
  outline-offset: 4px;
}
@media (max-width: 620px) {
  .seo-intro {
    padding-top: 116px;
  }
  .seo-intro > p:not(.seo-eyebrow) {
    font-size: 16px;
  }
  .seo-section {
    padding: 36px 20px;
  }
  .seo-grid {
    grid-template-columns: 1fr;
  }
  .content {
    gap: 14px;
    padding: 24px 12px;
  }
  .content .img-1,
  .content .img-2 {
    width: min(43vw, 230px);
  }
  .header-wrap {
    padding: 0 12px;
  }
  .header .title {
    margin-left: 10px;
    font-size: 17px;
    letter-spacing: 0;
  }
  .header .logo {
    width: 36px;
  }
}

/* Shared visual theme. Loaded after legacy page styles; business/status colors stay semantic. */
:root {
  --site-accent: #ffa600;
  --site-text: #171717;
  --site-muted: #666;
  --site-border: #e6e6e6;
  color-scheme: light;
  background: #fff;
}
body {
  margin: 0;
  background: #fff;
  color: var(--site-text);
  -webkit-font-smoothing: antialiased;
}
a,
a:hover,
.seo-section a,
.eyebrow,
.seo-eyebrow {
  color: var(--site-accent);
}
a {
  text-underline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--site-accent);
  outline-offset: 4px;
}
.site-header {
  background: rgba(255, 255, 255, 0.94);
}
.site-name {
  color: var(--site-text);
}
.header-wrap,
.site-header-inner {
  gap: 12px;
}
.header .title {
  min-width: 0;
}
.site-header-inner {
  flex-wrap: wrap;
  padding: 12px 0;
}
.site-header-inner .language-picker-icon {
  width: 18px;
  height: 18px;
}
.site-header-inner .language-picker-select {
  font-size: 14px;
}
.document > h1 {
  font-size: clamp(28px, 5vw, 40px);
}
.document > p,
.document > ul,
.document > ol {
  color: var(--site-muted);
}
.notice,
.support-card {
  border: 1px solid var(--site-border);
  border-radius: 10px;
  background: #fafafa;
}
.auth-step {
  border-color: var(--site-border);
  border-radius: 10px;
}
.confirmation-input:focus {
  border-color: var(--site-accent);
  outline: 2px solid rgba(255, 166, 0, 0.25);
}
.document-dialog,
.document-frame {
  background: #fff;
}
.footer {
  position: static;
  padding: 12px 24px 28px;
  font-size: 12px;
}
.seo-intro > p:not(.seo-eyebrow),
.seo-grid p,
.seo-section > p,
.seo-faq p {
  color: var(--site-muted);
}
.seo-intro h1 {
  font-size: clamp(28px, 4vw, 40px);
}
.seo-grid {
  gap: 40px;
  border-top: 1px solid var(--site-border);
  padding-top: 28px;
}
.seo-grid article {
  padding: 0;
  border: 0;
  border-radius: 0;
}
.seo-grid h3 {
  font-size: 16px;
}
.seo-faq,
.seo-faq article {
  border-color: var(--site-border);
}
.seo-languages a {
  color: var(--site-muted);
}
.seo-languages a:hover,
.seo-languages a[aria-current="page"] {
  color: var(--site-accent);
}
.home-page .home-introduction > *,
.home-page .home-questions > * {
  min-width: 0;
}
.home-page .home-questions a {
  overflow-wrap: anywhere;
}
.home-page .card_box {
  width: min(320px, calc(100vw - 40px));
  max-height: calc(100svh - 40px);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}
.home-page .card_box span {
  display: none;
}
.home-page .card_box p {
  color: var(--site-muted);
}
.invite-page header {
  gap: 20px;
  flex-wrap: wrap;
}
.invite-page main {
  max-width: 620px;
  margin: 40px auto;
  padding: 32px 24px;
}
.invite-page .tag {
  color: var(--site-accent);
}
.invite-page .rules,
.invite-page footer {
  color: var(--site-muted);
}
.invite-page footer a {
  color: var(--site-accent);
}
@media (max-width: 620px) {
  .site-header-inner {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 8px 10px;
  }
  .site-logo {
    grid-area: 1 / 1;
  }
  .site-name {
    grid-area: 1 / 2;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .site-header-inner .language-picker {
    grid-area: 1 / 3;
    justify-self: end;
  }
  .language-picker {
    min-width: 0;
  }
  .language-picker-select {
    max-width: min(150px, 42vw);
  }
  .document {
    margin: 20px auto;
    padding: 24px 16px;
  }
  .home-page .header-wrap {
    flex-wrap: nowrap;
  }
  .home-page .header-actions {
    min-width: 0;
    margin-left: auto;
    flex: 0 1 auto;
  }
  .home-page .header .title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .invite-page header {
    flex-wrap: nowrap;
  }
  .invite-page main {
    margin: 0 auto;
  }
}
