:root {
  --bg: #07111f;
  --bg-soft: #0c182a;
  --surface: rgba(11, 24, 40, 0.82);
  --surface-strong: rgba(14, 30, 50, 0.96);
  --surface-border: rgba(151, 181, 255, 0.16);
  --text: #f4f7fb;
  --muted: #98a8be;
  --accent: #6ee7ff;
  --accent-strong: #8fb4ff;
  --accent-warm: #9ff7d2;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-height: 88px;
  --transition: 220ms ease;
  --header-bg: rgba(7, 17, 31, 0.72);
  --header-border: rgba(255, 255, 255, 0.05);
  --nav-bg: rgba(7, 17, 31, 0.96);
  --nav-link: #b2c0d4;
  --nav-hover-bg: rgba(255, 255, 255, 0.08);
  --nav-hover-border: rgba(255, 255, 255, 0.12);
  --nav-hover-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  --button-ghost-bg: rgba(255, 255, 255, 0.03);
  --button-ghost-border: rgba(255, 255, 255, 0.14);
  --field-bg: rgba(255, 255, 255, 0.04);
  --field-bg-focus: rgba(255, 255, 255, 0.06);
  --field-border: rgba(255, 255, 255, 0.1);
  --form-label: #f4f8ff;
  --overlay-grid: rgba(255, 255, 255, 0.03);
  --panel-soft: rgba(255, 255, 255, 0.025);
  --pill-bg: rgba(255, 255, 255, 0.03);
  --pill-border: rgba(255, 255, 255, 0.08);
  --body-grad-1: rgba(111, 231, 255, 0.14);
  --body-grad-2: rgba(143, 180, 255, 0.12);
  --body-grad-3: #06101c;
  --body-grad-4: #081423;
  --body-grad-5: #050b14;
}

body[data-theme="light"] {
  --bg: #f3f7fc;
  --bg-soft: #e7eef7;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --surface-border: rgba(36, 67, 112, 0.12);
  --text: #0c1a2e;
  --muted: #5b6d84;
  --accent: #0da4c8;
  --accent-strong: #255fda;
  --accent-warm: #2fc18c;
  --shadow: 0 24px 70px rgba(22, 41, 77, 0.12);
  --header-bg: rgba(243, 247, 252, 0.78);
  --header-border: rgba(28, 51, 89, 0.08);
  --nav-bg: rgba(255, 255, 255, 0.98);
  --nav-link: #344862;
  --nav-hover-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(229, 238, 248, 0.96));
  --nav-hover-border: rgba(28, 51, 89, 0.12);
  --nav-hover-shadow: 0 12px 28px rgba(28, 51, 89, 0.12);
  --button-ghost-bg: rgba(12, 26, 46, 0.04);
  --button-ghost-border: rgba(28, 51, 89, 0.14);
  --field-bg: rgba(12, 26, 46, 0.03);
  --field-bg-focus: rgba(12, 26, 46, 0.06);
  --field-border: rgba(28, 51, 89, 0.12);
  --form-label: #10233f;
  --overlay-grid: rgba(12, 26, 46, 0.05);
  --panel-soft: rgba(255, 255, 255, 0.7);
  --pill-bg: rgba(255, 255, 255, 0.82);
  --pill-border: rgba(28, 51, 89, 0.1);
  --body-grad-1: rgba(13, 164, 200, 0.12);
  --body-grad-2: rgba(37, 95, 218, 0.1);
  --body-grad-3: #f4f8fc;
  --body-grad-4: #edf3f9;
  --body-grad-5: #e4edf7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, var(--body-grad-1), transparent 34%),
    radial-gradient(circle at top right, var(--body-grad-2), transparent 28%),
    linear-gradient(180deg, var(--body-grad-3) 0%, var(--body-grad-4) 44%, var(--body-grad-5) 100%);
  line-height: 1.6;
  transition: background-color var(--transition), color var(--transition), background var(--transition);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--overlay-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--overlay-grid) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
  opacity: 0.25;
}

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

img {
  max-width: 100%;
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: #04101d;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-soft {
  position: relative;
}

.section-soft::before {
  content: "";
  position: absolute;
  inset: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  pointer-events: none;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading h2,
.hero h1,
.cta-panel h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  max-width: 10ch;
}

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

.section-heading h2,
.cta-panel h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.section-heading p,
.hero-text,
.hero-subtitle,
.cta-panel p,
.support-copy p,
.info-card p,
.service-card p,
.benefit-item p,
.hero-card p,
.trust-band p {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  padding: 8px;
  background: var(--button-ghost-bg);
  box-shadow: 0 12px 30px rgba(110, 231, 255, 0.18);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 0.92rem;
  letter-spacing: 0.1em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  position: absolute;
  top: calc(100% + 12px);
  left: 16px;
  right: 16px;
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  background: var(--nav-bg);
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--nav-link);
  transition:
    color var(--transition),
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.site-nav a:hover,
.site-nav a.is-active,
.site-nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
  border-color: var(--nav-hover-border);
  background: var(--nav-hover-bg);
  box-shadow: var(--nav-hover-shadow);
}

.nav-toggle {
  width: 48px;
  height: 48px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0;
  border: 1px solid var(--field-border);
  border-radius: 14px;
  background: var(--button-ghost-bg);
  color: var(--text);
  cursor: pointer;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--field-border);
  border-radius: 999px;
  background: var(--button-ghost-bg);
  color: var(--text);
  cursor: pointer;
  transition:
    border-color var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
}

.theme-toggle-track {
  position: relative;
  width: 72px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(110, 231, 255, 0.16), rgba(143, 180, 255, 0.12));
  overflow: hidden;
}

.theme-toggle-icon {
  position: relative;
  z-index: 1;
  width: 16px;
  overflow: hidden;
  white-space: nowrap;
  color: transparent;
}

.theme-toggle-icon::before {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1;
}

.theme-toggle-icon-moon::before {
  content: "◐";
}

.theme-toggle-icon-sun::before {
  content: "☼";
}

.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--text), #c9d5e8);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  transition: transform var(--transition), background var(--transition);
}

body[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(38px);
  background: linear-gradient(135deg, #ffffff, #dce7f5);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  padding: 28px 0 72px;
}

.hero-grid,
.split-layout,
.support-shell,
.cta-panel,
.trust-grid {
  display: grid;
  gap: 28px;
}

.hero-subtitle {
  margin: 18px 0 0;
  max-width: min(100%, 720px);
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  color: #eef6ff;
}

body[data-theme="light"] .hero-subtitle {
  color: #14304d;
}

.hero-banner {
  width: min(100%, 720px);
  height: auto;
  margin-top: 10px;
  border-radius: 18px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}

body[data-theme="light"] .hero-banner {
  box-shadow: 0 18px 44px rgba(24, 55, 104, 0.12);
}

.hero-text {
  max-width: 62ch;
  margin: 22px 0 0;
  font-size: 1.05rem;
}

.hero-actions,
.cta-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}

.button:hover,
.button:focus-visible,
.download-card:hover,
.download-card:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #02101a;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  box-shadow: 0 12px 28px rgba(110, 231, 255, 0.2);
}

.button-ghost,
.button-outline {
  border-color: var(--button-ghost-border);
  background: var(--button-ghost-bg);
}

.button-small {
  min-height: 42px;
  padding: 0.72rem 1rem;
}

.hero-highlights {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
}

.hero-highlights li {
  position: relative;
  padding-left: 20px;
  color: #edf5ff;
  font-size: 1.04rem;
  font-weight: 600;
}

body[data-theme="light"] .hero-highlights li {
  color: #18314f;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 18px rgba(110, 231, 255, 0.4);
}

.hero-panel {
  padding: 24px;
  border: 1px solid var(--surface-border);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-card-grid,
.cards-grid,
.support-grid {
  display: grid;
  gap: 18px;
}

.hero-card,
.info-card,
.service-card,
.benefit-item,
.download-card,
.cta-panel {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  padding: 22px;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  opacity: 0.95;
}

.hero-card-primary {
  margin-bottom: 18px;
  background:
    radial-gradient(circle at top right, rgba(110, 231, 255, 0.18), transparent 34%),
    var(--surface-strong);
}

.hero-card-core::before {
  background: linear-gradient(180deg, #4f9dff, #255fda);
}

.hero-card-infra::before {
  background: linear-gradient(180deg, #8b7cff, #5c48da);
}

.hero-card-automation::before {
  background: linear-gradient(180deg, #2fc18c, #15805d);
}

.hero-card-support::before {
  background: linear-gradient(180deg, #ff8a57, #d85a26);
}

.card-kicker,
.metric,
.download-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card-core strong {
  color: #9ac6ff;
}

.hero-card-infra .metric {
  color: #b0a4ff;
}

.hero-card-automation .metric {
  color: #74dfb8;
}

.hero-card-support .metric {
  color: #ffae87;
}

body[data-theme="light"] .hero-card-core strong {
  color: #255fda;
}

body[data-theme="light"] .hero-card-infra .metric {
  color: #5c48da;
}

body[data-theme="light"] .hero-card-automation .metric {
  color: #15805d;
}

body[data-theme="light"] .hero-card-support .metric {
  color: #d85a26;
}

.trust-band {
  padding: 0 0 30px;
}

.trust-grid {
  padding: 24px;
  border: 1px solid var(--pill-border);
  border-radius: var(--radius-lg);
  background: var(--button-ghost-bg);
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-pills span {
  position: relative;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--pill-border);
  color: var(--text);
  background: var(--pill-bg);
  overflow: hidden;
}

.trust-pills span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  opacity: 0.95;
}

.trust-pill-linux::before {
  background: linear-gradient(180deg, #4f9dff, #255fda);
}

.trust-pill-devops::before {
  background: linear-gradient(180deg, #8b7cff, #5c48da);
}

.trust-pill-automation::before {
  background: linear-gradient(180deg, #2fc18c, #15805d);
}

.trust-pill-api::before {
  background: linear-gradient(180deg, #ff8a57, #d85a26);
}

.trust-pill-ai::before {
  background: linear-gradient(180deg, #ff6ba3, #c83b73);
}

.trust-pill-linux {
  color: #dcecff;
}

.trust-pill-devops {
  color: #e6e0ff;
}

.trust-pill-automation {
  color: #d9fff0;
}

.trust-pill-api {
  color: #ffe5d8;
}

.trust-pill-ai {
  color: #ffdceb;
}

body[data-theme="light"] .trust-pill-linux {
  color: #255fda;
}

body[data-theme="light"] .trust-pill-devops {
  color: #5c48da;
}

body[data-theme="light"] .trust-pill-automation {
  color: #15805d;
}

body[data-theme="light"] .trust-pill-api {
  color: #d85a26;
}

body[data-theme="light"] .trust-pill-ai {
  color: #c83b73;
}

.info-card,
.service-card,
.benefit-item,
.download-card {
  padding: 24px;
}

.info-card {
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  opacity: 0.95;
}

.info-card-linux::before {
  background: linear-gradient(180deg, #4f9dff, #255fda);
}

.info-card-devops::before {
  background: linear-gradient(180deg, #8b7cff, #5c48da);
}

.info-card-automation::before {
  background: linear-gradient(180deg, #2fc18c, #15805d);
}

.info-card-api::before {
  background: linear-gradient(180deg, #ff8a57, #d85a26);
}

.info-card-linux h3 {
  color: #8ebdff;
}

.info-card-devops h3 {
  color: #b0a4ff;
}

.info-card-automation h3 {
  color: #74dfb8;
}

.info-card-api h3 {
  color: #ffae87;
}

body[data-theme="light"] .info-card-linux h3 {
  color: #255fda;
}

body[data-theme="light"] .info-card-devops h3 {
  color: #5c48da;
}

body[data-theme="light"] .info-card-automation h3 {
  color: #15805d;
}

body[data-theme="light"] .info-card-api h3 {
  color: #d85a26;
}

.info-card h3,
.service-card h3,
.benefit-item h3,
.download-card strong {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  opacity: 0.95;
}

.service-card-audit::before {
  background: linear-gradient(180deg, #4f9dff, #255fda);
}

.service-card-linux::before {
  background: linear-gradient(180deg, #3faad6, #1f7aa8);
}

.service-card-devops::before {
  background: linear-gradient(180deg, #8b7cff, #5c48da);
}

.service-card-automation::before {
  background: linear-gradient(180deg, #2fc18c, #15805d);
}

.service-card-api::before {
  background: linear-gradient(180deg, #ff8a57, #d85a26);
}

.service-card-ai::before {
  background: linear-gradient(180deg, #ff6ba3, #c83b73);
}

.service-card-audit h3 {
  color: #8ebdff;
}

.service-card-linux h3 {
  color: #79d1f4;
}

.service-card-devops h3 {
  color: #b0a4ff;
}

.service-card-automation h3 {
  color: #74dfb8;
}

.service-card-api h3 {
  color: #ffae87;
}

.service-card-ai h3 {
  color: #ff9ec3;
}

body[data-theme="light"] .service-card-audit h3 {
  color: #255fda;
}

body[data-theme="light"] .service-card-linux h3 {
  color: #1f7aa8;
}

body[data-theme="light"] .service-card-devops h3 {
  color: #5c48da;
}

body[data-theme="light"] .service-card-automation h3 {
  color: #15805d;
}

body[data-theme="light"] .service-card-api h3 {
  color: #d85a26;
}

body[data-theme="light"] .service-card-ai h3 {
  color: #c83b73;
}

.support-shell,
.cta-panel {
  position: relative;
  z-index: 1;
}

.support-shell {
  padding: 32px;
  border: 1px solid var(--pill-border);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    radial-gradient(circle at top left, rgba(159, 247, 210, 0.1), transparent 28%),
    var(--panel-soft);
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 156px;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background-color var(--transition);
}

.download-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
  opacity: 0.9;
}

.download-card-teamviewer-windows::before {
  background: linear-gradient(180deg, #3c8cff, #1c56d8);
}

.download-card-teamviewer-mac::before {
  background: linear-gradient(180deg, #ff6ba3, #c83b73);
}

.download-card-rustdesk-64::before {
  background: linear-gradient(180deg, #ff7a45, #d9471a);
}

.download-card-rustdesk-32::before {
  background: linear-gradient(180deg, #30c28f, #15805d);
}

.download-card-teamviewer-windows .download-label {
  color: #72a9ff;
}

.download-card-teamviewer-mac .download-label {
  color: #ff94bd;
}

.download-card-rustdesk-64 .download-label {
  color: #ff9c72;
}

.download-card-rustdesk-32 .download-label {
  color: #5ed9ad;
}

.download-card:hover,
.download-card:focus-visible {
  border-color: rgba(110, 231, 255, 0.28);
  background: rgba(12, 28, 46, 0.95);
}

.download-card small {
  color: var(--muted);
}

body[data-theme="light"] .download-card:hover,
body[data-theme="light"] .download-card:focus-visible {
  border-color: rgba(13, 164, 200, 0.26);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(231, 240, 249, 0.98));
  box-shadow: 0 18px 44px rgba(24, 55, 104, 0.14);
}

.cta-panel {
  padding: 32px;
  overflow: hidden;
}

.cta-panel-form {
  align-items: start;
}

.cta-copy {
  position: relative;
  z-index: 1;
}

.contact-note {
  margin-top: 18px;
}

.contact-note a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-form {
  position: relative;
  z-index: 1;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--form-label);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--field-border);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--text);
  background: var(--field-bg);
  transition: border-color var(--transition), background-color var(--transition);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #7f93ae;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(110, 231, 255, 0.45);
  background: var(--field-bg-focus);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 160px;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: rgba(255, 122, 122, 0.78);
}

.form-feedback {
  min-height: 1.5em;
  margin: 18px 0 0;
  color: var(--muted);
}

.form-feedback.is-success {
  color: var(--accent-warm);
}

.form-feedback.is-error {
  color: #ff9e9e;
}

.cta-panel::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -60px;
  top: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 231, 255, 0.24), transparent 70%);
  pointer-events: none;
}

.site-footer {
  padding: 32px 0 40px;
}

.footer-shell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  border-top: 1px solid var(--pill-border);
  padding-top: 24px;
}

.footer-shell p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (min-width: 760px) {
  .container {
    width: min(calc(100% - 48px), var(--container));
  }

  .trust-grid,
  .hero-grid,
  .support-shell,
  .cta-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .cards-grid-expertises,
  .cards-grid-services,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-full {
    grid-column: 1 / -1;
  }

  .split-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .benefits {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-shell {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 980px) {
  .nav-shell {
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .hero {
    padding: 40px 0 92px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
    align-items: start;
  }

  .cards-grid-expertises {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cards-grid-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.field-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.field-honeypot label,
.field-honeypot input {
  display: block;
}