/* Αρχική, κατεύθυνση Α «Μελάνι και χαρτί» (Φάση Α2). Φορτώνεται μετά το css/site.css. Μόνο για την αρχική. */
body { overflow-x: clip; }

.btn-ink svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-ink .i-pause, .btn-ink.is-playing .i-play { display: none; }
.btn-ink.is-playing .i-pause { display: block; }

/* Hero */
.hero { padding: 36px 0 44px; }
.hero-grid { container-type: inline-size; display: grid; gap: 36px; }
.hero-copy { min-width: 0; }
.h1 { margin: 0 0 20px; font: 300 clamp(46px, 15.3vw, 104px)/.94 var(--serif); letter-spacing: -.035em; }  /* fallback με vw */
.h1 { font: 300 clamp(46px, 17.3cqw, 104px)/.94 var(--serif); }  /* μονάδες container (cqw): ακολουθεί το πλάτος του hero */
.h1 .line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; }
.h1 .line > span { display: block; white-space: nowrap; }
.h1 .dot { display: inline; color: var(--vermilion); }
.hero-sub { margin: 0 0 28px; max-width: 28em; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.hero-action { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.demo-note { margin: 0; font-size: 14px; color: var(--muted); }

/* Κινητό mock (διακοσμητικό) */
.mock { justify-self: start; width: min(100%, 300px); }
.phone { padding: 10px; background: var(--ink); border-radius: 44px; box-shadow: 0 24px 48px -18px rgb(var(--ink-rgb) / .35); }
.screen { padding: 26px 18px 22px; background: var(--paper-2); border-radius: 35px; }
.m-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.m-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--vermilion-soft); }
.m-who { display: grid; gap: 1px; min-width: 0; }
.m-who strong { font: 600 15px/1.25 var(--sans); }
.m-who small { font-size: 12px; line-height: 1.3; color: var(--muted); }
.m-wave { display: flex; align-items: center; justify-content: space-between; gap: 3px; height: 72px; margin-bottom: 16px; }
.m-wave span { flex: 1; min-width: 2px; height: var(--h, 40px); border-radius: 2px; background: var(--ink); transform-origin: center; }
.m-wave span:nth-child(5n) { background: var(--vermilion); }
.m-wave span:nth-child(1) { --h: 27px } .m-wave span:nth-child(2) { --h: 40px } .m-wave span:nth-child(3) { --h: 17px } .m-wave span:nth-child(4) { --h: 50px }
.m-wave span:nth-child(5) { --h: 33px } .m-wave span:nth-child(6) { --h: 58px } .m-wave span:nth-child(7) { --h: 23px } .m-wave span:nth-child(8) { --h: 42px }
.m-wave span:nth-child(9) { --h: 13px } .m-wave span:nth-child(10) { --h: 46px } .m-wave span:nth-child(11) { --h: 30px } .m-wave span:nth-child(12) { --h: 55px }
.m-wave span:nth-child(13) { --h: 20px } .m-wave span:nth-child(14) { --h: 38px } .m-wave span:nth-child(15) { --h: 10px } .m-wave span:nth-child(16) { --h: 49px }
.m-wave span:nth-child(17) { --h: 26px } .m-wave span:nth-child(18) { --h: 43px } .m-wave span:nth-child(19) { --h: 16px } .m-wave span:nth-child(20) { --h: 53px }
.m-wave span:nth-child(21) { --h: 32px } .m-wave span:nth-child(22) { --h: 40px } .m-wave span:nth-child(23) { --h: 22px } .m-wave span:nth-child(24) { --h: 48px }
.m-wave span:nth-child(25) { --h: 14px } .m-wave span:nth-child(26) { --h: 36px } .m-wave span:nth-child(27) { --h: 29px } .m-wave span:nth-child(28) { --h: 45px }
.m-bubble { margin: 0 0 12px; padding: 12px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.m-bot { background: var(--bubble); border-bottom-left-radius: 4px; max-width: 94%; }
.m-caller { margin: 12px 0 14px auto; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; max-width: 88%; }
.m-chip { display: inline-block; margin: -2px 0 0 -26px; padding: 7px 14px; border-radius: 999px; background: var(--white); box-shadow: 0 6px 18px rgb(var(--ink-rgb) / .16); font: 500 12.5px/1 var(--sans); }
.m-card { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--ink); border-radius: 6px; font-size: 13.5px; }
.m-card strong { font-weight: 600; }
.m-card span { color: var(--muted); }
@keyframes mbar { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: no-preference) {
  .mock.is-playing .m-wave span { animation: mbar 900ms ease-in-out infinite alternate; }
  .mock.is-playing .m-wave span:nth-child(3n) { animation-duration: 760ms; animation-delay: -220ms; }
  .mock.is-playing .m-wave span:nth-child(3n+1) { animation-duration: 1040ms; animation-delay: -480ms; }
  .mock.is-playing .m-wave span:nth-child(7n) { animation-duration: 620ms; animation-delay: -90ms; }
}

/* Γραμμές υπηρεσιών */
.rows { padding-top: 0; }
.row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 44px; grid-template-areas: "n t go" ". p go"; column-gap: 12px; row-gap: 6px; align-items: start; padding: 26px 0 28px; border-top: 1px solid var(--ink); }
.row:last-child { border-bottom: 1px solid var(--ink); }
.row-n { font: 400 22px/1.3 var(--serif); color: var(--vermilion); font-variant-numeric: lining-nums; }
.row .row-n { grid-area: n; padding-top: 6px; }
.row h2 { grid-area: t; margin: 0; font: 400 40px/1.05 var(--serif); letter-spacing: -.02em; }
.row p { grid-area: p; margin: 0; font-size: 17px; line-height: 1.5; color: var(--muted); }
.row-go { grid-area: go; justify-self: end; align-self: center; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 50%; transition: transform .2s ease; }
.row-go svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.2; }
.row:hover .row-go { transform: translateY(-3px); }

/* Και ακόμη */
.more { padding: 44px 0 20px; }
.more-head h2 { margin: 0 0 8px; font: 300 40px/1.05 var(--serif); letter-spacing: -.02em; }
.more-all { display: inline-block; margin-bottom: 18px; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.more-list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.more-list li { border-bottom: 1px solid var(--line); }
.more-list a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; font: 400 25px/1.2 var(--serif); letter-spacing: -.01em; }
.more-list .row-n { flex: none; min-width: 30px; font-size: 20px; }
.more-list a:hover { text-decoration: underline; text-underline-offset: 5px; }

.process { padding: 28px 0 56px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.process p { margin: 0; font-size: 18px; }

.js .h1 .line > span { transform: translateY(105%); }
.js .row { opacity: 0; }

@media (min-width: 720px) {
  .hero { padding: 56px 0 64px; }
  .hero-sub { font-size: 20px; }
  .mock { width: 320px; }
  .row { grid-template-columns: 56px minmax(0, 1fr) 56px; padding: 34px 0 36px; }
  .row h2 { font-size: clamp(48px, 7vw, 76px); }
  .row p { font-size: 19px; }
  .more-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; }
  .hero-copy { grid-column: 1 / span 8; }
  .mock { grid-column: 9 / span 4; justify-self: end; width: min(100%, 344px); }
  .h1 { font-size: clamp(56px, 9.9vw, 150px); }  /* fallback με vw */
  .h1 { font-size: clamp(56px, calc(11.5cqw - 2px), 156px); }
  .row { grid-template-columns: 72px minmax(0, 5fr) minmax(0, 4fr) 64px; grid-template-areas: "n t p go"; align-items: center; column-gap: 32px; padding: 40px 0; }
  .row .row-n { padding-top: 0; }
  .row h2 { font-size: clamp(56px, 5.3vw, 76px); }
  .row p { font-size: 20px; }
  .row-go { width: 48px; height: 48px; }
  .more { display: grid; grid-template-columns: 3fr 9fr; column-gap: 32px; padding: 84px 0 28px; border-top: 0; }
  .more-head h2 { font-size: 44px; }
  .more-list a { font-size: 32px; padding: 18px 0; }
  .more-list .row-n { font-size: 22px; }
}
