/* Base */
/* San Francisco (Apple system font) with cross-platform fallbacks */
:root {
  --font-sans:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "SF Pro Display",
    "San Francisco",
    system-ui,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";

  --bg: #f5f5f7;
  --text: #0f172a;
  --muted: rgba(15, 23, 42, 0.72);
  --border: rgba(15, 23, 42, 0.10);
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.10);
  --shadow-hover: 0 18px 54px rgba(15, 23, 42, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: var(--font-sans);
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 25% -10%, rgba(59, 130, 246, 0.10), transparent 60%),
    radial-gradient(900px 420px at 85% 15%, rgba(16, 185, 129, 0.08), transparent 55%),
    var(--bg);
}
h2 {
    font-weight: 600;
    color: #1d1d1f;
}
/* Typography */
p {
  font-size: 16px;
  line-height: 1.6;
}

.text-link {
  color: rgba(15, 23, 42, 0.78);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: rgba(15, 23, 42, 0.92);
}

.text-link:focus-visible {
  outline: none;
  border-radius: 8px;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

/* Layout */
.content {
  padding: 22px 20px 64px;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.section {
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 30px;
}

.section__header {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.section__title {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.01em;
}

.section__subtitle {
  margin: 10px 0;
  font-size: 20px;
  line-height: 1.6;
  color: var(--muted);
}
.section__subtitle--highlight {
    color: #000000;
    font-weight: 600;
}
.muted {
  color: rgba(15, 23, 42, 0.62);
  font-size: 16px;
  line-height: 1.6;
}

/* Profile header */
.profile {
  padding: 48px 20px 24px;
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.profile__image {
  width: 230px;
  height: 230px;
  border-radius: 9999px;
  object-fit: cover;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.profile__name {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.profile__tagline {
  margin: 0;
  max-width: 72ch;
  font-size: 20px;
  line-height: 1.65;
  color: rgba(15, 23, 42, 0.72);
}

.profile__social {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.social-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(241, 245, 249, 0.65);
  color: rgba(15, 23, 42, 0.82);
  text-decoration: none;
  background: #ffffff;
}

.social-link:hover {
  background: rgba(226, 232, 240, 0.85);
}

.social-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.35);
}

.social-link__icon {
  width: 18px;
  height: 18px;
  display: block;
}

/* What I’m Building */
.section__meta {
  margin: 0;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.55);
}

.builds {
  display: grid;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (min-width: 760px) {
  .builds {
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
    padding: 0;
  }
}

.build-card {
  --build-accent: linear-gradient(135deg, #0071e3 0%, #34d399 100%);
  grid-column: 1 / -1;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: none;
  display: grid;
  grid-template-columns: 1fr;
}

.build-card--clickable {
  cursor: pointer;
}

.build-card:hover {
  border-color: rgba(15, 23, 42, 0.16);
  background: rgba(241, 245, 249, 0.95);
}

.build-card:focus-within {
  border-color: rgba(0, 102, 204, 0.35);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.14);
}

@media (min-width: 900px) {
  .build-card {
    grid-column: 1 / -1;
    grid-template-columns: 176px 1fr;
  }
  .build-card--feature {
    grid-column: 1 / -1;
  }
  .build-card--full {
    grid-column: 1 / -1;
  }
}

.build-card__main {
  padding: 14px 14px 12px;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.build-card__side {
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

@media (min-width: 900px) {
  .build-card__side {
    border-top: 0;
    border-right: 1px solid rgba(15, 23, 42, 0.08);
  }
}

.build-card__accent {
  display: none;
}

.build-card__meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.build-card__eyebrow {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.52);
}

.build-card__title {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.01em;
  font-weight: 650;
  color: rgba(15, 23, 42, 0.92);
  line-height: 1.25;
}

.build-card__status {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.78);
  flex: 0 0 auto;
  white-space: nowrap;
}

.build-card__status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
  margin-right: 8px;
  flex: 0 0 auto;
}

.build-card__status--building {
  border-color: rgba(0, 113, 227, 0.28);
  background: rgba(0, 113, 227, 0.12);
  color: rgb(0, 113, 227);
}

.build-card__status--testing {
  border-color: rgba(180, 83, 9, 0.28);
  background: rgba(180, 83, 9, 0.12);
  color: rgb(180, 83, 9);
}

.build-card__status--live {
  border-color: rgba(5, 150, 105, 0.28);
  background: rgba(5, 150, 105, 0.12);
  color: rgb(5, 150, 105);
}

.build-card__status--unknown {
  border-color: rgba(15, 23, 42, 0.16);
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.70);
}

.build-card__summary {
  margin: 0;
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.72);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.build-card.is-expanded .build-card__summary {
  display: block;
  overflow: visible;
  line-clamp: unset;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
}

.build-card__details {
  display: grid;
  gap: 6px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 220ms ease, opacity 160ms ease;
}

.build-card.is-expanded .build-card__details {
  max-height: 520px;
  opacity: 1;
}

.build-card__label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.52);
}

.build-card__detail {
  margin: 0;
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.76);
}

.build-card__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 2px;
}

.build-card__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 9999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.03);
  color: rgba(15, 23, 42, 0.82);
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}

.build-card__toggle:hover {
  background: rgba(15, 23, 42, 0.06);
}

.build-card__toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.18);
  border-color: rgba(0, 102, 204, 0.35);
}

.build-card__chevron {
  width: 16px;
  height: 16px;
  display: block;
  transition: transform 180ms ease;
}

.build-card.is-expanded .build-card__chevron {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .build-card__details,
  .build-card__chevron {
    transition: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  text-decoration: none;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.86);
  background: rgba(241, 245, 249, 0.65);
}

.btn:hover {
  background: rgba(226, 232, 240, 0.85);
}

.project--gradient .btn--action {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.96);
}

.project--gradient .btn--action:hover {
  background: rgba(255, 255, 255, 0.22);
}

.project--gradient .btn--action-primary {
  border-color: rgba(255, 255, 255, 0.26);
}

.btn--primary {
  border-color: rgba(15, 23, 42, 0.14);
  background: #0f172a;
  color: #ffffff;
}

.btn--primary:hover {
  background: rgba(15, 23, 42, 0.92);
}

.btn--action {
  height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(15, 23, 42, 0.03);
  color: rgba(15, 23, 42, 0.86);
}

.btn--action:hover {
  background: rgba(15, 23, 42, 0.06);
}

.btn--action-primary {
  height: 34px;
  padding: 0 12px;
  border-radius: 50px;
  border: 1px solid #0071e3;
  background: #0071e3;
  color: #ffffff;
  font-size: 16px;
}

.btn--action-primary:hover {
  background: #0068d1;
}

.btn__icon {
  width: 1em;
  height: 1em;
  display: block;
  flex: 0 0 auto;
}

.btn__icon--send {
  transform: rotate(-45deg);
  transform-origin: 50% 50%;
}

/* Full-bleed sections */
.section--fullbleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 44px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(1200px 420px at 20% 0%, rgba(59, 130, 246, 0.14), transparent 62%),
    radial-gradient(900px 360px at 80% 30%, rgba(16, 185, 129, 0.10), transparent 55%),
    linear-gradient(180deg, rgba(241, 245, 249, 0.85), rgba(241, 245, 249, 0.55));
}

.section__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.section__header--hero {
  margin-bottom: 18px;
}

.section__title--hero {
  font-size: clamp(28px, 2.8vw, 40px);
  letter-spacing: -0.02em;
}

@media (min-width: 760px) {
  .section--fullbleed {
    padding: 54px 0;
  }
}

/* Idea form */
.idea-form {
  padding: 0;
  background: transparent;
}

.idea-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 760px) {
  .idea-form__grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .idea-form__span-2 {
    grid-column: 1 / -1;
  }
}

.field {
  display: grid;
  gap: 6px;
}

.field--row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(241, 245, 249, 0.55);
}

.field__label {
  font-size: 13px;
  font-weight: 700;
  color: #000000;
}

.field__label--inline {
  margin: 1px 0 0;
}

.field__input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.9);
  padding: 14px 16px;
  font-size: 20px; /* match .section__subtitle */
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.92);
  outline: none;
}

.field__textarea {
  resize: vertical;
  min-height: 96px;
}

.field__input:focus {
  border-color: #06c;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.18);
}

.field__checkbox {
  margin-top: 2px;
}

.field--hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.idea-form__actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

@media (min-width: 760px) {
  .idea-form__actions {
    grid-template-columns: 1fr;
    align-items: center;
  }
}

.idea-form__actions .btn--primary {
  width: 100%;
  background: #0071e3;
  border-color: #0071e3;
  font-size: 20px;
  height: auto;
  padding: 14px 16px;
}

.idea-form__actions .btn--primary:hover {
  background: #0068d1;
}

.idea-form__status {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.80);
}

.idea-form__result {
  --idea-result-c1: #6366f1;
  --idea-result-c2: #14b8a6;
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, var(--idea-result-c1), var(--idea-result-c2));
  padding: 12px;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
}

.idea-form__preview {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 10px 12px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 18px 0 28px;
  background: rgba(241, 245, 249, 0.45);
}

.site-footer__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.site-footer__note {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(15, 23, 42, 0.92);
}

.site-footer__heart {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
}

.site-footer__links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.site-footer__links button.text-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
}

.site-footer .text-link,
.site-footer .text-link:hover,
.site-footer .text-link:visited {
  text-decoration: none;
}

.site-footer__links .text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.site-footer__imprint .text-link,
.site-footer__imprint .text-link:hover,
.site-footer__imprint .text-link:visited {
  text-decoration: underline;
}

.site-footer__imprint,
.site-footer__policy {
  max-width: 980px;
  margin: 14px auto 0;
  padding: 14px 20px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
}

.imprint__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.92);
}

.imprint__block {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.86);
}

.site-footer__policy .text-link,
.site-footer__policy .text-link:hover,
.site-footer__policy .text-link:visited {
  text-decoration: underline;
}

.policy__title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.92);
}

.policy__section-title {
  margin: 14px 0 6px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(15, 23, 42, 0.92);
}

.policy__block {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.86);
}

.policy__list {
  margin: 0 0 12px;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.86);
}
