/*
 * theme.css — WRITTEN BY THE PLATFORM. Do not edit.
 *
 * Palette: Your colours (custom)
 * Source colours: #180c08 #3b2e28 #fbf3ec #a8543a #a45943 #ffffff
 *
 * Every value below is either one of those five or derived from them, and each
 * one is contrast-corrected against this palette's own background. Consume
 * them with var(--token); never write a colour value in app code.
 */

:root {
  --canvas: #fbf3ec;
  --surface: #fdfaf6;
  --surface-2: #f0e7e1;
  --border: #dbd3cc;
  --border-strong: #b7aea8;
  --ink: #3b2e28;
  --muted: #736a64;
  --accent: #a8543a;
  --accent-hover: #8f4731;
  --accent-ink: #ffffff;
  --accent-text: #a45943;
  --accent-strong: #9b4d35;
  --accent-soft: #efddd3;
  --accent-border: #d6ab9c;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #dfe5d7;
  --success-strong: #116d34;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #f2e0d1;
  --warning-strong: #994607;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #f3d9d3;
  --danger-strong: #b91c1c;}

/*
 * app.css — AI-WRITABLE. Own stylesheet for "Dłoń Pomocy", a warm, human
 * landing page for a law firm helping with the "świadczenie wspierające"
 * benefit. Loads after design.css and theme.css, so it wins here.
 *
 * Character: rounder, softer and more generous than the system default —
 * a calm, paper-and-clay feel rather than an admin-panel one. Every colour
 * still comes from theme.css tokens; only shape, space and motion change.
 */

:root {
  /* Rounder corners everywhere — the single biggest lever for "warm". */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  /* Softer, warmer shadows — colour via color-mix on a token, never a literal. */
  --shadow: 0 1px 2px color-mix(in srgb, var(--ink) 6%, transparent);
  --shadow-raised: 0 10px 30px color-mix(in srgb, var(--ink) 10%, transparent);

  /* A touch slower, gentler motion to match the tone. */
  --dur-1: 160ms;
  --dur-2: 260ms;
}

/* ---------------------------------------------------------------------- */
/* Page rhythm                                                             */
/* ---------------------------------------------------------------------- */

.landing > * + * {
  margin-top: 64px;
}

.section {
  scroll-margin-top: 24px;
}

.section-head {
  max-width: 72ch;
}

.kicker {
  display: inline-block;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 8px;
}

.section-title {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 12px;
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                     */
/* ---------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: 48px 32px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 36px 20px;
    gap: 32px;
  }
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 0;
}

.hero-blob-a {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -140px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
}

.hero-blob-b {
  width: 300px;
  height: 300px;
  bottom: -140px;
  left: -100px;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
}

.hero-badge {
  white-space: normal;
  height: auto;
  line-height: 1.4;
  padding: 6px 14px;
  text-align: left;
}

.hero-title {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
  margin: 0;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.hero-trust > * + * {
  margin-top: 10px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--t-sm);
  color: var(--muted);
}

.hero-trust-item .icon {
  color: var(--success-strong);
  flex-shrink: 0;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
}

.hero-ring {
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.hero-ring-3 {
  width: 260px;
  height: 260px;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.hero-ring-2 {
  width: 195px;
  height: 195px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}

.hero-ring-1 {
  width: 130px;
  height: 130px;
  background: var(--accent);
  box-shadow: var(--shadow-raised);
}

.hero-icon {
  width: 52px;
  height: 52px;
  color: var(--accent-ink);
}

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-raised);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
  animation: hero-float 5s ease-in-out infinite;
}

.hero-chip .icon {
  color: var(--success-strong);
}

.hero-chip-a {
  top: 6%;
  right: -4%;
}

.hero-chip-b {
  bottom: 8%;
  left: -6%;
  animation-delay: 1.4s;
}

@media (max-width: 900px) {
  .hero-chip-a { right: 2%; }
  .hero-chip-b { left: 2%; }
}

@media (max-width: 480px) {
  .hero-chip { display: none; }
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-chip { animation: none; }
}

/* ---------------------------------------------------------------------- */
/* Process steps                                                           */
/* ---------------------------------------------------------------------- */

.process-card {
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-raised);
}

.process-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.process-num {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--border-strong);
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------- */
/* Contact panel                                                           */
/* ---------------------------------------------------------------------- */

.contact-card {
  overflow: hidden;
  padding: 0;
}

.contact-card .split {
  gap: 0;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
}

.contact-info {
  background: linear-gradient(155deg, var(--accent), var(--accent-hover));
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
}

.contact-badge {
  align-self: flex-start;
  background: color-mix(in srgb, var(--accent-ink) 18%, transparent);
  color: var(--accent-ink);
  border: none;
  margin-bottom: 16px;
}

.contact-form-pane {
  padding: 40px 36px;
}

@media (max-width: 900px) {
  .contact-card .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-info,
  .contact-form-pane {
    padding: 28px 22px;
  }
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-ink);
  text-decoration: none;
  font-size: var(--t-sm);
}

.contact-line .icon {
  opacity: 0.85;
  flex-shrink: 0;
}

a.contact-line:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                   */
/* ---------------------------------------------------------------------- */

.landing-footer {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
}

.landing-footer > * + * {
  margin-top: 20px;
}

.footer-top {
  display: flex;
  flex-direction: column;
}

.footer-top > * + * {
  margin-top: 8px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav a {
  font-size: var(--t-sm);
  color: var(--muted);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 8px;
}

.footer-bottom a {
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}
