/* Fried Labs LLC — site styles */
:root {
  --gray: #dad9d9;
  --white: #ffffff;
  --orange: #ff5e1a;
  --ink: #000000;
  --display: "Ojuju", system-ui, sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--gray);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

h1, h2, .logo {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
h1 { font-size: clamp(40px, 5.5vw, 64px); line-height: 1.03; }

/* Skip link */
.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 10;
}
.skip:focus { left: 8px; }

/* Header */
.site-header { background: var(--gray); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px;
}
.logo { font-size: 22px; text-decoration: none; }
.nav a {
  text-decoration: none; padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
}

/* Hero */
.hero { background: var(--gray); padding: 24px 0 96px; }
.hero .wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.hero .lead { margin: 20px 0 48px; max-width: 30ch; }
.hero p { max-width: 36ch; margin: 0 0 16px; }
.hero-media {
  aspect-ratio: 4 / 5;
  background: #c9c7c5 center / cover no-repeat;
  background-image: url("images/hero.jpg");
}

/* Apps */
.apps { background: var(--white); padding: 96px 0; }
.apps h2.section-title { font-size: clamp(32px, 4vw, 44px); margin-bottom: 48px; }
.app-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.app-card { text-align: center; }
.app-card img {
  width: 100%; max-width: 240px; aspect-ratio: 1;
  border-radius: 50%; object-fit: cover; margin: 0 auto 28px;
  background: var(--gray);
}
.app-card h3 {
  font-family: var(--display); font-weight: 600; font-size: 22px;
  letter-spacing: -0.02em; margin: 0 0 10px;
}
.app-card .tagline { font-weight: 600; margin: 0 0 12px; }
.app-card p { font-size: 16px; line-height: 1.55; margin: 0 0 12px; }

.app-card .store-links { font-size: 16px; font-weight: 600; margin-top: 16px; }
.app-card .store-links a { color: var(--orange); text-decoration: none; border-bottom: 1px solid currentColor; }
.app-card .store-links span { margin: 0 8px; opacity: 0.5; }

/* Contact */
.contact { background: var(--orange); color: var(--white); padding: 96px 0; }
.contact .wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.contact p { max-width: 34ch; margin: 24px 0 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label, .legend { font-size: 14px; margin-bottom: 6px; }
.req { opacity: 0.75; font-size: 12px; margin-left: 4px; }
.legend { font-size: 18px; margin-bottom: 4px; }
input[type="text"], input[type="email"], textarea {
  font: inherit; font-size: 17px; color: var(--ink);
  background: transparent; border: 1px solid var(--ink);
  border-radius: 999px; padding: 12px 18px; width: 100%;
}
textarea { border-radius: 22px; min-height: 110px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--white); outline-offset: 2px; }
.check {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; text-transform: uppercase; margin: -6px 0 22px;
}
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.btn {
  font: inherit; font-size: 17px; text-transform: uppercase;
  background: var(--white); color: var(--orange);
  border: 0; border-radius: 999px; padding: 18px 40px; cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--white); }
.form-status { margin-top: 14px; font-size: 16px; min-height: 1.5em; }

/* Footer */
.site-footer { background: var(--gray); padding: 72px 0 64px; }
.site-footer .wrap {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap;
}
.site-footer .logo { font-size: clamp(32px, 4vw, 48px); display: block; margin-bottom: 14px; }
.copy { font-size: 17px; margin: 0; }
.footer-right { text-align: right; }
.footer-email {
  font-family: var(--display); font-size: clamp(22px, 2.6vw, 32px);
  color: var(--orange); display: inline-block; margin-bottom: 6px;
}
.footer-links { font-size: 17px; }
.footer-links a { text-decoration: none; border-bottom: 1px solid currentColor; }

/* Legal pages */
.legal { background: var(--gray); padding: 32px 0 96px; }
.legal .wrap { max-width: 860px; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { font-size: 15px; margin: 0 0 32px; opacity: 0.75; }
.legal h2 { font-size: 26px; margin: 40px 0 12px; }
.legal p, .legal li { font-size: 17px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.table-scroll { overflow-x: auto; margin: 8px 0 20px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 8px; }
.legal thead tr { border-bottom: 2px solid var(--ink); }
.legal tbody tr { border-bottom: 1px solid #b5b3b1; }
.legal address { font-style: normal; margin-bottom: 12px; }

/* Responsive */
@media (max-width: 860px) {
  .hero .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 4 / 3; }
  .app-grid { grid-template-columns: 1fr; gap: 56px; }
  .app-card { max-width: 480px; margin: 0 auto; }
  .app-card img { max-width: 200px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
  .footer-right { text-align: left; }
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
