/* DealOne public web site (frontend/site/index.html). Port of the Claude Design template "DealOne — Web Sitesi
   (TR / EN)", second version: colors, sizes and spacing as in the design (1440 px preview), plus rules for small
   screens and for right-to-left languages (Arabic). Directions use logical properties (margin-inline, inset-inline,
   text-align: start), so the layout mirrors with dir="rtl" on <html>. */

/* Sora (SIL Open Font License 1.1, fonts/OFL.txt), self-hosted: the Content-Security-Policy allows fonts only from
   this origin. One variable font file per subset covers the weights 400, 600 and 700. */
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('fonts/sora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('fonts/sora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM Plex Sans Arabic (SIL Open Font License 1.1, fonts/OFL-IBM-Plex-Sans-Arabic.txt), Arabic subset of Google
   Fonts: Sora has no Arabic letters. It is the second font of the stack and has only the Arabic range, so Latin text,
   digits and product names stay in Sora, and the browser loads these files only when the page shows Arabic text.
   size-adjust: at the same font size the Arabic letters of Plex look smaller than the Latin letters of Sora. */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  size-adjust: 110%;
  src: url('fonts/plex-arabic-400.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  size-adjust: 110%;
  src: url('fonts/plex-arabic-600.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  size-adjust: 110%;
  src: url('fonts/plex-arabic-700.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

:root {
  /* The two parameters of the design template: ink (default #0B3B2E) and accent (default #B6E34A). */
  --ink: #0B3B2E;
  --accent: #B6E34A;
  --ink-hover: #145C48;
  --mint: #F3F6F2;
  --line: #E3E9E5;
  --chip-line: #D3DDD8;
  --muted: #4A5A54;
  --text-2: #3F524B;
  --on-ink: #C9D6D0;
  --on-accent: #1E3D33;
  --footer: #072820;
  --stage-discovery: #DCE8E1;
  --stage-proposal: #8DB5A3;
  --white: #FFFFFF;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--white);
}

/* landing.js sets this class while it loads the dictionary of a stored language (not English), so the English
   text does not flash first. It removes the class when the text is in place, or after a short timeout. */
.i18n-pending .site {
  visibility: hidden;
}

/* :where keeps the hover color weaker than the classes of the buttons (they keep their own color). */
a {
  color: var(--ink);
}

a:where(:hover) {
  color: var(--ink-hover);
}

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

.section--ink :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--accent);
}

/* SVG colors from the design parameters. */
.f-ink { fill: var(--ink); }
.f-accent { fill: var(--accent); }
.s-ink { stroke: var(--ink); }
.s-accent { stroke: var(--accent); }

/* Arrows that point to "next" turn round in right-to-left languages. */
[dir='rtl'] .icon-dir { transform: scaleX(-1); }

.site {
  font-family: 'Sora', 'IBM Plex Sans Arabic', 'Helvetica Neue', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  overflow-x: clip;
}

/* Arabic: letter spacing breaks the joined letters, and the script needs more line height than Latin. */
html[lang='ar'] .site,
html[lang='ar'] .site * {
  letter-spacing: normal;
}

html[lang='ar'] .site { line-height: 1.7; }

html[lang='ar'] .hero__title,
html[lang='ar'] .section__title,
html[lang='ar'] .erp__title,
html[lang='ar'] .flow-box__title {
  line-height: 1.35;
}

.container {
  /* 1200 px of content plus the padding (the design uses content-box sizing). */
  max-width: 1248px;
  margin-inline: auto;
  padding-inline: 24px;
}

ul.checks,
ul.module-tags,
ol.flow,
ol.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Header */
.site-header {
  position: relative;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  padding-block: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark { flex: none; }

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.brand__name-light { font-weight: 400; }

.brand__tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 15px;
  font-weight: 600;
}

.site-nav a { text-decoration: none; }

.site-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Wide screens: the menu panel is no box, its nav and actions sit in the header row (brand, nav, actions). The menu
   button and the language list of the phone menu show only on narrow screens, see "Narrow screens: compact header". */
.site-menu { display: contents; }

.site-header__tools { display: none; }

.menu-toggle { display: none; }

.site-menu__languages { display: none; }

/* Language menu of the wide header: a button that opens the list of the four languages. Without JavaScript the
   languages cannot change, so the menu is hidden then. */
.lang-menu {
  position: relative;
  display: none;
}

.js .lang-menu { display: block; }

.lang-menu__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--mint);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lang-menu__button[aria-expanded='true'] .lang-menu__chevron { transform: rotate(180deg); }

.lang-menu__list {
  position: absolute;
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 20;
  min-width: 200px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(11, 59, 46, 0.16);
}

.lang-menu__list[hidden] { display: none; }

.lang-option {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.lang-option:hover { background: var(--mint); }

.lang-option[aria-current='true'],
.lang-option[aria-current='true']:hover {
  background: var(--ink);
  color: var(--white);
}

.header-login {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 8px;
}

/* The login chooser (index.html, landing.js): a modal dialog with one card per product. */
.login-dialog {
  width: min(520px, calc(100% - 32px));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(11, 59, 46, 0.24);
}

.login-dialog::backdrop {
  background: rgba(11, 59, 46, 0.45);
}

.login-dialog__box {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-dialog__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.login-dialog__intro {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.login-dialog__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.login-dialog__subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.login-dialog__close {
  flex: none;
  width: 36px;
  height: 36px;
  margin: -6px;
  margin-inline-start: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-dialog__close:hover { background: var(--mint); }

.login-dialog__options {
  display: grid;
  gap: 12px;
}

.login-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
}

.login-option:hover {
  border-color: var(--ink);
  background: var(--mint);
  color: var(--ink);
}

/* The product logo: a 44px tile, the image fills it (the DealOne icon brings its own rounded square). */
.login-option__mark {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.login-option__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.login-option__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.login-option__name {
  font-size: 16px;
  font-weight: 700;
}

.login-option__description {
  font-size: 13px;
  color: var(--muted);
}

/* Buttons (links) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
}

.btn--ink,
.btn--ink:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--outline,
.btn--outline:hover {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn--ghost,
.btn--ghost:hover {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn--small {
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 10px;
}

.btn--large {
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 12px;
}

.btn--shadow { box-shadow: 0 10px 24px rgba(11, 59, 46, 0.25); }

.btn--cta {
  font-size: 17px;
  padding: 18px 30px;
  border-radius: 12px;
}

.btn--ghost.btn--cta { padding-inline: 26px; }

.pill {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 999px;
}

.pill--accent {
  background: var(--accent);
  color: var(--ink);
}

.pill--small { font-size: 12px; }

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--muted);
}

/* Icon boxes: a square with a centered stroke icon. Sizes lg 52, md 48, sm 44, xs 40 px. */
.icon-box {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.icon-box svg { stroke: var(--ink); }

.icon-box--lg { width: 52px; height: 52px; }
.icon-box--md { width: 48px; height: 48px; }
.icon-box--sm { width: 44px; height: 44px; }
.icon-box--xs { width: 40px; height: 40px; border-radius: 10px; }

.icon-box--mint { background: var(--mint); }
.icon-box--accent { background: var(--accent); }
.icon-box--ink { background: var(--ink); }
.icon-box--ink svg { stroke: var(--accent); }

/* Check lists */
.checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checks--roomy { gap: 12px; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text-2);
}

.check__icon {
  flex: none;
  margin-top: 2px;
  stroke: var(--ink-hover);
}

/* Hero */
.hero {
  background: var(--mint);
}

.hero__inner {
  padding-block: 88px 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 56px;
  align-items: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.hero__title {
  margin: 0;
  font-size: clamp(36px, 5vw + 16px, 56px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  font-weight: 700;
}

.hero__highlight {
  color: var(--ink-hover);
  background: linear-gradient(transparent 64%, var(--accent) 64%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 4px;
}

.hero__subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(20px, 1vw + 14px, 24px);
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--ink-hover);
}

.hero__dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(182, 227, 74, 0.35);
}

.hero__lead {
  margin: 0;
  font-size: 19px;
  color: var(--text-2);
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Product picture of the hero: a photo, the pipeline screen over it and two floating cards. */
.showcase {
  position: relative;
  min-width: 0;
}

.showcase__photo {
  display: block;
  width: 84%;
  height: 300px;
  margin-inline-start: auto;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(11, 59, 46, 0.2);
}

.won-badge {
  position: absolute;
  top: 20px;
  inset-inline-start: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 16px;
  padding-block: 12px;
  padding-inline: 12px 16px;
  box-shadow: 0 18px 40px rgba(11, 59, 46, 0.22);
}

.won-badge__icon {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 999px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.won-badge__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.won-badge__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink-hover);
}

.won-badge__deal {
  font-size: 14px;
  font-weight: 700;
}

.mock__card {
  position: relative;
  z-index: 1;
  width: 86%;
  margin-top: -120px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 40px 90px rgba(11, 59, 46, 0.24);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

.mock__title {
  font-size: 16px;
  font-weight: 700;
}

.mock__period {
  font-size: 12px;
  color: var(--muted);
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.live-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.mock__forecast {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.mock__forecast-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock__amount {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
}

.mock__target {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--mint);
  color: var(--ink-hover);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}

.mock__target svg { flex: none; }

.mock__chart { display: block; }

.stages {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stages__bar {
  display: flex;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  gap: 3px;
}

.stages__part--discovery { width: 34%; background: var(--stage-discovery); }
.stages__part--proposal { width: 28%; background: var(--stage-proposal); }
.stages__part--negotiation { width: 22%; background: var(--ink); }
.stages__part--won { width: 16%; background: var(--accent); }

.stages__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.stages__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stages__swatch {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

.stages__swatch--discovery { background: var(--stage-discovery); }
.stages__swatch--proposal { background: var(--stage-proposal); }
.stages__swatch--negotiation { background: var(--ink); }
.stages__swatch--won { background: var(--accent); }

.deals {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.deal {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--mint);
  border-radius: 14px;
  padding: 11px 14px;
}

.deal--top {
  background: var(--ink);
  color: var(--white);
}

.deal__avatar {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 999px;
  background: var(--stage-discovery);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deal--top .deal__avatar {
  background: var(--accent);
  color: var(--ink);
}

.deal__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.deal__name {
  font-size: 14px;
  font-weight: 600;
}

.deal__meta {
  font-size: 11px;
  color: var(--muted);
}

.deal--top .deal__meta { color: var(--on-ink); }

.score {
  position: relative;
  width: 42px;
  height: 42px;
  flex: none;
}

.score svg { display: block; }

.score__value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

/* In the flow under the screen (not absolute), so a longer text in another language makes the picture taller instead
   of covering the deals. It overlaps the bottom of the screen by 28 px, as in the design. */
.nba {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  margin-inline-start: auto;
  max-width: 300px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--ink);
  color: var(--white);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 24px 50px rgba(11, 59, 46, 0.35);
}

.nba__icon {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 11px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nba__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nba__label { color: var(--accent); }

.nba__body {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

/* Sections */
.section--mint { background: var(--mint); }

.section--ink {
  background: var(--ink);
  color: var(--white);
}

.section__inner {
  padding-block: 96px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.section__inner--tight { gap: 32px; }

.section__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
}

.section__intro--narrow { max-width: 560px; }

.section__intro--center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

.section__intro--center .pill { align-self: center; }

.section__title {
  margin: 0;
  font-size: clamp(30px, 2vw + 18px, 40px);
  letter-spacing: -1px;
  line-height: 1.15;
}

.section__lead {
  margin: 0;
  font-size: 18px;
  color: var(--text-2);
}

.section__lead--on-ink { color: var(--on-ink); }

.card-title {
  margin: 0;
  font-size: 20px;
}

.card-text {
  margin: 0;
  font-size: 15px;
  color: var(--text-2);
}

/* One platform: three pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}

.pillar {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar--ink {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.pillar__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pillar__title {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.4px;
}

.pillar__tagline {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-hover);
}

.pillar--ink .pillar__tagline { color: var(--accent); }
.pillar--ink .check { color: var(--on-ink); }
.pillar--ink .check__icon { stroke: var(--accent); }

.more-link,
.more-link:hover {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  padding-block: 8px;
}

.more-link:hover span { text-decoration: underline; }

.more-link svg { stroke: var(--ink); }

.pillar--ink .more-link { color: var(--white); }
.pillar--ink .more-link svg { stroke: var(--accent); }

/* Roles */
.roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 20px;
}

.role {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.role__title {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.3px;
}

.role__lead {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
}

/* Sales: telemarketing flow and module tiles */
.flow-box {
  background: var(--mint);
  border-radius: 24px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.flow-box__intro {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 760px;
}

.flow-box__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--ink-hover);
}

.flow-box__title {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.6px;
  line-height: 1.2;
}

.flow-box__text {
  margin: 0;
  font-size: 16px;
  color: var(--text-2);
}

.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

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

.flow__arrow { flex: none; }

.flow__step {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
}

.flow__step svg {
  flex: none;
  stroke: var(--ink);
}

.flow__step--final {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.flow__step--final svg { stroke: var(--accent); }

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 16px;
}

.tile {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tile--white { background: var(--white); }

.tile__title {
  margin: 0;
  font-size: 16px;
}

.tile__text {
  margin: 0;
  font-size: 14px;
  color: var(--text-2);
}

/* Two columns: text and a product picture (marketing, service) */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 56px;
  align-items: center;
}

.split__copy {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 22px;
}

.feature-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-row__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.feature-row__title {
  margin: 0;
  font-size: 18px;
}

.feature-row__title--small { font-size: 17px; }

.feature-row__body {
  margin: 0;
  font-size: 15px;
  color: var(--text-2);
}

.feature-row__body--small { font-size: 14px; }

/* Marketing: unified customer profile */
.profile {
  position: relative;
  padding-block: 16px;
  padding-inline-start: 16px;
  min-width: 0;
}

.profile__backdrop {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 70%;
  height: 70%;
  background: var(--accent);
  border-radius: 28px;
}

.profile__card {
  position: relative;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(11, 59, 46, 0.18);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.profile__avatar {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 999px;
  background: var(--ink);
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile__who {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile__name {
  font-size: 17px;
  font-weight: 700;
}

.profile__meta {
  font-size: 12px;
  color: var(--muted);
}

.ring {
  position: relative;
  width: 56px;
  height: 56px;
  flex: none;
}

.ring svg { display: block; }

.ring__value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.ring__label {
  margin-top: 2px;
  font-size: 8px;
  font-weight: 600;
  color: var(--muted);
}

.profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile__tag {
  background: var(--mint);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
}

.profile__tag--ink {
  background: var(--ink);
  color: var(--white);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.timeline__row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.timeline__dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  flex: none;
  border-radius: 999px;
  background: var(--stage-proposal);
}

.timeline__dot--ink { background: var(--ink); }

.timeline__body {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.timeline__event { font-weight: 600; }

.timeline__time {
  color: var(--muted);
  white-space: nowrap;
}

.profile__nbo {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--ink);
  color: var(--white);
  border-radius: 14px;
  padding: 14px 16px;
}

.profile__nbo svg { flex: none; }

.profile__nbo-text { font-size: 13px; }

.profile__nbo-label {
  color: var(--accent);
  font-weight: 700;
}

/* Service: unified inbox */
.inbox {
  position: relative;
  padding-block: 16px;
  padding-inline-end: 16px;
  min-width: 0;
}

.inbox__backdrop {
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  width: 70%;
  height: 70%;
  background: var(--ink);
  border-radius: 28px;
}

.inbox__card {
  position: relative;
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(11, 59, 46, 0.18);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inbox__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.inbox__title {
  font-size: 16px;
  font-weight: 700;
}

.inbox__count {
  font-size: 12px;
  font-weight: 700;
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.inbox__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.channel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mint);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
}

.channel svg,
.ticket__icon svg { stroke: var(--ink); }

.inbox__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticket {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
}

.ticket--active { background: var(--mint); }

.ticket__icon {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 999px;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket__text {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
}

.ticket__tag {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.ticket__tag--complaint { background: #FDE2CF; color: #7A3410; }
.ticket__tag--return { background: #E7E3FB; color: #3D2F86; }
.ticket__tag--support { background: var(--stage-discovery); color: var(--ink-hover); }
.ticket__tag--capa { background: #FCF3C9; color: #6B5300; }

.ticket__meta {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

/* Agentic AI */
.ai__eyebrow {
  align-self: flex-start;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}

.ai-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 18px;
}

.ai-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-card__title {
  margin: 0;
  font-size: 19px;
  color: var(--white);
}

.ai-card__text {
  margin: 0;
  font-size: 15px;
  color: var(--on-ink);
}

/* All modules */
.module-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 18px;
}

.module-group {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.module-group__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.module-group__title {
  margin: 0;
  font-size: 18px;
}

.module-group__count {
  margin-inline-start: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.module-tags li {
  background: var(--mint);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
}

/* Integrations */
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.chip {
  border: 1.5px solid var(--chip-line);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 15px;
}

.chip--ink {
  border: 0;
  background: var(--ink);
  color: var(--white);
}

a.chip { text-decoration: none; }
a.chip--ink:hover { color: var(--accent); }

.erp {
  background: var(--mint);
  border-radius: 24px;
  padding: 48px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 40px;
  align-items: center;
}

.erp__copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.erp__title {
  margin: 0;
  font-size: clamp(26px, 1vw + 20px, 32px);
  letter-spacing: -0.8px;
  line-height: 1.2;
}

.erp__text {
  margin: 0;
  font-size: 17px;
  color: var(--text-2);
}

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

.erp-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line);
}

.erp-card--wide { grid-column: span 2; }

.erp-card__name {
  font-size: 22px;
  font-weight: 700;
}

.erp-card__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-hover);
}

.erp-card__status svg { flex: none; }

/* How we start */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step__number {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Demo */
.demo {
  padding: 96px 24px;
}

.demo__box {
  max-width: 1296px;
  margin-inline: auto;
  background: var(--accent);
  border-radius: 24px;
  padding: 64px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.demo__copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}

.demo__text {
  margin: 0;
  font-size: 18px;
  color: var(--on-accent);
}

.demo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: var(--on-ink);
}

.site-footer__inner {
  padding-block: 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 300px;
}

.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.site-footer__name-accent { color: var(--accent); }

.site-footer__tagline { font-size: 14px; }
.site-footer__tagline a { color: inherit; }

.site-footer__columns {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  font-size: 14px;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__heading {
  color: var(--white);
  font-weight: 600;
}

.site-footer__column a,
.site-footer__column a:hover {
  color: var(--on-ink);
  text-decoration: none;
}

.site-footer__column a:hover { text-decoration: underline; }

.site-footer__legal {
  padding-bottom: 32px;
  font-size: 13px;
}

/* Narrow screens: compact header. One row with the brand and the menu button; the menu panel (section links,
   languages, log in, demo) opens under it. Without JavaScript (no "js" class on <html>) the panel stays open, so every
   link is there. 1239 px: the one-row header of wide screens needs about 1200 px in the longest language. */
@media (max-width: 1239px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 12px;
  }

  .site-header__tools {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-inline-start: auto;
  }

  .js .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
  }

  .menu-toggle__icon--close,
  .menu-toggle[aria-expanded='true'] .menu-toggle__icon--open { display: none; }

  .menu-toggle[aria-expanded='true'] .menu-toggle__icon--close { display: block; }

  .site-menu {
    display: block;
    flex-basis: 100%;
    border-top: 1px solid var(--line);
    padding-top: 8px;
  }

  .js .site-menu:not(.is-open) { display: none; }

  .site-nav {
    flex-direction: column;
    gap: 0;
    font-size: 16px;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }

  .site-header__actions .lang-menu,
  .js .site-header__actions .lang-menu { display: none; }

  .js .site-menu__languages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-block: 16px 4px;
  }

  .site-menu__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--muted);
  }

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

  .lang-options .lang-option {
    justify-content: center;
    text-align: center;
    border: 1.5px solid var(--line);
  }

  .lang-options .lang-option[aria-current='true'] { border-color: var(--ink); }

  .site-header__actions {
    flex-wrap: nowrap;
    gap: 12px;
    padding: 16px 0 8px;
  }

  .header-login {
    flex: 1;
    text-align: center;
    border: 1.5px solid var(--ink);
    border-radius: 10px;
    padding: 11px 12px;
  }

  .site-header__actions .btn--small {
    flex: 1;
    justify-content: center;
    text-align: center;
  }
}

/* Very small phones (320-374 px): a smaller brand. */
@media (max-width: 374px) {
  .site-header .container { padding-inline: 16px; }
  .brand { gap: 8px; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: 20px; }
  .brand__tagline { font-size: 10px; letter-spacing: 0; }
}

/* One column for the text and picture rows: the text comes first. */
@media (max-width: 783px) {
  .split .inbox { order: 1; }
}

/* Small screens: less padding, the floating cards of the hero inside the screen. */
@media (max-width: 720px) {
  .hero__inner { padding-block: 56px 64px; gap: 40px; }
  .hero__lead { font-size: 17px; }
  .btn--large { padding: 14px 22px; }
  .section__inner { padding-block: 64px; gap: 32px; }
  .showcase__photo { width: 100%; height: 220px; }
  .won-badge { top: 12px; inset-inline-start: 12px; }
  .mock__card { width: 94%; margin-top: -56px; padding: 18px 18px 36px; }
  .nba { margin-top: -24px; }
  .pillar,
  .role,
  .step { padding: 24px; }
  .flow-box { padding: 24px 20px; }
  .flow-box__title { font-size: 24px; }
  .profile__card,
  .inbox__card { padding: 18px; }
  .ticket { flex-wrap: wrap; gap: 8px 12px; padding: 10px 12px; }
  .ticket__text { flex-basis: calc(100% - 44px); }
  .ticket__tag { margin-inline-start: 44px; }
  .erp { padding: 32px 20px; }
  .erp-card { padding: 18px; }
  .erp-card__name { font-size: 19px; }
  .demo { padding: 64px 16px; }
  .demo__box { padding: 40px 24px; }
  .site-footer__columns { gap: 32px; }
}
