:root {
  --bg: #f5f1e9;
  --paper: #fffdf8;
  --ink: #2f2924;
  --muted: #746b60;
  --line: #ded3c4;
  --shadow: 0 24px 80px rgba(47, 41, 36, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  background:
    radial-gradient(circle at 20% 20%, rgba(138, 98, 63, 0.08), transparent 32%),
    var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  margin: 0;
}

.simple-shell {
  align-items: center;
  display: grid;
  min-height: 100vh;
  padding: 24px;
}

.url-card {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 1024px;
  padding: clamp(28px, 5vw, 48px);
  width: 100%;
}

.brand-line {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  margin-bottom: 30px;
}

form {
  display: grid;
  gap: 20px;
}

label,
.result span {
  color: var(--muted);
  display: grid;
  font-size: 21px;
  font-weight: 700;
  gap: 18px;
}

input {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  font: inherit;
  font-size: clamp(22px, 3vw, 30px);
  min-height: 86px;
  outline: none;
  padding: 0 26px;
  width: 100%;
}

input:focus {
  border-color: #9d886e;
}

button,
a {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 16px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  text-decoration: none;
  white-space: nowrap;
}

.result {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 30px;
}

.result-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto auto;
  margin-top: 18px;
}

.result-row input {
  font-size: 16px;
  min-height: 56px;
}

p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin: 22px 0 0;
}

@media (max-width: 760px) {
  .result-row {
    grid-template-columns: 1fr;
  }
}
