/* FoodMapz — base theme.
   Built for someone with poor attention and poor motor control: big targets,
   big type, one obvious action per screen. Placeholder palette until branding. */

:root {
  --ink:        #16211c;
  --ink-soft:   #4a5a52;
  --paper:      #f7f6f1;
  --card:       #ffffff;
  --line:       #dfe3dc;
  --brand:      #1f6b4a;
  --brand-deep: #14503a;
  --brand-dark: #0e3628;
  --accent:     #d4761f;   /* ACTIVE state only — never decoration */
  --danger:     #a3301d;

  --tap: 60px;             /* minimum interactive height, everywhere */
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; width: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

/* Full-width and fluid — no fixed max-width anywhere. */
.wrap {
  width: 100%;
  padding: clamp(18px, 4vw, 52px);
  text-align: left;
}

/* ------------------------------------------------------------------ header */
.site-head {
  background: var(--brand-deep);
  color: #fff;
  width: 100%;
}

.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: clamp(14px, 2vw, 22px);
  padding-bottom: clamp(14px, 2vw, 22px);
}

.brand {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 0;
  color: #fff;
  text-decoration: none;
}

.brand span { color: var(--accent); }

.head-links { display: flex; align-items: center; gap: 10px; }

/* ------------------------------------------------------------------- hero */
.hero {
  background: var(--brand-deep);
  color: #fff;
  width: 100%;
  padding-bottom: clamp(28px, 6vw, 72px);
}

.hero h1 {
  font-size: clamp(34px, 7vw, 78px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin: 0 0 clamp(18px, 3vw, 34px);
  color: #fff;
}

.hero .sub {
  font-size: clamp(17px, 2vw, 22px);
  color: #cfe0d7;
  margin: 0 0 clamp(20px, 3vw, 30px);
  max-width: 60ch;
}

/* --------------------------------------------------------------- searchbar */
.searchbar {
  display: flex;
  gap: 12px;
  width: 100%;
  flex-wrap: wrap;
}

.searchbar input[type="text"] {
  flex: 1 1 320px;
  min-height: var(--tap);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 600;
  padding: 12px 20px;
  border: 3px solid transparent;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.searchbar input[type="text"]::placeholder { color: #8b998f; font-weight: 500; }

.searchbar input[type="text"]:focus {
  outline: none;
  border-color: var(--accent);   /* active */
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  padding: 14px 30px;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  background: var(--brand);
  color: #fff;
  transition: background .12s ease;
}

.btn:hover  { background: var(--brand-dark); }
.btn:active { background: var(--accent); }   /* active */
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.btn-go     { flex: 0 0 auto; background: var(--accent); }
.btn-go:hover  { background: #b8631a; }
.btn-go:active { background: #96500f; }

.btn-on-dark { background: rgba(255,255,255,.14); color: #fff; }
.btn-on-dark:hover { background: rgba(255,255,255,.24); }

.btn-block { width: 100%; }

/* ----------------------------------------------------------------- layout */
h2 { font-size: clamp(22px, 3vw, 34px); line-height: 1.15; margin: 0 0 14px; }
h3 { font-size: clamp(18px, 2.2vw, 23px); margin: 0 0 10px; }
p  { margin: 0 0 14px; max-width: 68ch; color: var(--ink-soft); }

a { color: var(--brand); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(20px, 3vw, 36px);
  width: 100%;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  width: 100%;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: 10px;
  padding: 18px 20px;
}

.steps .n {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 6px;
}

.steps strong { display: block; font-size: 19px; margin-bottom: 4px; }
.steps span   { color: var(--ink-soft); font-size: 15px; }

/* ------------------------------------------------------------------ forms */
.form-row { margin: 0 0 20px; width: 100%; }

label.field {
  display: block;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"] {
  width: 100%;
  min-height: var(--tap);
  font-size: 19px;
  padding: 12px 16px;
  border: 2px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.form-row input:focus {
  outline: none;
  border-color: var(--accent);   /* active */
}

.hint { font-size: 15px; color: var(--ink-soft); margin: 8px 0 0; }

/* big radio cards — one obvious tap each */
.choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }

.choice label {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--tap);
  padding: 16px 20px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}

.choice input { width: 24px; height: 24px; accent-color: var(--accent); }
.choice label:has(input:checked) { border-color: var(--accent); }  /* active */

.notice {
  border-left: 5px solid var(--danger);
  background: #fbeeea;
  color: #6b2417;
  padding: 16px 20px;
  border-radius: 10px;
  margin: 0 0 22px;
  font-weight: 600;
}

.notice-ok {
  border-left-color: var(--brand);
  background: #eaf3ee;
  color: #14503a;
}

/* ----------------------------------------------------------------- footer */
.site-foot {
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 15px;
}

.site-foot a { color: var(--ink-soft); }
