/* Texto Editable — Homepage redesign
   Lightweight, responsive and optimized for Core Web Vitals.
*/

:root {
  --color-primary: #8abbc8;
  --color-primary-strong: #75adbc;
  --color-primary-dark: #6f9fad;
  --color-heading: #1f3b4d;
  --color-heading-deep: #153247;
  --color-text: #5f7480;
  --color-text-dark: #405b6a;
  --color-background: #f7fafb;
  --color-surface: #ffffff;
  --color-border: #d9e6eb;
  --color-background-alt: #eef5f7;
  --color-focus: #256d85;
  --shadow-xs: 0 1px 2px rgba(31, 59, 77, .04);
  --shadow-sm: 0 6px 20px rgba(31, 59, 77, .07);
  --shadow-md: 0 18px 44px rgba(31, 59, 77, .10);
  --shadow-lg: 0 28px 70px rgba(31, 59, 77, .13);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1240px;
  --header-height: 76px;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  background: var(--color-background);
  color-scheme: light;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  overflow-x: clip;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-background);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-heading);
  line-height: 1.15;
  letter-spacing: -.03em;
}

h1 {
  font-size: clamp(2.6rem, 5.2vw, 5.25rem);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

p {
  margin-bottom: 16px;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--color-focus) 55%, white);
  outline-offset: 3px;
}

::selection {
  color: var(--color-heading-deep);
  background: color-mix(in srgb, var(--color-primary) 38%, white);
}

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

.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;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  color: white;
  background: var(--color-heading-deep);
  transition: top var(--transition);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(217, 230, 235, .72);
  background: rgba(255, 255, 255, .90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 210px;
  height: auto;
  aspect-ratio: 2048 / 682;
}

.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  font-size: .95rem;
  font-weight: 650;
  color: var(--color-text-dark);
}

.primary-nav a {
  position: relative;
  padding: 10px 2px;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--color-primary-dark);
  transform: translateX(-50%);
  transition: width var(--transition);
}

.primary-nav a:hover {
  color: var(--color-heading);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  width: 76%;
}

.auth-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.te-mobile-auth {
  display: none;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-heading);
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--color-primary) 56%, var(--color-border));
  background: var(--color-background-alt);
  box-shadow: var(--shadow-sm);
}

.theme-toggle:active {
  transform: translateY(0);
}

.theme-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .theme-icon-moon {
  display: none;
}

html[data-theme="dark"] .theme-icon-sun {
  display: block;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--color-heading);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: #fff;
  border-color: var(--color-primary-dark);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong));
  box-shadow: 0 8px 20px rgba(111, 159, 173, .23);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-strong), var(--color-primary-dark));
  box-shadow: 0 10px 24px rgba(111, 159, 173, .30);
}

.btn-secondary {
  color: var(--color-heading);
  border-color: var(--color-border);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: #bfd4db;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-ghost {
  color: var(--color-heading);
  border-color: transparent;
  background: transparent;
}

.btn-ghost:hover {
  background: var(--color-background-alt);
}

.btn-lg {
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 14px;
}

.grid-mark {
  font-size: .82rem;
  color: var(--color-primary-dark);
}

/* Hero */
.hero {
  position: relative;
  z-index: 2;
  overflow: visible;
  padding: 94px 0 88px;
  border-bottom: 1px solid rgba(217, 230, 235, .55);
  background:
    radial-gradient(circle at 77% 32%, rgba(138, 187, 200, .20), transparent 30%),
    radial-gradient(circle at 18% 12%, rgba(238, 245, 247, .95), transparent 40%),
    linear-gradient(180deg, #fbfdfe 0%, #f4f9fb 100%);
}

.hero-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -130px;
  top: -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 187, 200, .22), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, .96fr);
  align-items: center;
  gap: clamp(40px, 6vw, 86px);
}

.hero-copy {
  max-width: 700px;
}

.eyebrow,
.section-kicker {
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(138, 187, 200, .38);
  border-radius: 999px;
  color: #3f8194;
  background: rgba(226, 242, 246, .72);
  font-size: .82rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
}

.hero h1 {
  max-width: 720px;
  color: var(--color-heading-deep);
}

.hero h1 span {
  color: var(--color-primary-dark);
  background: linear-gradient(90deg, #6f9fad, #8abbc8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--color-text-dark);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.tool-search {
  position: relative;
  width: min(100%, 590px);
  display: grid;
  grid-template-columns: 22px 1fr 42px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 7px 8px 7px 18px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 32px rgba(31, 59, 77, .08);
}

.tool-search:focus-within {
  border-color: color-mix(in srgb, var(--color-primary-dark) 65%, white);
  box-shadow: 0 0 0 4px rgba(138, 187, 200, .16), 0 14px 32px rgba(31, 59, 77, .08);
}

.tool-search > svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--color-primary-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.tool-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--color-heading);
  background: transparent;
  font-size: .96rem;
}

.tool-search input::placeholder {
  color: #8ca1ac;
}

.tool-search > button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 11px;
  color: var(--color-heading-deep);
  background: var(--color-background-alt);
  cursor: pointer;
  font-size: 1.18rem;
  transition: background var(--transition), transform var(--transition);
}

.tool-search > button:hover {
  background: #dfeef2;
  transform: translateX(1px);
}

.search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 100;
  max-height: 320px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--color-text-dark);
  font-size: .94rem;
  cursor: pointer;
}

.search-result strong {
  color: var(--color-heading);
}

.search-result:hover,
.search-result[aria-selected="true"] {
  background: var(--color-background-alt);
}

.search-empty {
  padding: 13px 14px;
  color: var(--color-text);
  font-size: .92rem;
}

/* Hero illustration */
.hero-visual {
  position: relative;
  min-height: 520px;
  isolation: isolate;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(106, 169, 186, .34);
  pointer-events: none;
}

.orbit-one {
  width: 380px;
  height: 380px;
  right: 0;
  top: 18px;
}

.orbit-two {
  width: 290px;
  height: 290px;
  left: 58px;
  bottom: 22px;
  opacity: .65;
}

.floating-tile {
  position: absolute;
  z-index: 4;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 230, 235, .9);
  border-radius: 18px;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, .90);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.floating-tile svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile-doc {
  left: 0;
  top: 42px;
  transform: rotate(5deg);
}

.tile-chart {
  left: 18px;
  bottom: 88px;
  color: #5aa5b9;
  transform: rotate(-5deg);
}

.tile-text {
  right: -6px;
  top: 116px;
  color: #6f9fad;
  font-family: Georgia, serif;
  font-size: 2.1rem;
  font-weight: 700;
  transform: rotate(4deg);
}

.tile-cloud {
  right: 6px;
  bottom: 88px;
  color: #7eb4c2;
  transform: rotate(-4deg);
}

.laptop {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: min(92%, 560px);
  transform: translate(-48%, -43%) perspective(1200px) rotateY(-4deg) rotateX(1deg);
}

.screen-frame {
  position: relative;
  width: 84%;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid #99aab3;
  border-radius: 18px 18px 12px 12px;
  background: linear-gradient(145deg, #879ba7, #c8d3d8 44%, #91a3ad);
  box-shadow: 0 22px 36px rgba(31, 59, 77, .18);
}

.screen-frame::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #617681;
  transform: translateX(-50%);
}

.screen {
  min-height: 308px;
  padding: 18px;
  border-radius: 9px;
  background: linear-gradient(180deg, #f9fcfd, #edf5f7);
  overflow: hidden;
}

.editor-toolbar {
  display: grid;
  grid-template-columns: repeat(6, 24px);
  gap: 7px;
  margin-bottom: 14px;
}

.editor-toolbar span {
  width: 24px;
  height: 24px;
  border: 1px solid #dbe6ea;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(31, 59, 77, .04);
}

.editor-sheet {
  height: 166px;
  padding: 16px;
  border: 1px solid #dce8ec;
  border-radius: 9px;
  background: rgba(255, 255, 255, .92);
  box-shadow: inset 0 1px 0 white;
}

.editor-placeholder {
  display: block;
  margin-bottom: 22px;
  color: #9eb0b9;
  font-size: .7rem;
}

.line {
  display: block;
  height: 5px;
  margin-bottom: 10px;
  border-radius: 99px;
  background: #e8f0f3;
}

.line-long { width: 82%; }
.line-mid { width: 66%; }
.line-short { width: 48%; }

.editor-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.editor-stats > div {
  padding: 9px 10px;
  border: 1px solid #dce8ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(31, 59, 77, .04);
}

.editor-stats small {
  display: block;
  color: #8aa0aa;
  font-size: .58rem;
}

.editor-stats strong {
  color: var(--color-heading);
  font-size: .88rem;
}

.laptop-base {
  position: relative;
  width: 100%;
  height: 30px;
  margin-top: -1px;
  border-radius: 3px 3px 22px 22px;
  background: linear-gradient(180deg, #c7d2d7, #8da0aa 62%, #758992);
  box-shadow: 0 18px 26px rgba(31, 59, 77, .18);
}

.laptop-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 92px;
  height: 7px;
  border-radius: 0 0 8px 8px;
  background: #9babb3;
  transform: translateX(-50%);
}

/* Sections */
.section {
  padding: 90px 0;
}

.section:nth-of-type(even):not(.section-trust) {
  background: #fff;
}

.section-heading {
  margin-bottom: 38px;
}

.row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading .section-kicker {
  margin-bottom: 14px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading.centered {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 42px;
  text-align: center;
}

.section-heading.centered .section-kicker {
  margin-inline: auto;
}

.section-heading.centered p:last-child {
  margin: 13px auto 0;
  max-width: 620px;
}

.section-heading.compact {
  margin-bottom: 36px;
}

.text-link,
.category-link,
.card-cta {
  color: #47879a;
  font-weight: 760;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
  white-space: nowrap;
}

.text-link:hover,
.category-link:hover {
  color: var(--color-heading);
}

/* Tools */
.section-tools {
  position: relative;
  z-index: 1;
  background: #fff;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.tool-card {
  position: relative;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: #bed4dc;
  box-shadow: var(--shadow-sm);
}

.tool-card h3 {
  min-height: 50px;
  margin-top: 19px;
  margin-bottom: 12px;
  font-size: 1rem;
}

.tool-card p {
  margin-bottom: 24px;
  font-size: .88rem;
  line-height: 1.65;
}

.tool-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-size: 1.42rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(31, 59, 77, .10);
}

.tool-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-blue { background: linear-gradient(135deg, #54b5d0, #3498b5); }
.icon-green { background: linear-gradient(135deg, #62c9a0, #35a878); }
.icon-purple { background: linear-gradient(135deg, #a98cea, #8063cb); }
.icon-orange { background: linear-gradient(135deg, #ffae67, #ef8c3e); }
.icon-pink { background: linear-gradient(135deg, #fb799c, #e95a80); }
.icon-cyan { background: linear-gradient(135deg, #7cc6d6, #52a7bb); }

.card-cta {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: auto;
  font-size: .85rem;
}

.card-cta.muted {
  color: #8da0aa;
}



/* Categories */
.section-categories {
  background: linear-gradient(180deg, #f7fafb, #fbfdfd);
}

.category-directory {
  display: grid;
  gap: 22px;
}

.category-group {
  --category-accent: #68a8b9;
  --category-soft: #edf7fa;
  display: grid;
  grid-template-columns: minmax(230px, .34fr) minmax(0, 1fr);
  gap: 30px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff 0%, var(--category-soft) 150%);
  box-shadow: 0 8px 28px rgba(31, 59, 77, .045);
}

.category-manipulation {
  --category-accent: #5f9e8a;
  --category-soft: #eef8f4;
}

.category-storage {
  --category-accent: #7d84b5;
  --category-soft: #f2f3fb;
}

.category-summary {
  align-self: start;
  padding: 5px 4px 5px 2px;
}

.category-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid color-mix(in srgb, var(--category-accent) 22%, white);
  border-radius: 18px;
  color: var(--category-accent);
  background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow-xs);
}

.category-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-eyebrow {
  margin-bottom: 8px;
  color: var(--category-accent);
  font-size: .75rem;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.category-summary h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.category-summary > p:last-child {
  max-width: 330px;
  margin-bottom: 0;
  color: #667d89;
  font-size: .91rem;
  line-height: 1.65;
}

.category-tools {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
  padding: 0;
  margin: 0;
}

.category-tools li {
  min-width: 0;
}

.category-tools-compact {
  grid-template-columns: minmax(260px, 390px);
}

.category-tool-link {
  position: relative;
  min-height: 118px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 17px 42px 17px 17px;
  border: 1px solid rgba(217, 230, 235, .95);
  border-radius: 14px;
  color: var(--color-text);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.category-tool-link:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--category-accent) 45%, white);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.category-tool-name {
  color: var(--color-heading);
  font-size: .93rem;
  font-weight: 780;
  line-height: 1.35;
}

.category-tool-description {
  color: #708691;
  font-size: .78rem;
  line-height: 1.5;
}

.category-tool-arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--category-accent);
  font-size: 1.05rem;
  font-weight: 800;
  transform: translateY(-50%);
  transition: transform var(--transition);
}

.category-tool-link:hover .category-tool-arrow {
  transform: translate(3px, -50%);
}

/* Benefits */
.section-benefits {
  background: #fff;
}

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

.benefit-item {
  padding: 22px 14px;
  text-align: center;
}

.benefit-item > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 16px;
  color: #4f8da0;
  background: #f1f8fa;
}

.benefit-item svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-item h3 {
  margin-bottom: 8px;
  font-size: .98rem;
}

.benefit-item p {
  margin-bottom: 0;
  color: #708691;
  font-size: .83rem;
  line-height: 1.55;
}

/* Trust */
.section-trust {
  padding-top: 18px;
  padding-bottom: 86px;
  background: #fff;
}

.trust-panel {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 58px;
  align-items: center;
  padding: 44px 48px;
  border: 1px solid #d4e6ec;
  border-radius: 22px;
  background:
    radial-gradient(circle at 15% 10%, rgba(138, 187, 200, .20), transparent 42%),
    linear-gradient(135deg, #f1f8fa, #f7fbfc);
  box-shadow: 0 14px 34px rgba(31, 59, 77, .05);
}

.trust-intro {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  align-items: start;
}

.trust-shield {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #73b5c6, #98c6d2);
  box-shadow: 0 12px 28px rgba(111, 159, 173, .22);
}

.trust-shield svg {
  width: 45px;
  height: 45px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-intro .section-kicker {
  margin-bottom: 11px;
}

.trust-intro h2 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
}

.trust-intro p:last-child {
  margin-bottom: 0;
}

.trust-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
}

.trust-points article {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}

.trust-points article > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #4f8da0;
  background: rgba(255, 255, 255, .84);
  font-weight: 800;
}

.trust-points h3 {
  margin: 0 0 4px;
  font-size: .9rem;
}

.trust-points p {
  margin: 0;
  font-size: .78rem;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: #f1f7f9;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, 1fr);
  gap: 42px;
  padding-top: 60px;
  padding-bottom: 52px;
}

.footer-logo img {
  width: 190px;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 17px;
  margin-bottom: 0;
  color: #667e8a;
  font-size: .9rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-column h2 {
  margin-bottom: 6px;
  color: var(--color-heading);
  font-size: .9rem;
  letter-spacing: 0;
}

.footer-column a,
.pending-page {
  color: #647c88;
  font-size: .84rem;
  transition: color var(--transition);
}

.footer-column a:hover {
  color: var(--color-heading);
}

.footer-bottom {
  border-top: 1px solid #cfe0e6;
  background: linear-gradient(90deg, #8abbc8, #78afbd);
}

.footer-bottom-inner {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
  font-size: .78rem;
}

.footer-bottom p {
  margin: 0;
}






/* Tablet */
@media (max-width: 1140px) {
  .header-inner {
    gap: 18px;
  }

  .brand img {
    width: 185px;
  }

  .primary-nav {
    gap: 20px;
    font-size: .91rem;
  }

  .auth-actions .btn {
    padding-inline: 14px;
  }

  .hero-grid {
    grid-template-columns: 1fr 420px;
    gap: 34px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .tool-card {
    min-height: 265px;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-panel {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 70px;
  }

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

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand img {
    width: 180px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
    grid-column: 3;
    grid-row: 1;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    max-height: calc(100dvh - var(--header-height));
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 10px 16px 18px;
    border-bottom: 1px solid var(--color-border);
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    overflow-y: auto;
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 14px 12px;
    border-radius: 10px;
  }

  .primary-nav a:hover {
    background: var(--color-background-alt);
  }

  .primary-nav a::after {
    display: none;
  }

  .auth-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    gap: 6px;
  }

  .auth-actions > [data-auth-action] {
    display: none !important;
  }

  html[data-te-authenticated="false"] .primary-nav .te-mobile-auth {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 8px;
    padding: 16px 4px 2px;
    border-top: 1px solid var(--color-border);
  }

  .te-mobile-auth-link {
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px 14px !important;
    border: 1px solid var(--color-border);
    border-radius: 12px !important;
    font-size: .9rem !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    text-align: center;
    white-space: nowrap;
  }

  .te-mobile-auth-login {
    color: var(--color-heading) !important;
    background: var(--color-surface) !important;
  }

  .te-mobile-auth-login:hover,
  .te-mobile-auth-login:focus-visible {
    background: var(--color-background-alt) !important;
  }

  .te-mobile-auth-register {
    color: #fff !important;
    border-color: var(--color-primary-dark) !important;
    background: linear-gradient(135deg,var(--color-primary),var(--color-primary-strong)) !important;
    box-shadow: 0 8px 20px rgba(111,159,173,.20);
  }

  html[data-theme="dark"] .te-mobile-auth-register {
    color: #102027 !important;
  }

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero h1 {
    max-width: 780px;
  }

  .hero-visual {
    min-height: 420px;
    width: min(100%, 620px);
    margin-inline: auto;
  }

  .laptop {
    width: min(88%, 520px);
  }

  .section {
    padding: 72px 0;
  }

  .category-group {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .category-summary > p:last-child {
    max-width: 650px;
  }

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

  .category-tools-compact {
    grid-template-columns: minmax(0, 390px);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .header-inner {
    gap: 8px;
  }

  .brand img {
    width: 155px;
  }

  .auth-actions .btn-primary {
    min-height: 40px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: .82rem;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 10px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero {
    padding-top: 52px;
    padding-bottom: 40px;
  }

  .eyebrow,
  .section-kicker {
    font-size: .75rem;
  }

  h1 {
    font-size: clamp(2.35rem, 11.5vw, 3.8rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8.2vw, 2.4rem);
  }

  .hero-lead {
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .tool-search {
    grid-template-columns: 20px 1fr 40px;
    min-height: 56px;
    padding-left: 14px;
  }

  .tool-search input {
    font-size: .9rem;
  }

  .hero-visual {
    min-height: 330px;
    margin-top: 6px;
  }

  .floating-tile {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .floating-tile svg {
    width: 24px;
    height: 24px;
  }

  .tile-doc {
    left: 2px;
    top: 24px;
  }

  .tile-chart {
    left: 10px;
    bottom: 44px;
  }

  .tile-text {
    right: 0;
    top: 76px;
    font-size: 1.7rem;
  }

  .tile-cloud {
    right: 2px;
    bottom: 46px;
  }

  .orbit-one {
    width: 270px;
    height: 270px;
  }

  .orbit-two {
    width: 210px;
    height: 210px;
    left: 40px;
  }

  .laptop {
    width: 84%;
    transform: translate(-49%, -44%) perspective(1200px) rotateY(-3deg);
  }

  .screen-frame {
    padding: 9px;
    border-radius: 13px 13px 9px 9px;
  }

  .screen {
    min-height: 220px;
    padding: 11px;
  }

  .editor-toolbar {
    grid-template-columns: repeat(6, 18px);
    gap: 5px;
    margin-bottom: 9px;
  }

  .editor-toolbar span {
    width: 18px;
    height: 18px;
    border-radius: 4px;
  }

  .editor-sheet {
    height: 114px;
    padding: 10px;
  }

  .editor-placeholder {
    margin-bottom: 13px;
    font-size: .48rem;
  }

  .line {
    height: 4px;
    margin-bottom: 7px;
  }

  .editor-stats {
    gap: 5px;
    margin-top: 8px;
  }

  .editor-stats > div {
    padding: 5px 6px;
  }

  .editor-stats small {
    font-size: .43rem;
  }

  .editor-stats strong {
    font-size: .65rem;
  }

  .laptop-base {
    height: 22px;
  }

  .section {
    padding: 60px 0;
  }

  .row-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 0;
  }

  .tool-card h3 {
    min-height: 0;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .benefit-item {
    padding: 16px 8px;
  }

  .trust-panel {
    padding: 30px 20px;
  }

  .trust-intro {
    grid-template-columns: 1fr;
  }

  .trust-shield {
    width: 68px;
    height: 68px;
  }

  .trust-points {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom-inner {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 18px;
  }

}

@media (max-width: 390px) {
  .brand img {
    width: 137px;
  }

  .auth-actions .btn-primary {
    padding-inline: 10px;
    font-size: .76rem;
  }

  .menu-toggle {
    width: 38px;
    padding-inline: 7px;
  }

  .category-group {
    padding: 20px;
    border-radius: 18px;
  }

  .category-tools,
  .category-tools-compact {
    grid-template-columns: 1fr;
  }

  .category-tool-link {
    min-height: 104px;
  }

  .benefits-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 340px) {
  .brand img {
    width: 112px;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
}

/* Dark mode */
html[data-theme="dark"] {
  --color-primary: #8abbc8;
  --color-primary-strong: #78afbd;
  --color-primary-dark: #9bcbd6;
  --color-heading: #e6f2f5;
  --color-heading-deep: #f4fafc;
  --color-text: #a7bac2;
  --color-text-dark: #c7d5da;
  --color-background: #0e171c;
  --color-surface: #152229;
  --color-border: #2a3c44;
  --color-background-alt: #1b2b32;
  --color-focus: #8abbc8;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .20);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, .22);
  --shadow-md: 0 18px 44px rgba(0, 0, 0, .28);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, .34);
  color-scheme: dark;
}

.brand .logo-light, .brand .logo-dark { display: none; }
html[data-theme="light"] .brand .logo-light { display: block; }
html[data-theme="dark"] .brand .logo-dark { display: block; }

html[data-theme="dark"] .site-header {
  border-bottom-color: rgba(42, 60, 68, .82);
  background: rgba(14, 23, 28, .90);
}

html[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(14, 23, 28, .97);
}

html[data-theme="dark"] .primary-nav {
  color: var(--color-text-dark);
}

html[data-theme="dark"] .btn-primary {
  color: #102027;
}

html[data-theme="dark"] .btn-secondary {
  background: rgba(21, 34, 41, .94);
}

html[data-theme="dark"] .btn-secondary:hover {
  border-color: #3d5661;
  background: #1b2b32;
}

html[data-theme="dark"] .hero {
  border-bottom-color: rgba(42, 60, 68, .72);
  background:
    radial-gradient(circle at 77% 32%, rgba(138, 187, 200, .12), transparent 31%),
    radial-gradient(circle at 18% 12%, rgba(34, 53, 62, .64), transparent 40%),
    linear-gradient(180deg, #101b21 0%, #0e171c 100%);
}

html[data-theme="dark"] .hero-glow {
  background: radial-gradient(circle, rgba(138, 187, 200, .13), transparent 68%);
}

html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .section-kicker {
  border-color: rgba(138, 187, 200, .28);
  color: #abd2dc;
  background: rgba(138, 187, 200, .10);
}

html[data-theme="dark"] .tool-search {
  background: rgba(21, 34, 41, .96);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .24);
}

html[data-theme="dark"] .tool-search input::placeholder {
  color: #7f949d;
}

html[data-theme="dark"] .tool-search > button:hover {
  background: #243942;
}

html[data-theme="dark"] .search-results {
  background: var(--color-surface);
}

html[data-theme="dark"] .floating-tile {
  border-color: rgba(54, 78, 88, .92);
  background: rgba(21, 34, 41, .92);
}

html[data-theme="dark"] .screen {
  background: linear-gradient(180deg, #17262d, #121f25);
}

html[data-theme="dark"] .editor-toolbar span,
html[data-theme="dark"] .editor-stats > div {
  border-color: #31464f;
  background: #1c2d34;
}

html[data-theme="dark"] .editor-sheet {
  border-color: #31464f;
  background: rgba(24, 39, 46, .94);
}

html[data-theme="dark"] .editor-placeholder {
  color: #91a6af;
}

html[data-theme="dark"] .line {
  background: #31434b;
}

html[data-theme="dark"] .editor-stats small {
  color: #8fa4ad;
}

html[data-theme="dark"] .section:nth-of-type(even):not(.section-trust),
html[data-theme="dark"] .section-tools,
html[data-theme="dark"] .section-benefits,
html[data-theme="dark"] .section-trust {
  background: #101a20;
}

html[data-theme="dark"] .tool-card {
  background: var(--color-surface);
}

html[data-theme="dark"] .tool-card:hover {
  border-color: #3b5661;
}

html[data-theme="dark"] .section-categories {
  background: linear-gradient(180deg, #0e171c, #101b20);
}

html[data-theme="dark"] .category-group {
  background: linear-gradient(145deg, var(--color-surface) 0%, color-mix(in srgb, var(--category-accent) 9%, var(--color-surface)) 145%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
}

html[data-theme="dark"] .category-icon {
  border-color: color-mix(in srgb, var(--category-accent) 32%, var(--color-border));
  background: rgba(27, 43, 50, .92);
}

html[data-theme="dark"] .category-summary > p:last-child,
html[data-theme="dark"] .category-tool-description,
html[data-theme="dark"] .benefit-item p,
html[data-theme="dark"] .footer-brand p,
html[data-theme="dark"] .footer-column a,
html[data-theme="dark"] .pending-page {
  color: #98adb6;
}

html[data-theme="dark"] .category-tool-link {
  border-color: rgba(42, 60, 68, .96);
  background: rgba(21, 34, 41, .90);
}

html[data-theme="dark"] .category-tool-link:hover {
  border-color: color-mix(in srgb, var(--category-accent) 52%, var(--color-border));
  background: #1b2b32;
}

html[data-theme="dark"] .benefit-item > span {
  color: #9bcbd6;
  background: #192a31;
}

html[data-theme="dark"] .trust-panel {
  border-color: #304750;
  background:
    radial-gradient(circle at 15% 10%, rgba(138, 187, 200, .11), transparent 42%),
    linear-gradient(135deg, #15242b, #111d23);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .trust-points article > span {
  color: #9bcbd6;
  background: rgba(27, 43, 50, .94);
}

html[data-theme="dark"] .site-footer {
  background: #111c22;
}

html[data-theme="dark"] .footer-bottom {
  border-top-color: #2a3c44;
  background: linear-gradient(90deg, #284f5a, #315f6b);
}

@media (max-width: 920px) {
  html[data-theme="dark"] .primary-nav {
    background: rgba(14, 23, 28, .98);
  }
}

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

@media print {
  .site-header,
  .hero-visual,
  .hero-actions,
  .tool-search,
  .site-footer {
    display: none !important;
  }

  .hero,
  .section {
    padding: 24px 0;
    background: #fff !important;
  }

  .tool-card,
  .category-group,
  .category-tool-link,
  .trust-panel {
    break-inside: avoid;
    box-shadow: none;
  }
}
