:root {
  --ink: #182033;
  --muted: #5e6677;
  --line: #d9ddea;
  --panel: rgba(255, 255, 255, 0.86);
  --soft: #f6f7fb;
  --purple: #6e34be;
  --red: #c01822;
  --orange: #d4571b;
  --gold: #c7961f;
  --green: #137646;
  --blue: #1251a5;
  --violet: #5530a4;
  --magenta: #ad168c;
  --shadow: 0 16px 40px rgba(22, 30, 50, 0.12);
  --small-shadow: 0 8px 22px rgba(22, 30, 50, 0.09);
  --radius: 18px;
  --display-sans: "Inter Tight", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(255,255,255,.96), rgba(244,246,249,.84) 38%, rgba(233,236,241,.92)),
    linear-gradient(90deg, rgba(255,255,255,.12), rgba(255,255,255,0) 30% 70%, rgba(255,255,255,.14)),
    #eef0f4;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .38;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(38,48,62,.045) 0, rgba(38,48,62,.045) 1px, transparent 1px, transparent 5px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0, rgba(255,255,255,.25) 1px, transparent 1px, transparent 9px);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.4rem, 4vw, 4.6rem);
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(190,198,214,.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 6px 22px rgba(20, 29, 46, 0.055);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  letter-spacing: .05em;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1;
}

.brand-strong {
  font-weight: 800;
  color: #10182b;
}

.brand-light {
  font-weight: 500;
  color: #293349;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3.2vw, 4rem);
  font-size: .92rem;
  font-weight: 600;
  color: #30384c;
}

.site-nav a {
  position: relative;
  padding: 2rem 0 1.85rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.35rem;
  height: 3px;
  border-radius: 3px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(620px, 62vw);
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(340px, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 5rem);
  padding: clamp(3.2rem, 6vw, 7rem) clamp(1.4rem, 5vw, 6rem) 4.6rem;
  border-bottom: 1px solid #d7dce6;
}

.metal-panel {
  background:
    radial-gradient(circle at 52% 36%, rgba(255,255,255,.88), rgba(255,255,255,.12) 34%, rgba(193,199,210,.22) 78%),
    linear-gradient(90deg, rgba(255,255,255,.34), rgba(255,255,255,0) 45% 65%, rgba(255,255,255,.22)),
    #dfe3e9;
}

.metal-panel::before,
.signup-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .33;
  background:
    repeating-linear-gradient(0deg, rgba(37,44,58,.09) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.42) 0 1px, transparent 1px 12px);
}

.hero-logo-wrap {
  position: relative;
  z-index: 1;
  overflow: visible;
  padding: 0 clamp(1rem, 3vw, 3.5rem) 0 0;
  min-width: 0;
}

.hero-logo {
  display: block;
  width: min(100%, 620px);
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 20px 18px rgba(20, 24, 34, .25));
}

.hero-quote {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 560px;
  padding: 1rem 0;
  font-family: "Libre Baskerville", Georgia, serif;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 2.75vw, 3.45rem);
  line-height: 1.28;
  letter-spacing: .015em;
  color: #252b3a;
}

.hero-quote p {
  margin: 0;
}

.quote-mark {
  position: absolute;
  color: rgba(105,95,148,.42);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(3.5rem, 6vw, 7rem);
  line-height: 1;
}

.quote-mark.open {
  left: -3.1rem;
  top: .1rem;
}

.quote-mark.close {
  right: 1.5rem;
  bottom: .4rem;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  z-index: 2;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #9098a8;
}

.scroll-cue svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.circuit {
  position: absolute;
  width: 280px;
  height: 420px;
  opacity: .28;
  background-image:
    radial-gradient(circle, transparent 0 7px, #6f7886 8px 9.5px, transparent 10px),
    linear-gradient(#6f7886, #6f7886),
    linear-gradient(45deg, transparent 48%, #6f7886 48% 52%, transparent 52%),
    linear-gradient(90deg, transparent 49%, #6f7886 49% 51%, transparent 51%);
  background-size: 80px 80px, 160px 2px, 90px 90px, 130px 80px;
  background-position: 0 10px, 0 70px, 15px 120px, 0 210px;
  background-repeat: repeat;
  mask-image: linear-gradient(90deg, black, transparent);
}

.circuit-left {
  left: 0;
  top: 4rem;
}

.circuit-right {
  right: 0;
  bottom: 2.5rem;
  transform: scaleX(-1);
}

.section {
  padding: clamp(4rem, 7vw, 6.7rem) clamp(1.4rem, 5vw, 6rem);
  background: rgba(255,255,255,.84);
  border-bottom: 1px solid rgba(215,220,230,.74);
}

.section-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(300px, 1fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .84rem;
  font-weight: 800;
}

.premise-section h1,
.platform-section h2 {
  margin: 0;
  font-family: var(--display-sans);
  font-weight: 700;
  color: #1f2635;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -.03em;
}

.prose {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.85;
  color: #384153;
}

.prose p {
  margin-top: 0;
}

.soft-section,
.types-section {
  background:
    linear-gradient(180deg, rgba(250,251,253,.9), rgba(255,255,255,.96));
}

.section-title {
  max-width: 560px;
  margin: 0 auto 2.2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.1rem;
}

.section-title span {
  height: 1px;
  background: linear-gradient(90deg, transparent, #c8ccdc);
}

.section-title span:last-child {
  background: linear-gradient(90deg, #c8ccdc, transparent);
}

.section-title h2 {
  margin: 0;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .86rem;
}

.goal-grid,
.type-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

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

.mini-card,
.type-card {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(220,224,233,.92);
  border-radius: 12px;
  box-shadow: var(--small-shadow);
  text-align: center;
}

.mini-card {
  min-height: 230px;
  padding: 1.35rem .75rem 1.2rem;
}

.mini-card h3,
.type-card h3 {
  margin: .75rem 0 .55rem;
  font-size: .93rem;
  line-height: 1.25;
  color: #172034;
}

.mini-card p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.55;
  color: #566073;
}

.icon {
  width: 48px;
  height: 48px;
  margin: 0 auto .4rem;
}

.icon svg,
.type-icon svg,
.signup-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.red { --accent: var(--red); }
.orange { --accent: var(--orange); }
.gold { --accent: var(--gold); }
.green { --accent: var(--green); }
.blue { --accent: var(--blue); }
.violet { --accent: var(--violet); }
.purple { --accent: var(--purple); }
.magenta { --accent: var(--magenta); }

.mini-card,
.type-card {
  color: var(--accent);
}

.mini-card h3,
.mini-card p,
.type-card p {
  color: #172034;
}

.section-subtitle {
  margin: -1rem auto 2.3rem;
  max-width: 720px;
  color: #687083;
  text-align: center;
  line-height: 1.6;
}

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

.type-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 1.8rem 1rem 1.6rem;
}

.type-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: var(--accent);
}

.type-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto .8rem;
}

.type-card h3 {
  color: var(--accent);
  font-size: 1.22rem;
}

.type-card p {
  max-width: 150px;
  margin: 0 auto;
  font-size: .92rem;
  line-height: 1.55;
  color: #4e586b;
}

.platform-section {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, .75fr) 1fr;
  gap: 3rem;
  background: rgba(255,255,255,.76);
}

.platform-section p:last-child {
  margin: 0;
  color: #586174;
  line-height: 1.85;
  font-size: 1.05rem;
}

.platform-section-alt {
  background: rgba(248,249,252,.78);
}

.signup-section {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) minmax(560px, 1.85fr);
  gap: 1.6rem;
  align-items: center;
  padding: clamp(2.4rem, 4vw, 3.6rem) clamp(1.4rem, 5vw, 6rem);
  border-top: 1px solid rgba(213,219,230,.85);
  border-bottom: 1px solid rgba(213,219,230,.85);
  background: rgba(247,249,253,.88);
}

.signup-section > * {
  position: relative;
  z-index: 1;
}

.signup-icon {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  padding: 1.8rem;
  border-radius: 50%;
  background: #fff;
  color: var(--purple);
  box-shadow: var(--small-shadow);
}

.signup-copy p:last-child {
  max-width: 380px;
  margin: 0;
  color: #5b6476;
  line-height: 1.55;
}

.signup-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.signup-form label {
  display: grid;
  gap: .45rem;
  font-size: .78rem;
  color: #596274;
  font-weight: 600;
}

.signup-form input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #cfd5e2;
  border-radius: 9px;
  background: rgba(255,255,255,.84);
  padding: 0 1rem;
  font: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.signup-form input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(110,52,190,.12);
}

.signup-form button {
  min-height: 54px;
  border: 0;
  border-radius: 9px;
  background: linear-gradient(135deg, #7331bf, #5a24a5);
  color: white;
  padding: 0 2.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(87,35,166,.2);
}

.form-message {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.2em;
  color: var(--purple);
  font-size: .9rem;
  font-weight: 600;
}

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

.signup-response-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.signup-form button:disabled {
  opacity: .68;
  cursor: wait;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(280px, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 2.2rem clamp(1.4rem, 5vw, 6rem);
  background: rgba(255,255,255,.9);
  color: #667084;
  font-size: .84rem;
}

.footer-brand {
  font-size: 1.5rem;
}

.site-footer p {
  margin: .8rem 0 0;
}

.site-footer nav {
  display: flex;
  gap: 1.7rem;
  justify-content: center;
}

.site-footer a:hover {
  color: var(--purple);
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.4rem;
}

.footer-meta p {
  margin: 0;
}

.socials {
  display: flex;
  gap: 1rem;
  color: var(--purple);
  font-weight: 800;
}

@media (max-width: 1180px) {
  .goal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .signup-section {
    grid-template-columns: auto 1fr;
  }

  .signup-form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav a {
    padding: 1rem 1.5rem;
  }

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

  .hero,
  .section-grid,
  .platform-section {
    grid-template-columns: 1fr;
  }

  .hero {
    text-align: center;
  }

  .hero-logo {
  display: block;
  width: min(100%, 620px);
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 20px 18px rgba(20, 24, 34, .25));
}

  .hero-quote {
    margin: 0 auto;
    font-size: clamp(1.8rem, 8vw, 3.1rem);
  }

  .quote-mark.open {
    left: .2rem;
    top: -.7rem;
  }

  .quote-mark.close {
    right: .5rem;
  }

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

  .signup-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-meta,
  .site-footer nav {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 540px) {
  .goal-grid,
  .type-grid {
    grid-template-columns: 1fr;
  }

  .signup-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .signup-icon {
    margin: 0 auto;
  }

  .signup-copy p:last-child {
    margin-inline: auto;
  }
}


.premise-expanded {
  max-width: 1180px;
  margin: clamp(3rem, 5vw, 5rem) auto 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: start;
}

.premise-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--display-sans);
  font-weight: 700;
  color: #1f2635;
  font-size: clamp(1.45rem, 2.1vw, 2.15rem);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.premise-copy p {
  color: #424c5f;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.premise-copy strong {
  color: #1f2635;
}

.intent-list {
  margin: 1rem 0 1.2rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}

.intent-list li {
  position: relative;
  padding-left: 1.4rem;
  color: #283144;
  line-height: 1.55;
}

.intent-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: var(--purple);
  transform: translateY(-50%);
}

.premise-card {
  padding: clamp(1.4rem, 2.3vw, 2rem);
  border: 1px solid rgba(216, 222, 234, .95);
  border-radius: var(--radius);
  background: rgba(255,255,255,.9);
  box-shadow: var(--small-shadow);
}

.intent-table-wrap {
  overflow-x: auto;
  margin: 1.2rem 0;
  border: 1px solid rgba(216, 222, 234, .95);
  border-radius: 14px;
  background: white;
}

.intent-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 440px;
  font-size: .95rem;
}

.intent-table th,
.intent-table td {
  padding: .85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(225, 229, 237, .95);
}

.intent-table th {
  color: #222b3d;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: rgba(247, 248, 252, .92);
}

.intent-table td:first-child {
  color: #465166;
}

.intent-table td:last-child {
  color: var(--purple);
  font-weight: 800;
}

.intent-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 860px) {
  .premise-expanded {
    grid-template-columns: 1fr;
  }
}


/* Option 3 hero override */
.hero {
  min-height: min(720px, 68vw);
  grid-template-columns: minmax(380px, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  padding-top: clamp(4.5rem, 8vw, 8rem);
  padding-bottom: clamp(4.5rem, 7vw, 7rem);
}

.hero-logo-wrap {
  position: relative;
  z-index: 1;
  overflow: visible;
  padding: 0;
  min-width: 0;
}

.hero-logo {
  display: block;
  width: min(100%, 740px);
  max-height: 470px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 20px 18px rgba(20, 24, 34, .25));
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.hero-copy h1 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: .018em;
  color: #182033;
  font-size: clamp(2.35rem, 4.15vw, 5.25rem);
  line-height: 1.18;
}

.hero-copy p {
  margin: clamp(1.2rem, 2.2vw, 2rem) 0 0;
  color: #1e2a3e;
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  line-height: 1.5;
  font-weight: 500;
}

.hero-quote,
.quote-mark {
  display: none;
}

/* Six-card Design Goals layout */
.goal-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 1040px;
}

@media (max-width: 1180px) {
  .goal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-logo {
    margin: 0 auto;
    width: min(100%, 680px);
  }

  .hero-copy {
    margin: 0 auto;
  }
}

@media (max-width: 540px) {
  .goal-grid {
    grid-template-columns: 1fr;
  }
}


/* Header CTA and hero typography refinement */
.site-nav {
  gap: clamp(1.2rem, 2.4vw, 3.1rem);
}

.site-nav .nav-cta {
  padding: .85rem 1.35rem;
  border-radius: 11px;
  background: #071225;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: 0 10px 20px rgba(7, 18, 37, .18);
}

.site-nav .nav-cta::after {
  display: none;
}

.site-nav .nav-cta:hover {
  background: #0d1c35;
  color: #fff;
}

.hero-copy h1 {
  font-family: var(--display-sans);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -.04em;
  font-size: clamp(2.05rem, 3.42vw, 4.35rem);
  line-height: 1.02;
  max-width: 760px;
}

.hero-copy p {
  margin-top: clamp(1rem, 1.7vw, 1.55rem);
  font-size: clamp(1rem, 1.22vw, 1.28rem);
}

@media (max-width: 860px) {
  .site-nav .nav-cta {
    margin: .75rem 1.5rem 1rem;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 8vw, 3.25rem);
  }
}


/* Slightly larger hero support line */
.hero-copy p {
  font-size: clamp(1.14rem, 1.42vw, 1.48rem);
}


/* Dark icon panel inspired by Option 2 */
.organize-panel {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #08172d, #0c2548 58%, #07172d);
  box-shadow: 0 18px 34px rgba(8, 22, 45, .22);
  border: 1px solid rgba(255,255,255,.08);
}

.organize-item {
  position: relative;
  min-height: 128px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .65rem;
  padding: 1.1rem .85rem;
  text-align: center;
  color: #fff;
}

.organize-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 20%;
  right: 0;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,.28);
}

.organize-item svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.organize-item span {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .92rem;
  line-height: 1.22;
  font-weight: 800;
}

.organize-item.folder { color: #a568d8; }
.organize-item.check { color: #20c984; }
.organize-item.devices { color: #1d9cf0; }
.organize-item.calendar { color: #ff7a19; }

.organize-item span {
  color: #fff;
}

@media (max-width: 700px) {
  .organize-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .organize-item:nth-child(2)::after {
    display: none;
  }

  .organize-item {
    min-height: 118px;
  }
}


/* Transparent logo asset + hero typography refinement */
.hero-logo {
  width: min(100%, 760px);
  max-height: 500px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 26px rgba(10, 16, 28, .24));
}

.hero-copy h1 {
  font-family: var(--display-sans);
  font-weight: 700;
  text-transform: none;
  font-size: clamp(1.9rem, 3vw, 3.9rem);
  line-height: 1.01;
  letter-spacing: -.04em;
  max-width: 700px;
}

.hero-copy p {
  font-size: clamp(1.22rem, 1.55vw, 1.65rem);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: .012em;
  color: #16233a;
}


/* Final hero spacing adjustment: tighter top padding and shorter header section */
.hero {
  min-height: min(560px, 54vw);
  padding-top: clamp(2rem, 3.4vw, 3.6rem);
  padding-bottom: clamp(2.6rem, 4.2vw, 4.4rem);
}

.hero-logo {
  max-height: 420px;
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding-top: 2.2rem;
    padding-bottom: 3rem;
  }
}


/* Handwritten colorful underline for "It flips the model." */
.scribble-underline {
  position: relative;
  display: inline-block;
  padding-bottom: .45rem;
}

.scribble-underline::after {
  content: "";
  position: absolute;
  left: -.12em;
  right: -.12em;
  bottom: -.08em;
  height: 20px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 40' preserveAspectRatio='none'><path d='M8 24 C70 36, 115 6, 178 22 S290 36, 354 22 S435 10, 492 24' fill='none' stroke='%23ff7a19' stroke-width='6' stroke-linecap='round'/><path d='M10 28 C75 39, 122 11, 184 27 S296 39, 358 26 S438 14, 490 28' fill='none' stroke='%231d9cf0' stroke-width='4.5' stroke-linecap='round' opacity='0.95'/><path d='M18 31 C85 42, 126 17, 188 31 S296 40, 356 31 S432 21, 486 32' fill='none' stroke='%2320c984' stroke-width='3.5' stroke-linecap='round' opacity='0.95'/></svg>");
  pointer-events: none;
}


/* How It Works numbered steps */
.how-it-works-section {
  align-items: start;
}

.how-steps {
  display: grid;
  gap: 1rem;
}

.how-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(216, 222, 234, .95);
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--small-shadow);
}

.step-number {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #071225;
  color: #fff;
  font-weight: 800;
  line-height: 1;
}

.how-step h3 {
  margin: 0 0 .35rem;
  font-family: var(--display-sans);
  font-weight: 700;
  color: #172034;
  font-size: 1.02rem;
  line-height: 1.18;
  letter-spacing: -.01em;
}

.how-step p {
  margin: 0;
  color: #586174;
  line-height: 1.65;
}

@media (max-width: 860px) {
  .how-step {
    text-align: left;
  }
}


/* How It Works gallery / carousel */
.how-gallery-section {
  grid-column: 1 / -1;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.how-gallery-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.how-gallery-header h3 {
  margin: .2rem 0 0;
  font-family: var(--display-sans);
  font-weight: 700;
  color: #172034;
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.18;
  letter-spacing: -.015em;
}

.carousel-controls {
  display: flex;
  gap: .6rem;
}

.carousel-btn {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(205, 214, 229, .95);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #172034;
  box-shadow: var(--small-shadow);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}

.carousel-btn:hover {
  background: #fff;
  transform: translateY(-1px);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.how-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 34%);
  gap: 1rem;
  overflow-x: auto;
  padding: .15rem .1rem 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #c7cfdf transparent;
}

.how-gallery::-webkit-scrollbar {
  height: 10px;
}

.how-gallery::-webkit-scrollbar-thumb {
  background: #c7cfdf;
  border-radius: 999px;
}

.gallery-card {
  margin: 0;
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(216, 222, 234, .96);
  box-shadow: var(--small-shadow);
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eff2f7;
}

.gallery-card figcaption {
  padding: .9rem 1rem 1rem;
  color: #243048;
  font-size: .95rem;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .how-gallery {
    grid-auto-columns: minmax(260px, 48%);
  }
}

@media (max-width: 860px) {
  .how-gallery-header {
    align-items: start;
    flex-direction: column;
  }

  .how-gallery {
    grid-auto-columns: 86%;
  }
}

@media (max-width: 540px) {
  .how-gallery {
    grid-auto-columns: 92%;
  }
}


/* Examples gallery enhancements */
.gallery-helper{
  margin-top:.35rem;
  color:#5b6477;
  font-size:.95rem;
}

.gallery-card{
  position:relative;
  cursor:zoom-in;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.gallery-card:hover,
.gallery-card:focus-visible{
  transform:translateY(-4px);
  border-color:rgba(61, 86, 179, .35);
  box-shadow:0 16px 34px rgba(35, 47, 74, .12);
  outline:none;
}

.gallery-card::after{
  content:"View full image";
  position:absolute;
  top:.9rem;
  right:.9rem;
  padding:.35rem .55rem;
  border-radius:999px;
  background:rgba(16, 24, 40, .72);
  color:#fff;
  font-size:.72rem;
  letter-spacing:.02em;
  opacity:0;
  transform:translateY(-4px);
  transition:opacity .18s ease, transform .18s ease;
  pointer-events:none;
}

.gallery-card:hover::after,
.gallery-card:focus-visible::after{
  opacity:1;
  transform:translateY(0);
}

.lightbox[hidden]{
  display:none !important;
}

.lightbox{
  position:fixed;
  inset:0;
  z-index:2000;
}

.lightbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(11, 16, 28, .82);
  backdrop-filter:blur(5px);
}

.lightbox-dialog{
  position:relative;
  z-index:1;
  max-width:min(92vw, 1400px);
  max-height:90vh;
  margin:4vh auto;
  padding:1rem 1rem .85rem;
  border-radius:24px;
  background:rgba(255,255,255,.98);
  box-shadow:0 30px 80px rgba(0,0,0,.32);
  display:flex;
  flex-direction:column;
  gap:.8rem;
}

.lightbox-image{
  width:100%;
  height:auto;
  max-height:calc(90vh - 92px);
  object-fit:contain;
  border-radius:16px;
  background:#f4f6fb;
}

.lightbox-caption{
  margin:0;
  text-align:center;
  font-weight:600;
  color:#334155;
}

.lightbox-close{
  position:absolute;
  top:.55rem;
  right:.7rem;
  width:2.25rem;
  height:2.25rem;
  border:none;
  border-radius:999px;
  background:rgba(17,24,39,.86);
  color:#fff;
  font-size:1.6rem;
  line-height:1;
  cursor:pointer;
  display:grid;
  place-items:center;
}

@media (max-width: 640px){
  .lightbox-dialog{
    max-width:95vw;
    margin:3vh auto;
    padding:.8rem .8rem .75rem;
  }

  .gallery-card::after{
    opacity:1;
    transform:none;
    font-size:.68rem;
    top:.65rem;
    right:.65rem;
  }
}
