/* Bake Brand Design System */
@import url('https://use.typekit.net/tgh1yov.css');

:root{
  /* Bake Brand Colors */
  --brand: #EC1164;           /* Primary brand pink */
  --brand-dark: #C20D54;      /* Darker pink for hover */
  --brand-accent: #FF82AF;    /* Accent pink */
  --brand-light: #FFE2F0;     /* Light pink for highlights */

  /* Surface colors */
  --bg: #FFF7FB;              /* Canvas - page background */
  --card: #FFFFFF;            /* Surface - card backgrounds */
  --bg-muted: #f9fafb;        /* Muted background for sections */

  /* Text colors */
  --text: #2B1A2A;            /* Ink - primary text */
  --muted: #6F5667;           /* Ink muted - secondary text */

  /* Semantic colors */
  --success: #0F9D58;
  --warning: #F59E0B;
  --danger: #DC2626;

  --border: rgba(43, 26, 42, .12);
  --radius: 16px;
  --shadow: 0 4px 16px rgba(236, 17, 100, .08);
  --maxw: 980px;
  --font: 'futura-pt', -apple-system, system-ui, sans-serif;
}

*{ box-sizing:border-box; }
html{
  min-height: 100%;
  background:
    radial-gradient(1100px 600px at 10% 0%, rgba(236, 17, 100, .06), transparent 60%),
    radial-gradient(900px 500px at 100% 30%, rgba(255, 130, 175, .05), transparent 55%),
    var(--bg);
}
body{
  margin:0;
  min-height: 100%;
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: var(--brand); text-decoration:none; }
a:hover{ color: var(--brand-dark); text-decoration:underline; }

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 18px 60px;
}

.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 18px;
}

.brand{
  flex:1;
  display:grid;
  grid-template-columns: auto 1fr;
  align-items:center;
  gap:20px;
}

.brand > div{
  text-align:center; /* centers h1 + p in the free space */
}

.brand img{
  width: auto;
  height: 60px;
  object-fit: contain;
}

.brand h1{
  font-size: 28px;
  margin:0;
  letter-spacing:.2px;
  font-weight: 800;
  color: var(--brand);
}
.brand p{
  margin:4px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero{
  padding: 18px 18px;
  margin-bottom: 14px;
}
.hero h2{
  margin:0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.hero .meta{
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.section{
  margin-top: 14px;
  padding: 16px 18px;
}
.section h3{
  margin:0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.section .hint{
  margin:0 0 12px;
  color: var(--muted);
  font-size: 15px;
}

.q{
  padding: 12px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin: 10px 0;
  background: var(--bg-muted);
}
.q .qtext{
  margin:0 0 10px;
  font-size: 16px;
  line-height: 1.35;
}
.scale{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap:10px;
}
.scale label{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 10px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor:pointer;
  user-select:none;
  background: var(--card);
  transition: transform .06s ease, border-color .12s ease, background .12s ease;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}
.scale label:hover{
  border-color: var(--brand-accent);
}
.scale input{ display:none; }
.scale input:checked + span{
  border-color: var(--brand);
  background: var(--brand-light);
  color: var(--brand-dark);
}
.scale span{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  border-radius: 12px;
  padding: 10px 0;
  border: 1px solid transparent;
}

.legend{
  display:flex;
  justify-content:space-between;
  gap:10px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}

textarea{
  width:100%;
  min-height: 90px;
  resize: vertical;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  outline:none;
  font-family: var(--font);
  font-size: 14px;
  transition: border-color .15s ease;
}
textarea:focus{
  border-color: var(--brand);
}

.actions{
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content:flex-end;
  padding: 16px 18px;
  margin-top: 14px;
}

button{
  cursor:pointer;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 600;
  font-family: var(--font);
  font-size: 14px;
  transition: all .15s ease;
}
button:hover{
  border-color: var(--muted);
  transform: translateY(-1px);
}
button.primary{
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
}
button.primary:hover{
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}
button:disabled{
  opacity:.55;
  cursor:not-allowed;
  transform: none;
}

.toast{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid;
  background: var(--card);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}
.small{
  color: var(--muted);
  font-size: 12px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .brand{
    gap: 14px;
  }

  .brand img{
    height: 48px;
  }

  .brand h1{
    font-size: 20px;
  }

  .brand p{
    font-size: 13px;
  }

  .header{
    flex-direction: column;
    align-items: flex-start;
  }
}
