:root {
  --text: #1a1d21;
  --body: #3a3f45;
  --link: #1a1d21;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #fff;
  overflow-x: hidden;
}

body {
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  width: min(38rem, 100%);
  max-width: 38rem;
  margin: 0 auto;
  padding: 64px clamp(24px, 6vw, 40px) clamp(64px, 12vh, 120px);
}

.profile {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 0 28px;
  border-radius: 12px;
  object-fit: cover;
}

h1 {
  margin: 0 0 14px;
  color: #000;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 450;
  letter-spacing: 0;
  line-height: 1.2;
  -webkit-text-stroke: 0.2px currentColor;
}

.intro {
  margin: 0;
  max-width: 36.5rem;
  color: var(--body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}

.intro a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.intro a:hover {
  text-decoration-thickness: 2px;
}

.newsletter-copy {
  margin: 0 0 0.85rem;
  color: var(--body);
  font-size: 1rem;
  line-height: 1.6;
}

.subscribe {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.subscribe input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 2.25rem;
  padding: 0 0.75rem;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
}

.subscribe input[type="email"]::placeholder {
  color: #9a9a9a;
}

.subscribe input[type="email"]:focus {
  outline: none;
  border-color: #c8c8c8;
}

.subscribe button {
  flex: none;
  height: 2.25rem;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.subscribe button:hover {
  background: #2a2a2a;
}

.subscribe-status {
  margin: 0.45rem 0 0;
  color: #9a9a9a;
  font-size: 0.85rem;
}

.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin-top: 1.75rem;
}

.jump:first-child {
  margin-top: 0;
}

.jump + h1,
.jump + .page-title,
.back + .page-title {
  margin-top: 2.5rem;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin-top: 1.75rem;
  margin-left: -0.5rem;
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.back svg {
  display: block;
  width: 0.95em;
  height: 0.95em;
}

.back:hover,
.back:active {
  background: #ececec;
}

.page-title {
  margin: 0 0 14px;
  color: #000;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 450;
  letter-spacing: 0;
  line-height: 1.2;
  -webkit-text-stroke: 0.2px currentColor;
}

.jump a {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.jump a:first-child {
  margin-left: -0.5rem;
}

.jump a:hover,
.jump a:active {
  background: #ececec;
}

.built,
footer {
  margin-top: 2.75rem;
  padding-top: 2.75rem;
  border-top: 1px solid #e6e6e6;
}

.blog-index {
  margin-top: 2.5rem;
}

.show-all {
  display: inline-flex;
  align-items: center;
  margin-top: 1.5rem;
  margin-left: -0.5rem;
  padding: 0.28rem 0.5rem;
  border-radius: 6px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.show-all:hover,
.show-all:active {
  background: #ececec;
}

.built h2,
.newsletter h2,
.blog-index h2 {
  margin: 0 0 1.25rem;
  color: #9a9a9a;
  font-size: 1rem;
  font-weight: 400;
}

.tools {
  display: flex;
  flex-direction: column;
  gap: 2.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.tool-icon-wrap {
  display: block;
  flex: none;
  width: calc(1.3em + 0.12rem + 1.5em);
  height: calc(1.3em + 0.12rem + 1.5em);
  overflow: hidden;
  border-radius: 22%;
}

.tool-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tool-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.12rem;
}

.tool-name {
  color: inherit;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-decoration: none;
}

.tool-desc {
  color: var(--body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.tool-press {
  margin-top: 0.15rem;
  color: #e67a2e;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}

.tool-press .arrow {
  display: inline-block;
  margin-left: 0.2em;
  font-size: 0.9em;
}

a.tool:hover .tool-name,
.tool-name:hover,
.tool-press:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.wallpaper-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.wallpaper {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  line-height: 0;
}

.wallpaper img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.wallpaper:hover img {
  opacity: 0.92;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1.25rem;
  color: #9a9a9a;
  font-size: 0.8rem;
  font-weight: 400;
  text-align: left;
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

@media (max-width: 520px) {
  .profile {
    width: 76px;
    height: 76px;
    margin-bottom: 22px;
  }

  h1 {
    margin-bottom: 14px;
  }

  .intro {
    line-height: 1.65;
  }
}

.name-link {
  color: inherit;
  text-decoration: none;
}

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

.posts {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.post-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.post-thumb {
  flex: none;
  width: calc(0.875em * 1.3 + 0.15rem + 1.35em + 0.2rem + 1.5em);
  height: calc(0.875em * 1.3 + 0.15rem + 1.35em + 0.2rem + 1.5em);
  overflow: hidden;
  border-radius: 8px;
}

.post-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.post-copy {
  flex: 1;
  min-width: 0;
}

.post-date {
  display: block;
  margin-bottom: 0.15rem;
  color: #9a9a9a;
  font-size: 0.875rem;
  line-height: 1.3;
}

.post-title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.post-dek {
  display: block;
  margin-top: 0.2rem;
  color: #9a9a9a;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

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

.article-date {
  margin: -0.35rem 0 1.5rem;
  color: #9a9a9a;
  font-size: 0.875rem;
}

.article {
  color: var(--body);
  font-size: 1rem;
  line-height: 1.7;
}

.article p {
  margin: 0 0 1.1rem;
}

.article p:last-child {
  margin-bottom: 0;
}

.article-figure {
  margin: 1.25rem 0 0;
  max-width: 100%;
  overflow: hidden;
}

.article-hero {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.article ul {
  margin: 0 0 1.1rem;
  padding-left: 1.15rem;
}

.article li {
  margin: 0 0 0.35rem;
}

.article li:last-child {
  margin-bottom: 0;
}

.article a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article a:hover {
  text-decoration-thickness: 2px;
}

.built .article h2 {
  margin: 1.75rem 0 0.7rem;
  color: #000;
  font-size: 1.15rem;
  font-weight: 600;
}

.article figure {
  margin: 1.1rem 0 1.35rem;
  max-width: 100%;
}

.article figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.article figcaption {
  margin-top: 0.45rem;
  color: #9a9a9a;
  font-size: 0.875rem;
}
