:root {
  --ink: #13233d;
  --muted: #5e6d83;
  --line: #d8e0ea;
  --page: #f5f7fa;
  --panel: #ffffff;
  --accent: #1463d8;
  --accent-dark: #0f4eae;
  --mint: #dcf6ea;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

a { color: inherit; }

.site-header, main, .site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-symbol { display: block; width: 68px; height: 68px; object-fit: contain; }
.brand-copy { display: grid; gap: 0; line-height: 1; }
.brand-title { color: var(--accent); font-size: 1.55rem; font-weight: 700; letter-spacing: 0; }
.brand-name { margin-top: 3px; color: var(--ink); font-size: .66rem; font-weight: 700; letter-spacing: .04em; }
.brand-tagline { margin-top: 5px; color: var(--muted); font-size: .48rem; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a, .language-toggle { color: var(--muted); font-family: inherit; font-size: .84rem; font-weight: 600; text-decoration: none; }
.main-nav a:hover { color: var(--accent); }
.language-toggle { border: 1px solid var(--line); border-radius: 4px; background: var(--panel); padding: 8px 11px; cursor: pointer; }
.language-current { color: var(--accent); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  align-items: stretch;
  gap: 24px;
  padding: 72px 0 56px;
}

.hero-copy, .hero-panel, .content-section, .company-section, .contact-section {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
}

.hero-copy { padding: clamp(32px, 6vw, 70px); }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 20px; font-size: clamp(2rem, 4vw, 4rem); font-weight: 700; letter-spacing: 0; line-height: 1.1; }
h2 { margin-bottom: 0; font-size: clamp(1.5rem, 2.4vw, 2.4rem); font-weight: 700; letter-spacing: 0; line-height: 1.2; }
h3 { margin-bottom: 10px; font-size: 1.05rem; font-weight: 700; }
.hero-text { max-width: 650px; margin-bottom: 28px; color: var(--muted); font-size: 1.05rem; }
.primary-link { display: inline-block; border-radius: 4px; background: var(--accent); color: #ffffff; padding: 13px 18px; font-size: .9rem; font-weight: 700; text-decoration: none; }
.primary-link:hover { background: var(--accent-dark); }

.hero-panel { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 480px; overflow: hidden; background: var(--ink); border-color: var(--ink); color: #ffffff; padding: 0; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-panel-content { position: relative; z-index: 1; margin-top: auto; background: rgba(19, 35, 61, .94); padding: 26px 28px 28px; }
.panel-label { color: #a9c9ff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.platform-note { margin: 0 0 18px; color: #ffffff; font-size: .9rem; font-weight: 600; }
.hero-panel ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero-panel li { border-top: 1px solid rgba(255,255,255,.2); padding-top: 10px; font-size: .88rem; font-weight: 600; }

.content-section { padding: clamp(30px, 5vw, 56px); }
.section-heading { max-width: 760px; margin-bottom: 32px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-item { min-height: 220px; border-top: 3px solid var(--accent); background: #f5f8fc; padding: 22px; }
.service-number { display: block; margin-bottom: 32px; color: var(--accent); font-size: .8rem; font-weight: 700; }
.service-item p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }

.tool-section {
  margin-top: 24px;
  border: 1px solid #9bdcc1;
  border-radius: 8px;
  background: #effbf5;
  padding: clamp(30px, 5vw, 56px);
}

.tool-heading { max-width: 780px; }
.tool-heading > p:not(.eyebrow) { margin: 16px 0 0; color: #405b51; }
.tool-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.tool-card { border: 1px solid #b8e8d0; border-radius: 6px; background: #ffffff; padding: 22px; }
.tool-card h3 { color: #166a43; }
.tool-card p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }
.tool-review { margin-top: 18px; border: 1px solid #b5cceb; border-radius: 6px; background: #f7fbff; padding: 22px; }
.tool-review > h3 { margin-bottom: 18px; color: #174d94; }
.tool-review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tool-review-grid article { border-left: 3px solid #2c73d9; padding: 4px 0 4px 14px; }
.tool-review-grid h4 { margin: 0 0 5px; color: var(--ink); font-size: .9rem; font-weight: 700; }
.tool-review-grid p { margin: 0; color: var(--muted); font-size: .84rem; }
.tool-note { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; border-left: 3px solid #16a765; padding: 12px 14px; color: #35594a; background: #e0f8eb; font-size: .88rem; }
.tool-note strong { color: #11653e; font-weight: 700; }

.company-section { display: grid; grid-template-columns: .7fr 1.3fr; gap: 42px; margin-top: 24px; padding: clamp(30px, 5vw, 56px); }
.company-copy { color: var(--muted); }
.company-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 0; }
.company-details div { border-top: 1px solid var(--line); padding-top: 12px; }
.company-details dt { color: var(--muted); font-size: .72rem; font-weight: 600; }
.company-details dd { margin: 4px 0 0; color: var(--ink); font-size: .86rem; font-weight: 600; }

.contact-section { margin: 24px 0 56px; padding: clamp(30px, 5vw, 56px); background: var(--mint); border-color: #9bdcc1; }
.contact-section > p:not(.eyebrow) { max-width: 620px; margin: 16px 0 22px; color: #405b51; }
.email-link { color: var(--accent-dark); font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.site-footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 24px 0 34px; color: var(--muted); font-size: .78rem; }
.site-footer p { margin: 0; }
.site-footer div { display: flex; gap: 18px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

@media (max-width: 820px) {
  .site-header, main, .site-footer { width: min(100% - 28px, 1180px); }
  .site-header { height: auto; min-height: 86px; flex-wrap: wrap; padding: 12px 0; overflow: visible; }
  .main-nav { order: 3; width: 100%; justify-content: space-between; margin-left: 0; }
  .hero, .company-section { grid-template-columns: 1fr; }
  .hero { padding: 30px 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .tool-grid, .tool-review-grid { grid-template-columns: 1fr; }
  .company-details { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand-symbol { width: 54px; height: 54px; }
  .brand-title { font-size: 1.3rem; }
  .brand-name { font-size: .57rem; }
  .brand-tagline { font-size: .42rem; }
  .main-nav { gap: 10px; }
  .main-nav a { font-size: .75rem; }
  .hero-copy, .content-section, .tool-section, .company-section, .contact-section { padding: 25px; }
  .hero-panel-content { padding: 25px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-item { min-height: auto; }
  .service-number { margin-bottom: 18px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
