:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --bg-2: #ffffff;
  --bg-3: #e9eff7;
  --ink: #1c1c1e;
  --ink-soft: #556070;
  --muted: #8a97a8;
  --accent: #2a6aa8;
  --accent-2: #174a7e;
  --card: #ffffff;
  --card-light: #f5f7fb;
  --stroke: rgba(23, 74, 126, 0.12);
  --shadow: 0 24px 70px rgba(14, 34, 61, 0.18);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  background: radial-gradient(1200px 700px at 10% -20%, #dbe8f7, transparent 60%),
    radial-gradient(900px 600px at 90% 10%, #e9f1fb, transparent 60%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  margin: 0;
  letter-spacing: -0.01em;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.35;
  z-index: -2;
  mix-blend-mode: screen;
  animation: drift 18s ease-in-out infinite alternate;
}

.orb-1 { background: radial-gradient(circle, rgba(42,106,168,0.32), transparent 60%); top: -120px; left: -120px; }
.orb-2 { background: radial-gradient(circle, rgba(23,74,126,0.28), transparent 60%); top: 30%; right: -140px; }
.orb-3 { background: radial-gradient(circle, rgba(103,156,208,0.22), transparent 60%); bottom: -160px; left: 15%; }

.bg-noise {
  position: fixed;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/></filter><rect width="120" height="120" filter="url(%23n)" opacity="0.08"/></svg>');
  opacity: 0.08;
  z-index: -1;
  pointer-events: none;
}

@keyframes drift {
  from { transform: translateY(0px); }
  to { transform: translateY(18px); }
}

.page {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 28px 0 64px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: sticky;
  top: 10px;
  z-index: 20;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(23, 74, 126, 0.16);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.82), rgba(240, 246, 255, 0.72));
  box-shadow: 0 14px 34px rgba(16, 38, 66, 0.12);
  backdrop-filter: blur(14px) saturate(1.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(23, 74, 126, 0.1);
}

.logo {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #ffffff;
  padding: 3px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(23, 74, 126, 0.2);
  border: 1px solid rgba(23, 74, 126, 0.12);
}

.wordmark {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #123f6c;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(23, 74, 126, 0.1);
}

.nav-link {
  color: #34516f;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: #11395f;
  background: rgba(23, 74, 126, 0.12);
  transform: translateY(-1px);
}

.btn-primary,
.btn-ghost,
.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  color: #ffffff;
  padding: 12px 22px;
  box-shadow: 0 14px 30px rgba(23, 74, 126, 0.22);
}

.btn-primary:hover { transform: translateY(-1px); }

.btn-ghost {
  border: 1px solid var(--stroke);
  color: var(--accent-2);
  padding: 10px 18px;
  background: rgba(42, 106, 168, 0.06);
}

.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.2); }

.topbar .btn-ghost {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  border-color: rgba(11, 40, 70, 0.15);
  background: linear-gradient(140deg, #2a6aa8, #174a7e);
  box-shadow: 0 10px 24px rgba(23, 74, 126, 0.25);
}

.topbar .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-link {
  color: var(--accent-2);
  padding: 10px 6px;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px 0 24px;
  text-align: center;
}

.hero-copy {
  max-width: 760px;
}

.hero-copy h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--muted);
  margin-bottom: 18px;
}

.subtitle {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 16px 0 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 14px;
}

.trust-item {
  padding: 12px 14px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.hero-preview {
  position: relative;
}

.hero-device {
  display: flex;
  justify-content: center;
}

.hero-phone {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 390 / 844;
  border-radius: 38px;
  padding: 1.6% 1.6% 3%;
  background: linear-gradient(155deg, #0d1218, #1f2935 55%, #0d1218);
  box-shadow: var(--shadow);
}

.hero-phone-screen {
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(23, 74, 126, 0.12);
  background: #f5f7fb;
  padding: 0 0 8%;
}

.hero-phone-home {
  position: absolute;
  bottom: 1.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 1%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.section {
  padding: 80px 0 20px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.stat {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.9);
}

.stat h3 {
  margin: 0;
  font-size: 28px;
}

.stat p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 640px;
}

.section-head h2 {
  font-size: clamp(30px, 3.8vw, 46px);
}

.steps {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.funzioni-flow {
  margin-top: 28px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.flow-col {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 28px rgba(16, 38, 66, 0.08);
}

.flow-col-photographer {
  background: linear-gradient(165deg, #ffffff, #f2f7ff);
}

.flow-col-client {
  background: linear-gradient(165deg, #ffffff, #f4fbf8);
}

.flow-col-head {
  margin-bottom: 12px;
}

.flow-role {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #174a7e;
  background: rgba(23, 74, 126, 0.12);
}

.flow-col-client .flow-role {
  color: #1f7058;
  background: rgba(31, 112, 88, 0.12);
}

.flow-col h3 {
  margin: 0;
  font-size: 24px;
}

.flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.flow-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(23, 74, 126, 0.12);
  background: rgba(255, 255, 255, 0.7);
}

.flow-list li.flow-spacer {
  visibility: hidden;
}

.flow-step {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #174a7e;
  background: rgba(23, 74, 126, 0.12);
}

.flow-col-client .flow-step {
  color: #1f7058;
  background: rgba(31, 112, 88, 0.14);
}

.flow-list b {
  display: block;
  font-size: 15px;
  color: #0f2643;
}

.flow-list p {
  margin: 3px 0 0;
  color: #5a687b;
  font-size: 13px;
  line-height: 1.4;
}

.step {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.9);
}

.step-num {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.step h3 { margin: 10px 0 6px; font-size: 22px; }
.step p { color: var(--ink-soft); }

.section-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
}

.section-split.reverse {
  direction: rtl;
}

.section-split.reverse > * { direction: ltr; }

.list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.list-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
}

.bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), #5aa0de);
  margin-top: 8px;
}

.list-item h4 { margin: 0; font-size: 20px; }
.list-item p { margin: 6px 0 0; color: var(--ink-soft); }

.split-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.phone-showcase {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.iphone-stage {
  display: flex;
  justify-content: center;
  align-items: center;
}

.iphone-mock {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 390 / 844;
  border-radius: 38px;
  padding: 1.6% 1.6% 3%;
  background: linear-gradient(155deg, #0d1218, #1f2935 55%, #0d1218);
  box-shadow: 0 16px 30px rgba(11, 25, 44, 0.24);
}

.iphone-screen {
  border-radius: 32px;
  height: 100%;
  padding: 0 0 8%;
  background: #f5f7fb;
  border: 1px solid rgba(23, 74, 126, 0.12);
  overflow: hidden;
}

.hub-header {
  position: relative;
  margin-top: 0;
  padding: 6px 8px 8px;
  background: linear-gradient(140deg, #174a7e, #2a6aa8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(11, 34, 61, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #e6f1fa;
}

.hub-island {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  max-width: 126px;
  min-width: 112px;
  height: 19px;
  border-radius: 999px;
  background: #06090d;
  z-index: 2;
}

.hub-island.compose-part {
  transform: translateX(-50%) !important;
}

.hub-status {
  height: 24px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  color: #e6f1fa;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hub-status span:last-child {
  text-align: right;
}

.hub-bar {
  height: 56px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  justify-items: center;
}

.hub-slot {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-slot-right {
  justify-content: center;
}

.hub-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 21px;
  line-height: 1;
  color: #e6f1fa;
  background: transparent;
}

.hub-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  margin: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hub-icon svg circle {
  fill: currentColor;
  stroke: none;
}

.hub-head-copy {
  flex: 1;
  text-align: center;
  padding: 0 8px;
}

.hub-head-copy p {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #e6f1fa;
  line-height: 1.08;
}

.hub-head-copy small {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  font-weight: 500;
  color: #c7d7e6;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-content {
  padding: 12px 4.6% 0;
}

.hub-hero {
  border-radius: 20px;
  padding: 14px;
  margin-bottom: 14px;
  background: linear-gradient(160deg, #0a2542, #143c6e);
}

.hub-hero-label {
  margin: 0;
  color: #e1edff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hub-hero-title {
  margin: 4px 0 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.hub-hero-subtitle {
  margin: 2px 0 0;
  color: #c5d6f5;
  font-size: 13px;
}

.hub-meta-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hub-meta-grid article {
  border-radius: 12px;
  border: 1px solid #ffffff33;
  background: #ffffff0f;
  padding: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hub-meta-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 12px;
  border-radius: 999px;
  background: #ffffff1f;
}

.hub-meta-grid span {
  display: block;
  color: #c5d6f5;
  font-size: 11px;
}

.hub-meta-grid strong {
  display: block;
  color: #fff;
  margin-top: 2px;
  font-size: 12px;
}

.hub-badge-row {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hub-badge-row article {
  border-radius: 12px;
  border: 1px solid #ffffff3d;
  background: #ffffff14;
  padding: 8px;
}

.hub-badge-row span {
  display: block;
  color: #c5d6f5;
  font-size: 11px;
}

.hub-badge-row strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: 12px;
}

.hub-section-title {
  margin: 0 0 10px;
  color: #0a2542;
  font-size: 16px;
  font-weight: 700;
}

.hub-actions {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.hub-actions li {
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hub-action-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 12px;
  color: #0a2542;
  background: #e6f0ff;
  flex: 0 0 auto;
}

.hub-action-copy {
  flex: 1;
  min-width: 0;
}

.hub-actions b {
  display: block;
  color: #0a2542;
  font-size: 13px;
  font-weight: 700;
}

.hub-actions span {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
}

.hub-action-chevron {
  font-style: normal;
  color: #64748b;
  font-size: 15px;
  flex: 0 0 auto;
}

.phone-showcase-client .iphone-mock {
  background: linear-gradient(155deg, #0d1218, #1f2935 55%, #0d1218);
}

.phone-showcase-client .iphone-screen {
  background: #f5f7fb;
}

.client-hub-header {
  background: linear-gradient(140deg, #174a7e, #2a6aa8);
  border-bottom: 1px solid rgba(11, 34, 61, 0.32);
}

.client-hub-icon {
  background: transparent;
}

.client-hub-content {
  padding-top: 13px;
}

.client-hub-hero {
  background: linear-gradient(160deg, #0a2542, #143c6e);
}

.client-hub-meta-icon {
  background: #ffffff26;
}

.client-hub-actions li {
  border-color: #e5e7eb;
}

.client-hub-action-icon {
  background: #e6f0ff;
  color: #0a2542;
}

.iphone-home {
  position: absolute;
  bottom: 1.8%;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 1.05%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.appshot {
  display: grid;
  gap: 16px;
}

.shot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-soft);
}

.shot-title {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.shot-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(42, 106, 168, 0.12);
  color: var(--accent);
  font-weight: 600;
  font-size: 12px;
}

.shot-badge.ok {
  background: rgba(52, 168, 117, 0.14);
  color: #2f8a61;
}

.shot-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.shot-metric {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(42, 106, 168, 0.08);
  border: 1px solid rgba(23, 74, 126, 0.08);
}

.metric-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-top: 6px;
}

.shot-list {
  display: grid;
  gap: 10px;
}

.shot-item {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(23, 74, 126, 0.08);
  background: rgba(255, 255, 255, 0.7);
}

.shot-item p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.dot-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f8a61;
  margin-top: 6px;
}

.dot-status.warn {
  background: #e0a84e;
}

.split-card.light {
  background: linear-gradient(140deg, #f2f6fc, #e4edf8);
  color: #0f3050;
}

.card-stack { display: grid; gap: 12px; }
.stack-card {
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink-soft);
}

.split-card.light .stack-card {
  background: rgba(255, 255, 255, 0.9);
  color: #0f3050;
  border-color: rgba(23, 74, 126, 0.08);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 80px;
  gap: 10px;
}

.gallery-tile {
  background: linear-gradient(140deg, rgba(23, 74, 126, 0.25), rgba(125, 163, 209, 0.25));
  border-radius: 12px;
}

.gallery-tile.photo {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.35), rgba(23, 74, 126, 0.18)),
    radial-gradient(circle at 20% 30%, rgba(116, 170, 226, 0.65), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(30, 86, 145, 0.45), transparent 60%),
    linear-gradient(140deg, rgba(23, 74, 126, 0.35), rgba(125, 163, 209, 0.35));
}

.gallery-tile.tall { grid-row: span 2; }
.gallery-tile.wide { grid-column: span 2; }

.gallery-meta {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.meta-title { font-weight: 600; margin: 0; }
.meta-sub { margin: 4px 0 0; font-size: 13px; opacity: 0.7; }
.meta-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(42, 106, 168, 0.12);
  font-size: 12px;
}

.gallery-cta {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ghost-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px dashed rgba(23, 74, 126, 0.25);
  font-size: 12px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.pillar {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.9);
}

.pillar h3 { font-size: 22px; margin-bottom: 8px; }
.pillar p { color: var(--ink-soft); margin: 0; }

.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.quote-card {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.9);
}

.quote-card p {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--ink);
}

.quote-card span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cta-panel {
  margin-top: 40px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(42, 106, 168, 0.14), rgba(255, 255, 255, 0.9));
  border: 1px solid var(--stroke);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-panel h2 { font-size: clamp(26px, 3vw, 40px); }
.cta-actions { display: flex; gap: 12px; flex-direction: column; align-items: flex-start; }

.footer {
  margin-top: 80px;
  padding: 24px 0 10px;
  border-top: 1px solid var(--stroke);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--ink-soft);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.has-compose .compose-phone {
  --compose-progress: 0;
  opacity: calc(0.75 + (var(--compose-progress) * 0.25));
  transform:
    translate3d(
      0,
      calc((1 - var(--compose-progress)) * -8px),
      0
    )
    scale(calc(0.985 + (var(--compose-progress) * 0.015)));
  filter: blur(calc((1 - var(--compose-progress)) * 1px));
  transform-origin: center bottom;
  transition: opacity 0.22s linear, transform 0.22s linear, filter 0.22s linear;
  will-change: opacity, transform, filter;
}

.has-compose .compose-phone .compose-part {
  --part-progress: 0;
  opacity: calc(0.02 + (var(--part-progress) * 0.98));
  transform:
    translate3d(
      0,
      calc((1 - var(--part-progress)) * -26px),
      0
    )
    scale(calc(0.92 + (var(--part-progress) * 0.08)));
  filter: blur(calc((1 - var(--part-progress)) * 8px));
  transition: opacity 0.16s linear, transform 0.16s linear, filter 0.16s linear;
  will-change: opacity, transform, filter;
}

.has-compose .compose-phone span.compose-part,
.has-compose .compose-phone small.compose-part,
.has-compose .compose-phone strong.compose-part,
.has-compose .compose-phone b.compose-part,
.has-compose .compose-phone i.compose-part,
.has-compose .compose-phone em.compose-part {
  display: inline-block;
}

.has-compose .compose-phone .hub-actions li.compose-part,
.has-compose .compose-phone .hub-meta-grid article.compose-part,
.has-compose .compose-phone .hub-badge-row article.compose-part {
  transform:
    translate3d(
      calc((1 - var(--part-progress)) * 4px),
      calc((1 - var(--part-progress)) * -14px),
      0
    )
    scale(calc(0.95 + (var(--part-progress) * 0.05)));
}

@media (prefers-reduced-motion: reduce) {
  .has-compose .compose-phone {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .has-compose .compose-phone .compose-part {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .hero, .section-split { grid-template-columns: 1fr; }
  .hero-preview { order: -1; }
  .stats, .quotes { grid-template-columns: 1fr; }
  .cta-panel { flex-direction: column; align-items: flex-start; }
  .topbar { top: 8px; }
}

@media (max-width: 720px) {
  .page { padding-top: 20px; }
  .topbar {
    gap: 10px;
    padding: 8px 10px;
  }
  .brand { padding: 5px 7px; }
  .logo { width: 30px; height: 30px; }
  .wordmark { font-size: 17px; }
  .topbar .btn-ghost {
    font-size: 12px;
    padding: 8px 12px;
  }
  .hero { gap: 28px; }
  .cta-row { flex-direction: column; align-items: flex-start; }
  .hero-trust { grid-template-columns: 1fr; }
  .steps, .pillars, .shot-row, .funzioni-flow { grid-template-columns: 1fr; }
  .flow-col-client .flow-list .flow-spacer { display: none; }
  .section { padding-top: 64px; }
  .footer-links { flex-direction: column; align-items: flex-start; }
  .hub-head-copy p { font-size: 14px; }
  .hub-head-copy small { font-size: 9px; }
  .hub-meta-grid, .hub-badge-row { grid-template-columns: 1fr; }
  .phone-showcase .hub-head-copy p { font-size: 17px; }
  .phone-showcase .hub-head-copy small { font-size: 10px; }
  .phone-showcase .hub-meta-grid,
  .phone-showcase .hub-badge-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
