/* ozzi-ai.com — the marketing page. One stylesheet for English and Hebrew: logical properties only, so the Hebrew
   page mirrors by itself. */
:root {
  --teal: #0e6b76;
  --teal-deep: #0a4f57;
  --ink: #12262a;          /* teal-tinted ink: text and the dark bands */
  --ink-soft: #4a5d61;
  --paper: #f6f9f8;        /* cool paper, not cream */
  --white: #ffffff;
  --mint: #7fd6cf;
  --mint-soft: #e3f3f1;
  --line: #d8e3e2;
  --amber: #b9770e;        /* only for "refused": the one warm note */
  --radius-lg: 22px;
  --radius-sm: 10px;
  --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: Rubik, system-ui, -apple-system, sans-serif;
  font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--white); padding: 8px 12px; border-radius: 8px; }
.skip:focus { inset-inline-start: 8px; z-index: 50; }

/* header */
.bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.bar.scrolled { border-bottom-color: var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.logo span { font-family: Pacifico, cursive; font-size: 27px; line-height: 1; direction: ltr; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.lang { font-size: 14px; color: var(--ink-soft); text-decoration: none; padding: 4px 8px; border-radius: 6px; }
.lang:hover { background: var(--mint-soft); color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px;
  border-radius: 999px; background: var(--teal); color: var(--white); text-decoration: none; font-weight: 500; font-size: 16px;
  border: 0; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--teal-deep); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14.5px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal); background: transparent; }

/* hero */
.hero { padding: 72px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; max-width: 13ch; }
.hero .lede { margin-top: 22px; font-size: 19px; color: var(--ink-soft); max-width: 34em; }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .fine { margin-top: 18px; font-size: 14px; color: var(--ink-soft); }

/* the demo: the page's one memorable thing */
.demo { background: var(--ink); color: #e9f2f1; border-radius: var(--radius-lg); padding: 22px; box-shadow: 0 30px 60px -30px rgba(18, 38, 42, .55); }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.who { display: flex; gap: 6px; padding: 4px; background: rgba(255, 255, 255, .07); border-radius: 999px; }
.who button { white-space: nowrap; border: 0; background: transparent; color: #b7c9c7; font: inherit; font-size: 14px; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.who button[aria-pressed="true"] { background: var(--white); color: var(--ink); font-weight: 500; }
.demo-note { font-size: 12.5px; color: #8fa6a4; }
.thread { margin-top: 18px; min-height: 278px; display: flex; flex-direction: column; gap: 12px; }
.q, .a { max-width: 88%; padding: 12px 15px; border-radius: 16px; font-size: 15.5px; line-height: 1.5; }
.q { align-self: flex-end; background: var(--teal); color: var(--white); border-end-end-radius: 6px; }
.a { align-self: flex-start; background: #1d3a3f; border-end-start-radius: 6px; }
.a .num { display: block; font-size: 30px; font-weight: 600; color: var(--white); letter-spacing: -0.01em; margin: 2px 0 6px; direction: ltr; text-align: start; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: rgba(127, 214, 207, .14); color: var(--mint); }
.chip.warm { background: rgba(229, 168, 64, .16); color: #f0c27a; }
.typing { align-self: flex-start; display: flex; gap: 5px; padding: 14px 16px; background: #1d3a3f; border-radius: 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #8fa6a4; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
.enter { animation: rise .35s ease-out both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* sections */
section.block { padding: 96px 0; }
.block h2, .cta h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; max-width: 20ch; }
.block .intro, .cta .intro { margin-top: 16px; font-size: 18.5px; color: var(--ink-soft); max-width: 40em; }

/* the problem: three plain statements, not cards */
.problems { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.problems div { border-top: 3px solid var(--ink); padding-top: 18px; }
.problems h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
.problems p { margin-top: 8px; color: var(--ink-soft); font-size: 16px; }

/* how it works: a real sequence, so it is numbered */
.how { background: var(--white); border-block: 1px solid var(--line); }
.flow { margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; list-style: none; }
.flow::before { content: ""; position: absolute; inset-inline: 12.5%; top: 23px; height: 2px; background: var(--line); }
.flow li { position: relative; padding-inline: 14px; text-align: center; }
.flow .n { width: 48px; height: 48px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--white);
  border: 2px solid var(--teal); color: var(--teal); font-weight: 700; font-size: 18px; position: relative; }
.flow li:last-child .n { background: var(--teal); color: var(--white); }
.flow h3 { margin-top: 16px; font-size: 18px; font-weight: 600; }
.flow p { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
.flow .eg { display: inline-block; margin-top: 10px; font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--mint-soft); color: var(--teal-deep); }

/* features: two columns of rows, icon + words */
.features { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 64px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--mint-soft); display: grid; place-items: center; }
.icon svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18px; font-weight: 600; line-height: 1.35; }
.feature p { margin-top: 4px; color: var(--ink-soft); font-size: 16px; }

/* security: the dark band */
.secure { background: var(--ink); color: #e9f2f1; }
.secure h2 { color: var(--white); }
.secure .intro { color: #a9bdbb; }
.guards { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg); overflow: hidden; }
.guards div { background: var(--ink); padding: 28px 24px; }
.guards h3 { font-size: 17px; font-weight: 600; color: var(--mint); }
.guards p { margin-top: 8px; font-size: 15px; color: #b7c9c7; }

/* onboarding */
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.steps .k { font-size: 14px; font-weight: 600; color: var(--teal); }
.steps h3 { margin-top: 6px; font-size: 21px; line-height: 1.25; font-weight: 600; }
.steps p { margin-top: 10px; color: var(--ink-soft); font-size: 15.5px; }
.steps .when { display: inline-block; margin-top: 14px; font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--mint-soft); color: var(--teal-deep); }
.steps li:nth-child(3) { background: var(--teal); border-color: var(--teal); color: var(--white); }
.steps li:nth-child(3) .k { color: var(--mint); }
.steps li:nth-child(3) p { color: #d3ebe9; }
.steps li:nth-child(3) .when { background: rgba(255, 255, 255, .14); color: var(--white); }

/* closing call */
.cta { padding: 104px 0 112px; text-align: center; }
.cta h2 { margin-inline: auto; max-width: 18ch; }
.cta .intro { margin-inline: auto; }
.cta .actions { margin-top: 32px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
footer .logo span { font-size: 22px; }
footer .logo img { width: 28px; height: 28px; }

/* phones and tablets */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .problems, .steps { grid-template-columns: 1fr; gap: 28px; }
  .guards { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .flow::before { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .bar .lang { margin-inline-start: auto; }
  .hero { padding: 40px 0 64px; }
  section.block { padding: 72px 0; }
  .guards, .flow { grid-template-columns: 1fr; }
  .demo { padding: 16px; }
  .demo-note { display: none; }
  .who button { padding: 7px 12px; }
  .thread { min-height: 300px; }
}

[dir="rtl"] .a .num { text-align: right; }
