:root {
  --purple: #6f2cf4;
  --purple-dark: #5320c7;
  --purple-soft: #f4efff;
  --green: #27b88a;
  --green-dark: #168365;
  --green-soft: #e9faf4;
  --ink: #102c32;
  --muted: #66777b;
  --line: #e8edec;
  --white: #ffffff;
  --surface: #fbfdfc;
  --shadow: 0 22px 65px rgba(25, 31, 52, 0.12);
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body[dir="rtl"] {
  font-family: Tahoma, Arial, sans-serif;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.eyebrow {
  margin: 0 0 11px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 12px 28px rgba(111, 44, 244, 0.23);
}

.button-white {
  color: var(--purple-dark);
  background: #fff;
}

.button-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.58);
  background: rgba(255,255,255,.08);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(232, 237, 236, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(15px);
}

.nav-shell {
  display: flex;
  min-height: 80px;
  align-items: center;
  gap: 28px;
}

.brand img {
  width: 151px;
  height: 54px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-inline-start: auto;
}

.main-nav a {
  position: relative;
  padding-block: 28px;
  color: #263c40;
  font-size: .94rem;
  font-weight: 750;
}

.main-nav a:hover,
.main-nav a.active { color: var(--purple); }

.main-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 3px;
  border-radius: 20px;
  background: var(--purple);
  content: "";
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cta {
  min-height: 46px;
  padding: 10px 18px;
  font-size: .89rem;
}

.language-switcher {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.language-button {
  padding: 8px 9px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: .75rem;
  font-weight: 900;
}

.language-button.active {
  color: var(--purple);
  background: var(--purple-soft);
}

.menu-button {
  display: none;
  width: 45px;
  height: 45px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 11px;
  background: var(--purple-soft);
}

.menu-button span {
  width: 22px;
  height: 2px;
  border-radius: 4px;
  background: var(--purple);
}

/* Hero */
.story-hero {
  overflow: hidden;
  padding: 66px 0 0;
  background:
    radial-gradient(circle at 8% 16%, rgba(111,44,244,.07), transparent 26%),
    #fff;
}

.story-hero-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: end;
  gap: 54px;
}

.story-hero-copy {
  align-self: center;
  padding-bottom: 72px;
}

.story-hero-copy h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(3rem, 5.25vw, 5rem);
  line-height: 1.06;
  letter-spacing: -.052em;
}

.story-hero-copy h1 span { color: var(--purple); }

.title-accent {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 21px;
}

.title-accent span {
  width: 68px;
  height: 3px;
  border-radius: 10px;
  background: var(--green);
}

.title-accent b {
  color: var(--green);
  font-size: 1.05rem;
}

.hero-description {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 1.07rem;
}

.story-hero-photo {
  height: 460px;
  overflow: hidden;
  border-radius: 170px 0 0 0;
  box-shadow: var(--shadow);
}

body[dir="rtl"] .story-hero-photo {
  border-radius: 0 170px 0 0;
}

.story-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 62px;
}

.about-photo-card {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.about-photo-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.heading-with-icon {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 19px;
}

.heading-with-icon img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.heading-with-icon h2,
.founder-copy h2,
.section-heading h2,
.vision-copy h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  line-height: 1.13;
  letter-spacing: -.04em;
}

.heading-with-icon h2 span,
.founder-copy h2 span,
.section-heading h2 span {
  color: var(--purple);
}

.about-copy > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.01rem;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.about-points article {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.about-points article > span {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--purple);
  background: var(--purple-soft);
  font-weight: 900;
}

.about-points strong,
.about-points small { display: block; }

.about-points strong {
  font-size: .89rem;
  line-height: 1.3;
}

.about-points small {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.3;
}

/* Founder */
.founder-section {
  padding-top: 36px;
}

.founder-card {
  display: grid;
  grid-template-columns: 1fr .92fr;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(244,239,255,.95), rgba(255,255,255,.92));
  box-shadow: 0 18px 55px rgba(68, 36, 128, .09);
}

.founder-copy {
  padding: 50px 52px;
}

.founder-copy > p {
  color: var(--muted);
  margin: 17px 0 0;
}

.founder-signature {
  margin-top: 26px;
}

.founder-signature strong {
  display: block;
  color: var(--purple);
  font-family: "Segoe Script", cursive;
  font-size: 1.55rem;
  font-weight: 500;
}

.founder-signature span {
  display: block;
  margin-top: 2px;
  font-size: .9rem;
  font-weight: 800;
}

.photo-note {
  max-width: 530px;
  padding: 11px 13px;
  border-radius: 10px;
  color: var(--green-dark) !important;
  background: var(--green-soft);
  font-size: .82rem;
}

.founder-photo {
  min-height: 530px;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Journey */
.journey-section {
  background:
    linear-gradient(180deg, #fff, #fbfdfc);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 45px;
}

.journey-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.timeline {
  position: relative;
  display: grid;
  gap: 31px;
  padding-inline-start: 33px;
}

.timeline::before {
  position: absolute;
  top: 7px;
  bottom: 7px;
  inset-inline-start: 7px;
  width: 2px;
  background: linear-gradient(var(--green), var(--purple));
  content: "";
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  top: 6px;
  inset-inline-start: -32px;
  width: 15px;
  height: 15px;
  border: 4px solid var(--green);
  border-radius: 50%;
  background: #fff;
}

.timeline-item > strong {
  color: var(--purple);
  font-size: .9rem;
}

.timeline-item h3 {
  margin: 3px 0 6px;
  font-size: 1.18rem;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.pund-card {
  position: sticky;
  top: 108px;
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 29px;
  align-items: center;
  padding: 38px;
  border: 1px solid rgba(31, 102, 173, .18);
  border-radius: 25px;
  background:
    radial-gradient(circle at 100% 0, rgba(39,184,138,.16), transparent 27%),
    linear-gradient(135deg, #f5f9ff, #fff);
  box-shadow: var(--shadow);
}

.pund-logo {
  display: grid;
  width: 135px;
  height: 135px;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 3px solid #1766ad;
  background: #1766ad;
}

.pund-logo span {
  display: grid;
  place-items: center;
  border: 1px solid #fff;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 2rem;
}

.pund-kicker {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-weight: 900;
}

.pund-card h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.2;
}

.pund-card p:not(.pund-kicker) {
  color: var(--muted);
}

.pund-note {
  padding: 11px 13px;
  border-radius: 10px;
  background: var(--purple-soft);
  font-size: .8rem;
}

/* Vision */
.vision-section {
  padding: 8px 0 38px;
}

.vision-card {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(39,184,138,.15);
  border-radius: 27px;
  background: var(--green-soft);
}

.vision-copy {
  display: flex;
  align-items: flex-start;
  gap: 19px;
  padding: 39px 40px;
}

.vision-icon {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green-dark);
  background: #fff;
  font-size: 1.35rem;
}

.vision-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.85rem);
}

.vision-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.vision-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA */
.story-cta-section {
  padding: 0 0 70px;
}

.story-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 35px 38px;
  border-radius: 23px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0, rgba(39,184,138,.32), transparent 28%),
    linear-gradient(135deg, var(--purple-dark), var(--purple));
  box-shadow: 0 19px 50px rgba(80, 32, 195, .2);
}

.story-cta h2 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.15;
}

.story-cta p {
  max-width: 720px;
  margin: 9px 0 0;
  color: rgba(255,255,255,.82);
}

.story-cta-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 11px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .75fr .85fr 1fr;
  gap: 44px;
  padding: 58px 0 38px;
}

.footer-brand > img {
  width: 158px;
  height: 57px;
  object-fit: contain;
}

.footer-brand p {
  max-width: 340px;
  margin: 17px 0;
  color: var(--muted);
  font-size: .91rem;
}

.social-links { display: flex; gap: 9px; }

.social-links a {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--purple);
  font-weight: 900;
}

.footer-column h3 {
  margin: 0 0 16px;
  font-size: 1rem;
}

.footer-column a,
.footer-column span {
  display: block;
  margin: 9px 0;
  color: var(--muted);
  font-size: .91rem;
}

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

.footer-bottom {
  padding: 21px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 1040px) {
  .menu-button {
    display: flex;
    margin-inline-start: auto;
  }

  .nav-shell {
    flex-wrap: wrap;
    gap: 12px;
    padding: 13px 0;
  }

  .main-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding-top: 8px;
  }

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

  .main-nav a {
    padding: 13px 3px;
    border-top: 1px solid var(--line);
  }

  .main-nav a.active::after { display: none; }

  .nav-actions {
    display: none;
    order: 4;
    width: 100%;
    justify-content: space-between;
    padding-bottom: 8px;
  }

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

  .story-hero-grid,
  .about-grid,
  .founder-card,
  .journey-grid,
  .vision-card {
    grid-template-columns: 1fr;
  }

  .story-hero-copy { padding-bottom: 20px; }

  .story-hero-photo {
    height: 440px;
    border-radius: 120px 120px 0 0;
  }

  body[dir="rtl"] .story-hero-photo {
    border-radius: 120px 120px 0 0;
  }

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

  .founder-photo {
    min-height: 430px;
  }

  .pund-card {
    position: static;
  }

  .vision-photo {
    min-height: 260px;
  }

  .story-cta {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 700px) {
  :root { --container: min(100% - 24px, 1180px); }

  .brand img { width: 132px; }

  .nav-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-cta { width: 100%; }

  .language-switcher { align-self: flex-start; }

  .section { padding: 68px 0; }

  .story-hero {
    padding-top: 48px;
  }

  .story-hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .story-hero-photo {
    height: 350px;
    border-radius: 34px 34px 0 0;
  }

  .about-photo-card img {
    height: 370px;
  }

  .founder-copy {
    padding: 35px 25px;
  }

  .founder-photo {
    min-height: 360px;
  }

  .pund-card {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .pund-logo {
    width: 110px;
    height: 110px;
  }

  .vision-copy {
    padding: 31px 25px;
  }

  .story-cta {
    padding: 30px 24px;
  }

  .story-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .story-cta-actions .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }
}
