:root {
  --page-bg: #dfdfe0;
  --surface: #f7f7f7;
  --text: #121212;
  --body: #161616;
  --muted: #747878;
  --soft: #737373;
  --line: #d9d8d2;
  --header-line: #e5e5e5;
  --black: #000000;
  --white: #ffffff;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: "DM Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 80px;
  background: rgba(247, 247, 247, 0.9);
  border-bottom: 1px solid var(--header-line);
  backdrop-filter: blur(6px);
}
.header-inner {
  min-height: 79px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 48px;
  gap: 24px;
}
.brand {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.076px;
  white-space: nowrap;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 31px;
  min-height: 36px;
}
.site-nav a, .menu-toggle, .language-switch a, .language-current {
  color: var(--soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.35px;
}
.site-nav a:hover, .footer-inner a:hover, .footer-inner button:hover, .brand:hover, .language-switch a:hover { color: var(--black); }
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--soft);
  white-space: nowrap;
}
.language-current { font-weight: 900; color: var(--black); }
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px 0;
  cursor: pointer;
}

.hero { min-height: 717px; background: var(--page-bg); }
.hero-inner { position: relative; min-height: 637px; padding: 167px 48px 84px; }
.hero h1 { margin: 0; font-size: clamp(62px, 8vw, 95px); font-weight: 600; line-height: 0.84; letter-spacing: -0.361px; }
.claim-row { display: flex; align-items: center; gap: 50px; margin-top: 37px; }
.claim-mark { width: 8px; height: 54px; background: var(--black); display: inline-block; flex: 0 0 auto; }
.claim-row p { margin: 0; font-size: clamp(21px, 2vw, 28.5px); line-height: 1.12; letter-spacing: -0.1083px; color: var(--black); }
.hero-copy { width: min(808px, 100%); margin: 43px 0 0; color: var(--muted); font-size: 18px; line-height: 28.8px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 32px;
  border: 0;
  border-radius: 9999px;
  background: var(--black);
  color: var(--white);
  font-weight: 500;
  font-size: 16px;
  line-height: 25.6px;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease;
}
.button:hover { transform: translateY(-1px); opacity: 0.9; }
.hero .button { margin-top: 40px; min-height: 58px; }
.button.full { width: 100%; }

.content-section { background: var(--surface); min-height: 683px; padding: 89px 0 104px; }
.with-rule .narrow-section { border-top: 1px solid var(--line); padding-top: 89px; }
.narrow-section { padding-left: 48px; }
.narrow-section h2, .contact-copy h2, .legal-content h1, .login-copy h1 {
  margin: 0;
  color: var(--text);
  font-size: 38px;
  font-weight: 600;
  line-height: 55px;
  letter-spacing: -0.38px;
}
.body-copy { width: min(572px, 100%); margin-top: 45px; color: var(--body); line-height: 25.6px; }
.body-copy p { margin: 0 0 25.6px; }
.body-copy p:last-child { margin-bottom: 0; }

.contact-section { background: var(--page-bg); padding: 120px 0; min-height: 534px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 582px) minmax(320px, 364px); gap: 54px; padding-inline: 48px; align-items: start; }
.contact-copy { padding-top: 28px; }
.contact-copy h2 { max-width: 553px; }
.contact-copy p { width: min(535px, 100%); margin: 18px 0 0; color: var(--muted); line-height: 25.6px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 32px; min-height: 294px; }
.contact-card h3 { margin: 0; color: var(--text); font-size: 22px; font-weight: 600; line-height: 26.4px; }
.contact-card p { margin: 17px 0 20px; color: var(--muted); line-height: 30px; }
.contact-card a:not(.button), .legal-content a, .form-note a { text-decoration: underline; text-underline-offset: 3px; }

.site-footer { min-height: 80px; background: var(--surface); border-top: 1px solid var(--header-line); color: var(--soft); }
.footer-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: 48px; font-size: 12px; line-height: 16px; letter-spacing: 0.3px; }
.footer-inner p { margin: 0; max-width: 736px; }
.footer-inner nav { display: flex; align-items: center; gap: 16px; color: #a3a3a3; }
.footer-inner button { border: 0; background: transparent; padding: 0; color: inherit; cursor: pointer; letter-spacing: inherit; }

.cookie-layer { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; padding: 32px; background: rgba(0, 0, 0, 0.5); }
.cookie-layer[hidden] { display: none; }
.cookie-panel { width: min(654px, 100%); max-height: min(666px, calc(100vh - 64px)); overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 42px; color: var(--text); }
.cookie-panel h2, .cookie-panel h3 { margin: 0 0 16px; font-size: 20px; line-height: 25.6px; font-weight: 600; }
.cookie-panel p { margin: 0 0 20px; font-size: 16px; line-height: 25.6px; }
.cookie-panel .button { float: right; width: 223px; }

.simple-page, .legal-main { background: var(--surface); }
.simple-header { padding-inline: 48px; }
.legal-main { min-height: calc(100vh - 160px); padding: 38px 0 80px; }
.legal-content { max-width: 960px; padding: 0 48px; }
.legal-content h1 { margin-bottom: 58px; }
.legal-content h2 { margin: 26px 0 8px; font-size: 20px; line-height: 25.6px; font-weight: 600; }
.legal-content p { max-width: 673px; margin: 0 0 16px; color: var(--body); line-height: 25.6px; }
.legal-footer { margin-top: auto; }

.login-main { min-height: calc(100vh - 160px); padding: 98px 0 110px; background: var(--page-bg); }
.login-grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(320px, 513px); gap: 48px; align-items: start; padding-inline: 48px; }
.login-copy { padding-top: 73px; }
.login-copy p { max-width: 425px; color: var(--muted); line-height: 25.6px; }
.login-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 36px; }
.login-card h2 { margin: 0 0 28px; font-size: 32px; line-height: 38px; letter-spacing: -0.32px; }
.login-card label { display: block; margin-bottom: 17px; color: var(--text); font-size: 14px; font-weight: 500; }
.login-card label span { display: block; margin-bottom: 8px; }
.login-card input { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 9999px; padding: 0 18px; background: var(--white); color: var(--text); }
.form-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 22px; }

@media (max-width: 1050px) {
  .site-nav { gap: 20px; }
  .header-inner { padding-inline: 24px; }
}

@media (max-width: 900px) {
  .container { width: min(100% - 32px, var(--container)); }
  .site-header { height: auto; min-height: 72px; }
  .header-inner { height: auto; min-height: 72px; padding-inline: 0; flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 14px; padding: 14px 0 22px; }
  .site-nav.is-open { display: flex; }
  .language-switch { padding-top: 4px; }
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; padding: 92px 0 84px; }
  .claim-row { gap: 24px; align-items: flex-start; }
  .claim-row p { white-space: normal; }
  .hero-copy { margin-top: 34px; }
  .content-section { min-height: auto; padding: 76px 0; }
  .with-rule .narrow-section { padding-top: 76px; }
  .narrow-section, .contact-grid, .legal-content, .login-grid { padding-inline: 0; }
  .narrow-section h2, .contact-copy h2, .legal-content h1, .login-copy h1 { font-size: 32px; line-height: 42px; }
  .contact-section { padding: 76px 0; }
  .contact-grid, .login-grid { grid-template-columns: 1fr; }
  .contact-copy, .login-copy { padding-top: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding: 24px 0; }
  .footer-inner nav { flex-wrap: wrap; }
  .cookie-layer { align-items: center; padding: 16px; }
  .cookie-panel { padding: 28px; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 24px, var(--container)); }
  .brand { font-size: 18px; }
  .hero-inner { padding-top: 68px; padding-bottom: 68px; }
  .hero h1 { font-size: clamp(46px, 16vw, 62px); line-height: 0.9; }
  .claim-row { gap: 18px; margin-top: 30px; }
  .claim-mark { height: 72px; }
  .claim-row p { font-size: 21px; line-height: 1.18; }
  .hero-copy { font-size: 16px; line-height: 25.6px; }
  .button, .hero .button, .cookie-panel .button { width: 100%; }
  .cookie-panel .button { float: none; }
  .contact-card, .login-card { padding: 26px; }
  .legal-content h1 { margin-bottom: 40px; }
}

.nav-current { font-weight: 600; color: var(--text); }
