/* Shared styles for the landing pages (tarina.html / story.html). */
:root {
      --surface-solid: #ffffff;
      --surface-2: #f4f4f6;
      --text: #141417;
      --text-2: #74747c;
      --line: rgba(20, 20, 23, 0.08);
      --ink: #141417;
      --on-ink: #ffffff;
      --green: #30c15b;
      --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 10px 32px rgba(0, 0, 0, 0.10);
    }
    @media (prefers-color-scheme: dark) {
      :root {
        --surface-solid: #17171a;
        --surface-2: #232327;
        --text: #f4f4f6;
        --text-2: #9a9aa2;
        --line: rgba(255, 255, 255, 0.10);
        --ink: #f4f4f6;
        --on-ink: #141417;
        --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 14px 40px rgba(0, 0, 0, 0.55);
      }
    }
    * { box-sizing: border-box; }
    body {
      margin: 0;
      background: var(--surface-solid);
      color: var(--text);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", sans-serif;
      -webkit-font-smoothing: antialiased;
      line-height: 1.65;
    }
    main { max-width: 640px; margin: 0 auto; padding: 0 24px 80px; }

    /* Hero */
    .hero { text-align: center; padding: 72px 0 56px; }
    .hero .pin {
      display: inline-flex; align-items: center; justify-content: center;
      width: 84px; height: 84px;
      border-radius: 50% 50% 50% 0;
      transform: rotate(-45deg);
      background: var(--green);
      box-shadow: var(--shadow);
      margin-bottom: 34px;
      animation: float 5s ease-in-out infinite;
    }
    .hero .pin svg { width: 44px; height: 44px; transform: rotate(45deg); color: #fff; }
    @keyframes float {
      0%, 100% { translate: 0 0; }
      50% { translate: 0 -8px; }
    }
    h1 {
      margin: 0 0 10px;
      font-size: clamp(34px, 7vw, 48px);
      font-weight: 800;
      letter-spacing: -0.03em;
      line-height: 1.1;
    }
    .tagline {
      margin: 0 auto 32px;
      max-width: 30ch;
      font-size: clamp(17px, 3.5vw, 20px);
      color: var(--text-2);
    }
    .cta {
      display: inline-block;
      padding: 15px 34px;
      border-radius: 14px;
      background: var(--ink);
      color: var(--on-ink);
      font-size: 16px;
      font-weight: 700;
      text-decoration: none;
      letter-spacing: -0.01em;
      transition: transform 0.1s ease;
    }
    .cta:active { transform: scale(0.97); }
    .cta-sub { margin-top: 12px; font-size: 13px; color: var(--text-2); }

    /* Sections */
    section { margin-top: 72px; }
    .kicker {
      font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
      text-transform: uppercase; color: var(--text-2); margin: 0 0 14px;
    }
    h2 {
      margin: 0 0 18px;
      font-size: clamp(24px, 5vw, 30px);
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.2;
    }
    p { margin: 0 0 18px; font-size: 17px; }
    .quote {
      margin: 28px 0;
      padding: 22px 26px;
      border-left: 3px solid var(--green);
      background: var(--surface-2);
      border-radius: 0 16px 16px 0;
      font-size: clamp(19px, 4vw, 23px);
      font-weight: 700;
      letter-spacing: -0.01em;
    }
    .quote small {
      display: block; margin-top: 6px;
      font-size: 13px; font-weight: 500; color: var(--text-2);
    }

    /* Feature grid */
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 14px;
      margin-top: 26px;
    }
    .card {
      padding: 20px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: var(--surface-2);
    }
    .card .emoji { font-size: 24px; }
    .card h3 { margin: 10px 0 6px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
    .card p { margin: 0; font-size: 14px; color: var(--text-2); }

    /* Coming soon */
    .soon {
      margin-top: 26px;
      padding: 26px;
      border: 1px solid var(--line);
      border-radius: 20px;
      text-align: center;
      background: var(--surface-2);
    }
    .soon strong { font-size: 17px; }
    .soon p { font-size: 14px; color: var(--text-2); margin: 8px 0 0; }

    footer {
      margin-top: 80px;
      padding-top: 24px;
      border-top: 1px solid var(--line);
      font-size: 13px;
      color: var(--text-2);
    }
    footer a { color: inherit; }
